commit rubygem-ffi for openSUSE:Factory

2020-06-25 Thread root
Hello community,

here is the log from the commit of package rubygem-ffi for openSUSE:Factory 
checked in at 2020-06-25 15:11:18

Comparing /work/SRC/openSUSE:Factory/rubygem-ffi (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-ffi.new.3060 (New)


Package is "rubygem-ffi"

Thu Jun 25 15:11:18 2020 rev:35 rq:817029 version:1.13.1

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-ffi/rubygem-ffi.changes  2020-03-07 
21:38:03.500264848 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-ffi.new.3060/rubygem-ffi.changes
2020-06-25 15:11:46.990185223 +0200
@@ -1,0 +2,45 @@
+Thu Jun 25 10:13:27 UTC 2020 - Manuel Schnitzer 
+
+- updated to version 1.13.1
+
+  1.13.1 / 2020-06-09
+  ---
+
+  Changed:
+  * Revert use of `ucrtbase.dll` as default C library on Windows-MINGW.
+`ucrtbase.dll` is still used on MSWIN target. #790
+  * Test for `ffi_prep_closure_loc()` to make sure we can use this function.
+This fixes incorrect use of system libffi on MacOS Mojave (10.14). #787
+  * Update types.conf on x86_64-dragonflybsd
+
+
+  1.13.0 / 2020-06-01
+  ---
+
+  Added:
+  * Add TruffleRuby support. Almost all specs are running on TruffleRuby and 
succeed. #768
+  * Add ruby source files to the java gem. This allows to ship the Ruby 
library code per platform java gem and add it as a default gem to JRuby. #763
+  * Add FFI::Platform::LONG_DOUBLE_SIZE
+  * Add bounds checks for writing to an inline char[] . #756
+  * Add long double as callback return value. #771
+  * Update type definitions and add types from stdint.h and stddef.h on 
i386-windows, x86_64-windows, x86_64-darwin, x86_64-linux, arm-linux, 
powerpc-linux. #749
+  * Add new type definitions for powerpc-openbsd and sparcv9-openbsd. #775, 
#778
+
+  Changed:
+  * Raise required ruby version to >= 2.3.
+  * Lots of cleanups and improvements in library, specs and benchmarks.
+  * Fix a lot of compiler warnings at the C-extension
+  * Fix several install issues on MacOS:
+* Look for libffi in SDK paths, since recent versions of macOS removed it 
from `/usr/include` . #757
+* Fix error `ld: library not found for -lgcc_s.10.4`
+* Don't built for i386 architecture as it is deprecated
+  * Several fixes for MSVC build on Windows. #779
+  * Use `ucrtbase.dll` as default C library on Windows instead of old 
`msvcrt.dll`. #779
+  * Update builtin libffi to fix a Powerpc issue with parameters of type long
+  * Allow unmodified sourcing of (the ruby code of) this gem in JRuby and 
TruffleRuby as a default gem. #747
+  * Improve check to detect if a module has a #find_type method suitable for 
FFI. This fixes compatibility with stdlib `mkmf` . #776
+
+  Removed:
+  * Reject callback with `:string` return type at definition, because it 
didn't work so far and is not save to use. #751, #782
+
+---

Old:

  ffi-1.12.2.gem

New:

  ffi-1.13.1.gem



Other differences:
--
++ rubygem-ffi.spec ++
--- /var/tmp/diff_new_pack.0ACV1B/_old  2020-06-25 15:11:47.678187381 +0200
+++ /var/tmp/diff_new_pack.0ACV1B/_new  2020-06-25 15:11:47.678187381 +0200
@@ -24,7 +24,7 @@
 #
 
 Name:   rubygem-ffi
-Version:1.12.2
+Version:1.13.1
 Release:0
 %define mod_name ffi
 %define mod_full_name %{mod_name}-%{version}
@@ -32,7 +32,7 @@
 BuildRequires:  libffi-devel
 # /MANUAL
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  %{rubydevel >= 2.0}
+BuildRequires:  %{rubydevel >= 2.3}
 BuildRequires:  %{rubygem gem2rpm}
 BuildRequires:  %{rubygem rdoc > 3.10}
 BuildRequires:  ruby-macros >= 5

++ ffi-1.12.2.gem -> ffi-1.13.1.gem ++
 5099 lines of diff (skipped)




commit rubygem-ffi for openSUSE:Factory

2020-03-07 Thread root
Hello community,

here is the log from the commit of package rubygem-ffi for openSUSE:Factory 
checked in at 2020-03-07 21:38:02

Comparing /work/SRC/openSUSE:Factory/rubygem-ffi (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-ffi.new.26092 (New)


Package is "rubygem-ffi"

Sat Mar  7 21:38:02 2020 rev:34 rq:773759 version:1.12.2

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-ffi/rubygem-ffi.changes  2020-02-11 
22:17:13.319298974 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-ffi.new.26092/rubygem-ffi.changes   
2020-03-07 21:38:03.500264848 +0100
@@ -1,0 +2,11 @@
+Mon Feb 10 14:34:08 UTC 2020 - Stephan Kulow 
+
+- updated to version 1.12.2
+ see installed CHANGELOG.md
+
+  1.12.2 / 2020-02-01
+  ---
+  
+  * Fix possible segfault at FFI::Struct#[] and []= after GC.compact . #742
+
+---

Old:

  ffi-1.12.1.gem

New:

  ffi-1.12.2.gem



Other differences:
--
++ rubygem-ffi.spec ++
--- /var/tmp/diff_new_pack.4CEJjO/_old  2020-03-07 21:38:05.212266004 +0100
+++ /var/tmp/diff_new_pack.4CEJjO/_new  2020-03-07 21:38:05.216266007 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-ffi
 #
-# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -24,7 +24,7 @@
 #
 
 Name:   rubygem-ffi
-Version:1.12.1
+Version:1.12.2
 Release:0
 %define mod_name ffi
 %define mod_full_name %{mod_name}-%{version}
@@ -32,11 +32,11 @@
 BuildRequires: libffi-devel
 # /MANUAL
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  ruby-macros >= 5
 BuildRequires:  %{rubydevel >= 2.0}
 BuildRequires:  %{rubygem gem2rpm}
 BuildRequires:  %{rubygem rdoc > 3.10}
-Url:https://github.com/ffi/ffi/wiki
+BuildRequires:  ruby-macros >= 5
+URL:https://github.com/ffi/ffi/wiki
 Source: https://rubygems.org/gems/%{mod_full_name}.gem
 Source1:rubygem-ffi-rpmlintrc
 Source2:gem2rpm.yml

++ ffi-1.12.1.gem -> ffi-1.12.2.gem ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md2020-01-14 22:28:04.0 +0100
+++ new/CHANGELOG.md2020-02-01 15:02:12.0 +0100
@@ -1,3 +1,9 @@
+1.12.2 / 2020-02-01
+---
+
+* Fix possible segfault at FFI::Struct#[] and []= after GC.compact . #742
+
+
 1.12.1 / 2020-01-14
 ---
 
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ext/ffi_c/Struct.c new/ext/ffi_c/Struct.c
--- old/ext/ffi_c/Struct.c  2020-01-14 22:28:04.0 +0100
+++ new/ext/ffi_c/Struct.c  2020-02-01 15:02:12.0 +0100
@@ -90,7 +90,7 @@
 {
 Struct* s;
 VALUE obj = Data_Make_Struct(klass, Struct, struct_mark, struct_free, s);
-
+
 s->rbPointer = Qnil;
 s->rbLayout = Qnil;
 
@@ -112,7 +112,7 @@
 int nargs;
 
 Data_Get_Struct(self, Struct, s);
-
+
 nargs = rb_scan_args(argc, argv, "01*", , );
 
 /* Call up into ruby code to adjust the layout */
@@ -127,7 +127,7 @@
 }
 
 Data_Get_Struct(s->rbLayout, StructLayout, s->layout);
-
+
 if (rbPointer != Qnil) {
 s->pointer = MEMORY(rbPointer);
 s->rbPointer = rbPointer;
@@ -148,16 +148,16 @@
 {
 Struct* src;
 Struct* dst;
-
+
 Data_Get_Struct(self, Struct, dst);
 Data_Get_Struct(other, Struct, src);
 if (dst == src) {
 return self;
 }
-
+
 dst->rbLayout = src->rbLayout;
 dst->layout = src->layout;
-
+
 /*
  * A new MemoryPointer instance is allocated here instead of just calling
  * #dup on rbPointer, since the Pointer may not know its length, or may
@@ -176,7 +176,7 @@
 dst->rbReferences = ALLOC_N(VALUE, dst->layout->referenceFieldCount);
 memcpy(dst->rbReferences, src->rbReferences, 
dst->layout->referenceFieldCount * sizeof(VALUE));
 }
-
+
 return self;
 }
 
@@ -279,24 +279,25 @@
 }
 
 
-static VALUE
+static StructField *
 struct_field(Struct* s, VALUE fieldName)
 {
 StructLayout* layout = s->layout;
-VALUE rbField;
+struct field_cache_entry *p_ce = 

commit rubygem-ffi for openSUSE:Factory

2020-02-11 Thread root
Hello community,

here is the log from the commit of package rubygem-ffi for openSUSE:Factory 
checked in at 2020-02-11 22:16:53

Comparing /work/SRC/openSUSE:Factory/rubygem-ffi (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-ffi.new.26092 (New)


Package is "rubygem-ffi"

Tue Feb 11 22:16:53 2020 rev:33 rq:767689 version:1.12.1

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-ffi/rubygem-ffi.changes  2019-11-28 
10:18:02.079639546 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-ffi.new.26092/rubygem-ffi.changes   
2020-02-11 22:17:13.319298974 +0100
@@ -1,0 +2,7 @@
+Mon Jan 27 12:31:26 UTC 2020 - Manuel Schnitzer 
+
+- updated to version 1.12.1
+
+  * Add binary gem support for ruby-2.7 on Windows
+
+---

Old:

  ffi-1.11.3.gem

New:

  ffi-1.12.1.gem



Other differences:
--
++ rubygem-ffi.spec ++
--- /var/tmp/diff_new_pack.vPa8Rb/_old  2020-02-11 22:17:13.819299245 +0100
+++ /var/tmp/diff_new_pack.vPa8Rb/_new  2020-02-11 22:17:13.823299247 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-ffi
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,7 +24,7 @@
 #
 
 Name:   rubygem-ffi
-Version:1.11.3
+Version:1.12.1
 Release:0
 %define mod_name ffi
 %define mod_full_name %{mod_name}-%{version}

++ ffi-1.11.3.gem -> ffi-1.12.1.gem ++
 38881 lines of diff (skipped)




commit rubygem-ffi for openSUSE:Factory

2019-11-28 Thread root
Hello community,

here is the log from the commit of package rubygem-ffi for openSUSE:Factory 
checked in at 2019-11-28 10:17:47

Comparing /work/SRC/openSUSE:Factory/rubygem-ffi (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-ffi.new.26869 (New)


Package is "rubygem-ffi"

Thu Nov 28 10:17:47 2019 rev:32 rq:751494 version:1.11.3

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-ffi/rubygem-ffi.changes  2019-11-13 
13:26:44.575598607 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-ffi.new.26869/rubygem-ffi.changes   
2019-11-28 10:18:02.079639546 +0100
@@ -1,0 +2,7 @@
+Thu Nov 28 07:21:16 UTC 2019 - Manuel Schnitzer 
+
+- updated to version 1.11.3
+
+  * Remove support for tainted objects which cause deprecation warnings in 
ruby-2.7. #730
+
+---

Old:

  ffi-1.11.2.gem

New:

  ffi-1.11.3.gem



Other differences:
--
++ rubygem-ffi.spec ++
--- /var/tmp/diff_new_pack.UGpHzC/_old  2019-11-28 10:18:02.783639554 +0100
+++ /var/tmp/diff_new_pack.UGpHzC/_new  2019-11-28 10:18:02.787639554 +0100
@@ -24,7 +24,7 @@
 #
 
 Name:   rubygem-ffi
-Version:1.11.2
+Version:1.11.3
 Release:0
 %define mod_name ffi
 %define mod_full_name %{mod_name}-%{version}

++ ffi-1.11.2.gem -> ffi-1.11.3.gem ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md2019-11-11 21:47:21.0 +0100
+++ new/CHANGELOG.md2019-11-25 15:16:43.0 +0100
@@ -1,3 +1,10 @@
+1.11.3 / 2019-11-25
+---
+
+Removed:
+* Remove support for tainted objects which cause deprecation warnings in 
ruby-2.7. #730
+
+
 1.11.2 / 2019-11-11
 ---
 
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ext/ffi_c/AbstractMemory.c 
new/ext/ffi_c/AbstractMemory.c
--- old/ext/ffi_c/AbstractMemory.c  2019-11-11 21:47:21.0 +0100
+++ new/ext/ffi_c/AbstractMemory.c  2019-11-25 15:16:43.0 +0100
@@ -417,7 +417,7 @@
 checkBounds(ptr, off, len);
 
 end = memchr(ptr->address + off, 0, len);
-return rb_tainted_str_new((char *) ptr->address + off,
+return rb_str_new((char *) ptr->address + off,
 (end != NULL ? end - ptr->address - off : len));
 }
 
@@ -453,7 +453,7 @@
 
 for (i = 0; i < count; ++i) {
 const char* strptr = *((const char**) (ptr->address + off) + i);
-rb_ary_push(retVal, (strptr == NULL ? Qnil : 
rb_tainted_str_new2(strptr)));
+rb_ary_push(retVal, (strptr == NULL ? Qnil : rb_str_new2(strptr)));
 }
 
 } else {
@@ -463,7 +463,7 @@
 if (strptr == NULL) {
 break;
 }
-rb_ary_push(retVal, rb_tainted_str_new2(strptr));
+rb_ary_push(retVal, rb_str_new2(strptr));
 }
 }
 
@@ -542,7 +542,7 @@
 checkRead(ptr);
 checkBounds(ptr, off, len);
 
-return rb_tainted_str_new((char *) ptr->address + off, len);
+return rb_str_new((char *) ptr->address + off, len);
 }
 
 /*
@@ -583,10 +583,6 @@
 checkWrite(ptr);
 checkBounds(ptr, off, len);
 
-if (rb_safe_level() >= 1 && OBJ_TAINTED(str)) {
-rb_raise(rb_eSecurityError, "Writing unsafe string to memory");
-return Qnil;
-}
 memcpy(ptr->address + off, RSTRING_PTR(str) + idx, len);
 
 return self;
@@ -718,7 +714,7 @@
 memcpy(, ptr->address + offset, sizeof(tmp));
 }
 
-return tmp != NULL ? rb_tainted_str_new2(tmp) : Qnil;
+return tmp != NULL ? rb_str_new2(tmp) : Qnil;
 }
 
 static void
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ext/ffi_c/Call.c new/ext/ffi_c/Call.c
--- old/ext/ffi_c/Call.c2019-11-11 21:47:21.0 +0100
+++ new/ext/ffi_c/Call.c2019-11-25 15:16:43.0 +0100
@@ -298,10 +298,6 @@
 param->ptr = NULL;
 
 } else {
-if (rb_safe_level() >= 1 && OBJ_TAINTED(argv[argidx])) {
-rb_raise(rb_eSecurityError, "Unsafe string parameter");
-}
-
 param->ptr = StringValueCStr(argv[argidx]);
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ext/ffi_c/DynamicLibrary.c 
new/ext/ffi_c/DynamicLibrary.c
--- old/ext/ffi_c/DynamicLibrary.c  2019-11-11 21:47:21.0 +0100
+++ new/ext/ffi_c/DynamicLibrary.c  2019-11-25 15:16:43.0 +0100
@@ -164,7 +164,7 @@
 {
 char errmsg[1024];
 dl_error(errmsg, 

commit rubygem-ffi for openSUSE:Factory

2019-11-13 Thread root
Hello community,

here is the log from the commit of package rubygem-ffi for openSUSE:Factory 
checked in at 2019-11-13 13:26:42

Comparing /work/SRC/openSUSE:Factory/rubygem-ffi (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-ffi.new.2990 (New)


Package is "rubygem-ffi"

Wed Nov 13 13:26:42 2019 rev:31 rq:747783 version:1.11.2

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-ffi/rubygem-ffi.changes  2019-07-08 
16:40:53.292948280 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-ffi.new.2990/rubygem-ffi.changes
2019-11-13 13:26:44.575598607 +0100
@@ -1,0 +2,16 @@
+Tue Nov 12 15:33:08 UTC 2019 - Manuel Schnitzer 
+
+- updated to version 1.11.2
+
+  Added:
+  * Add DragonFlyBSD as a platform. #724
+
+  Changed:
+  * Sort all types.conf files, so that files and changes are easier to compare.
+  * Regenerated type conf for freebsd12 and x86_64-linux targets. #722
+  * Remove MACOSX_DEPLOYMENT_TARGET that was targeting very old version 10.4. 
#647
+  * Fix library name mangling for non glibc Linux/UNIX. #727
+  * Fix compiler warnings raised by ruby-2.7
+  * Update libffi to latest master.
+
+---

Old:

  ffi-1.11.1.gem

New:

  ffi-1.11.2.gem



Other differences:
--
++ rubygem-ffi.spec ++
--- /var/tmp/diff_new_pack.IsfPqG/_old  2019-11-13 13:26:45.335599398 +0100
+++ /var/tmp/diff_new_pack.IsfPqG/_new  2019-11-13 13:26:45.339599401 +0100
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via https://bugs.opensuse.org/
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
 
@@ -24,7 +24,7 @@
 #
 
 Name:   rubygem-ffi
-Version:1.11.1
+Version:1.11.2
 Release:0
 %define mod_name ffi
 %define mod_full_name %{mod_name}-%{version}
@@ -32,11 +32,11 @@
 BuildRequires:  libffi-devel
 # /MANUAL
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  ruby-macros >= 5
 BuildRequires:  %{rubydevel >= 2.0}
 BuildRequires:  %{rubygem gem2rpm}
 BuildRequires:  %{rubygem rdoc > 3.10}
-BuildRequires:  ruby-macros >= 5
-Url:http://wiki.github.com/ffi/ffi
+Url:https://github.com/ffi/ffi/wiki
 Source: https://rubygems.org/gems/%{mod_full_name}.gem
 Source1:rubygem-ffi-rpmlintrc
 Source2:gem2rpm.yml

++ ffi-1.11.1.gem -> ffi-1.11.2.gem ++
 14859 lines of diff (skipped)




commit rubygem-ffi for openSUSE:Factory

2019-07-08 Thread root
Hello community,

here is the log from the commit of package rubygem-ffi for openSUSE:Factory 
checked in at 2019-07-08 15:12:47

Comparing /work/SRC/openSUSE:Factory/rubygem-ffi (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-ffi.new.4615 (New)


Package is "rubygem-ffi"

Mon Jul  8 15:12:47 2019 rev:30 rq:714010 version:1.11.1

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-ffi/rubygem-ffi.changes  2019-05-21 
10:40:10.839095039 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-ffi.new.4615/rubygem-ffi.changes
2019-07-08 16:40:53.292948280 +0200
@@ -1,0 +2,9 @@
+Mon Jul  8 08:33:44 UTC 2019 - Manuel Schnitzer 
+
+- updated to version 1.11.1
+
+  Changed:
+  * Raise required ruby version to >=2.0. #699, #700
+  * Fix a possible linker error on ruby < 2.3 on Linux.
+
+---

Old:

  ffi-1.11.0.gem

New:

  ffi-1.11.1.gem



Other differences:
--
++ rubygem-ffi.spec ++
--- /var/tmp/diff_new_pack.X69KdO/_old  2019-07-08 16:40:53.792948990 +0200
+++ /var/tmp/diff_new_pack.X69KdO/_new  2019-07-08 16:40:53.796948995 +0200
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -24,7 +24,7 @@
 #
 
 Name:   rubygem-ffi
-Version:1.11.0
+Version:1.11.1
 Release:0
 %define mod_name ffi
 %define mod_full_name %{mod_name}-%{version}
@@ -32,7 +32,7 @@
 BuildRequires:  libffi-devel
 # /MANUAL
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  %{rubydevel >= 1.9}
+BuildRequires:  %{rubydevel >= 2.0}
 BuildRequires:  %{rubygem gem2rpm}
 BuildRequires:  %{rubygem rdoc > 3.10}
 BuildRequires:  ruby-macros >= 5

++ ffi-1.11.0.gem -> ffi-1.11.1.gem ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md2019-05-17 22:45:46.0 +0200
+++ new/CHANGELOG.md2019-05-20 20:30:19.0 +0200
@@ -1,18 +1,30 @@
+1.11.1 / 2019-05-20
+---
+
+Changed:
+* Raise required ruby version to >=2.0. #699, #700
+* Fix a possible linker error on ruby < 2.3 on Linux.
+
+
 1.11.0 / 2019-05-17
 ---
 
 Added:
+* Add ability to disable or force use of system libffi. #669
+  Use like `gem inst ffi -- --enable-system-libffi` .
+* Add ability to call FFI callbacks from outside of FFI call frame. #584
 * Add proper documentation to FFI::Generator and ::Task
 * Add gemspec metadata. #696, #698
 
 Changed:
-* Add ability to disable or force system libffi. #669
-  Use like `gem inst ffi -- --enable-system-libffi` .
-* Move FFI::Platform::CPU from C to Ruby. #663
 * Fix stdcall on Win32. #649, #669
-* Move FFI::StructByReference to Ruby. #681
-* Fix FFI::Pointer#read_string(0) to return a binary String. #692
 * Fix load paths for FFI::Generator::Task
+* Fix FFI::Pointer#read_string(0) to return a binary String. #692
+* Fix benchmark suite so that it runs on ruby-2.x
+* Move FFI::Platform::CPU from C to Ruby. #663
+* Move FFI::StructByReference to Ruby. #681
+* Move FFI::DataConverter to Ruby (#661)
+* Various cleanups and improvements of specs and benchmarks
 
 Removed:
 * Remove ruby-1.8 and 1.9 compatibility code. #683
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ext/ffi_c/extconf.rb new/ext/ffi_c/extconf.rb
--- old/ext/ffi_c/extconf.rb2019-05-17 22:45:46.0 +0200
+++ new/ext/ffi_c/extconf.rb2019-05-20 20:30:19.0 +0200
@@ -39,8 +39,8 @@
   have_header('shlwapi.h')
   have_func('rb_thread_call_without_gvl') || abort("Ruby C-API function 
`rb_thread_call_without_gvl` is missing")
   have_func('ruby_native_thread_p')
-  if RbConfig::CONFIG['host_os'].downcase !~ /darwin/ || RUBY_VERSION >= 
"2.3.0"
-# On OSX ruby_thread_has_gvl_p is detected but fails at runtime for ruby < 
2.3.0
+  if RUBY_VERSION >= "2.3.0"
+# On OSX and Linux ruby_thread_has_gvl_p() is detected but fails at 
runtime for ruby < 2.3.0
 have_func('ruby_thread_has_gvl_p')
   end
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ffi.gemspec new/ffi.gemspec
--- old/ffi.gemspec 2019-05-17 22:45:46.0 +0200
+++ new/ffi.gemspec 2019-05-20 20:30:20.0 +0200
@@ -34,7 +34,7 @@
   s.rdoc_options = %w[--exclude=ext/ffi_c/.*\.o$ --exclude=ffi_c\.(bundle|so)$]
   s.license = 'BSD-3-Clause'
   s.require_paths << 'ext/ffi_c'
-  s.required_ruby_version = 

commit rubygem-ffi for openSUSE:Factory

2019-05-21 Thread root
Hello community,

here is the log from the commit of package rubygem-ffi for openSUSE:Factory 
checked in at 2019-05-21 10:39:29

Comparing /work/SRC/openSUSE:Factory/rubygem-ffi (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-ffi.new.5148 (New)


Package is "rubygem-ffi"

Tue May 21 10:39:29 2019 rev:29 rq:704234 version:1.11.0

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-ffi/rubygem-ffi.changes  2019-01-21 
10:53:31.839788290 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-ffi.new.5148/rubygem-ffi.changes
2019-05-21 10:40:10.839095039 +0200
@@ -1,0 +2,30 @@
+Mon May 20 12:26:14 UTC 2019 - Lukas Krause 
+
+- updated to version 1.11.0
+ see installed CHANGELOG.md
+
+  # Added
+  
+  * Add ability to disable or force use of system libffi. 
+#669 Use like gem inst ffi -- --enable-system-libffi
+  * Add ability to call FFI callbacks from outside of FFI call frame. #584
+  * Add proper documentation to FFI::Generator and ::Task
+  * Add gemspec metadata. #696, #698
+
+  # Changed
+
+  * Fix stdcall on Win32. #649, #669
+  * Fix load paths for FFI::Generator::Task
+  * Fix FFI::Pointer#read_string(0) to return a binary String. #692
+  * Fix benchmark suite so that it runs on ruby-2.x
+  * Move FFI::Platform::CPU from C to Ruby. #663
+  * Move FFI::StructByReference to Ruby. #681
+  * Move FFI::DataConverter to Ruby (#661)
+  * Various cleanups and improvements of specs and benchmarks
+
+  # Removed
+
+  * Remove ruby-1.8 and 1.9 compatibility code. #683
+  * Remove unused spec files. #684
+
+---

Old:

  ffi-1.10.0.gem

New:

  ffi-1.11.0.gem



Other differences:
--
++ rubygem-ffi.spec ++
--- /var/tmp/diff_new_pack.McMero/_old  2019-05-21 10:40:14.679092545 +0200
+++ /var/tmp/diff_new_pack.McMero/_new  2019-05-21 10:40:14.687092540 +0200
@@ -24,7 +24,7 @@
 #
 
 Name:   rubygem-ffi
-Version:1.10.0
+Version:1.11.0
 Release:0
 %define mod_name ffi
 %define mod_full_name %{mod_name}-%{version}

++ ffi-1.10.0.gem -> ffi-1.11.0.gem ++
 2962 lines of diff (skipped)




commit rubygem-ffi for openSUSE:Factory

2019-01-21 Thread root
Hello community,

here is the log from the commit of package rubygem-ffi for openSUSE:Factory 
checked in at 2019-01-21 10:53:15

Comparing /work/SRC/openSUSE:Factory/rubygem-ffi (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-ffi.new.28833 (New)


Package is "rubygem-ffi"

Mon Jan 21 10:53:15 2019 rev:28 rq:665961 version:1.10.0

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-ffi/rubygem-ffi.changes  2018-06-22 
13:29:30.703672426 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-ffi.new.28833/rubygem-ffi.changes   
2019-01-21 10:53:31.839788290 +0100
@@ -1,0 +2,21 @@
+Mon Jan 14 08:00:29 UTC 2019 - mschnit...@suse.com
+
+- updated to version 1.10.0
+
+  Added:
+  * Add /opt/local/lib/ to ffi's fallback library search path. #638
+  * Add binary gem support for ruby-2.6 on Windows
+  * Add FreeBSD on AArch64 and ARM support. #644
+  * Add FFI::LastError.winapi_error on Windows native or Cygwin. #633
+
+  Changed:
+  * Update to rake-compiler-dock-0.7.0
+  * Use 64-bit inodes on FreeBSD >= 12. #644
+  * Switch time_t and suseconds_t types to long on FreeBSD. #627
+  * Make register_t long_long on 64-bit FreeBSD. #644
+  * Fix Pointer#write_array_of_type #637
+
+  Removed:
+  * Drop binary gem support for ruby-2.0 and 2.1 on Windows
+
+---

Old:

  ffi-1.9.25.gem

New:

  ffi-1.10.0.gem



Other differences:
--
++ rubygem-ffi.spec ++
--- /var/tmp/diff_new_pack.d0nicL/_old  2019-01-21 10:53:32.363787657 +0100
+++ /var/tmp/diff_new_pack.d0nicL/_new  2019-01-21 10:53:32.371787647 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-ffi
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,7 +24,7 @@
 #
 
 Name:   rubygem-ffi
-Version:1.9.25
+Version:1.10.0
 Release:0
 %define mod_name ffi
 %define mod_full_name %{mod_name}-%{version}

++ ffi-1.9.25.gem -> ffi-1.10.0.gem ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/.travis.yml new/.travis.yml
--- old/.travis.yml 2018-06-03 21:51:02.0 +0200
+++ new/.travis.yml 2019-01-06 15:30:17.0 +0100
@@ -11,15 +11,11 @@
   - linux
   - osx
 rvm:
-  - 1.9.3
-  - 2.0.0
-  - 2.1
-  - 2.2.8
-  - 2.3.5
-  - 2.4.3
-  - 2.5.0
+  - 2.3.8
+  - 2.4.5
+  - 2.5.3
+  - 2.6.0
   - ruby-head
-  - rbx
   - system
 env:
   - CC=gcc
@@ -28,12 +24,7 @@
   allow_failures:
 - rvm: system
 - os: osx
-  rvm: 2.0.0
-- os: osx
   rvm: ruby-head
-- rvm: rbx
-- rvm: rbx-head
-- rvm: 1.9.3
   exclude: # ruby 2.4.2 needs build with xcode9 or later on osx
 - os: osx
   rvm: 2.4.2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md2018-06-03 21:51:02.0 +0200
+++ new/CHANGELOG.md2019-01-06 15:30:17.0 +0100
@@ -1,3 +1,23 @@
+1.10.0 / 2019-01-06
+---
+
+Added:
+* Add /opt/local/lib/ to ffi's fallback library search path. #638
+* Add binary gem support for ruby-2.6 on Windows
+* Add FreeBSD on AArch64 and ARM support. #644
+* Add FFI::LastError.winapi_error on Windows native or Cygwin. #633
+
+Changed:
+* Update to rake-compiler-dock-0.7.0
+* Use 64-bit inodes on FreeBSD >= 12. #644
+* Switch time_t and suseconds_t types to long on FreeBSD. #627
+* Make register_t long_long on 64-bit FreeBSD. #644
+* Fix Pointer#write_array_of_type #637
+
+Removed:
+* Drop binary gem support for ruby-2.0 and 2.1 on Windows
+
+
 1.9.25 / 2018-06-03
 ---
 
@@ -9,6 +29,10 @@
 1.9.24 / 2018-06-02
 ---
 
+Security Note:
+
+This update addresses vulnerability CVE-2018-1000201: DLL loading issue which 
can be hijacked on Windows OS, when a Symbol is used as DLL name instead of a 
String. Found by Matthew Bush.
+
 Added:
 * Added a CHANGELOG file
 * Add mips64(eb) support, and mips r6 support. (#601)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Gemfile new/Gemfile
--- old/Gemfile 2018-06-03 21:51:02.0 +0200
+++ new/Gemfile 2019-01-06 15:30:17.0 +0100
@@ -3,7 +3,7 @@
 group :development do
   gem 'rake', '~> 10.1'
   gem 'rake-compiler', '~> 1.0.3'
-  gem 'rake-compiler-dock', '~> 0.6.2'
+  gem 'rake-compiler-dock', '~> 0.7.0'
   gem 'rspec', '~> 3.0'
   gem 'rubygems-tasks', '~> 0.2.4', :require => 'rubygems/tasks'
   gem "rubysl", "~> 2.0", :platforms => 'rbx'
diff -urN '--exclude=CVS' 

commit rubygem-ffi for openSUSE:Factory

2018-06-22 Thread root
Hello community,

here is the log from the commit of package rubygem-ffi for openSUSE:Factory 
checked in at 2018-06-22 13:29:26

Comparing /work/SRC/openSUSE:Factory/rubygem-ffi (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-ffi.new (New)


Package is "rubygem-ffi"

Fri Jun 22 13:29:26 2018 rev:27 rq:614094 version:1.9.25

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-ffi/rubygem-ffi.changes  2018-03-01 
12:07:34.350607132 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-ffi.new/rubygem-ffi.changes 
2018-06-22 13:29:30.703672426 +0200
@@ -1,0 +2,19 @@
+Sun Jun  3 23:06:36 UTC 2018 - factory-a...@kulow.org
+
+- updated to version 1.9.25
+ see installed CHANGELOG.md
+
+  1.9.25 / 2018-06-03
+  ---
+  
+  Changed:
+  * Revert closures via libffi.
+This re-adds ClosurePool and fixes compat with SELinux enabled systems. 
#621
+
+---
+Sat Jun  2 15:04:54 UTC 2018 - factory-a...@kulow.org
+
+- updated to version 1.9.24
+ see installed ChangeLog.v1
+
+---

Old:

  ffi-1.9.23.gem

New:

  ffi-1.9.25.gem



Other differences:
--
++ rubygem-ffi.spec ++
--- /var/tmp/diff_new_pack.9Ypco7/_old  2018-06-22 13:29:33.011587125 +0200
+++ /var/tmp/diff_new_pack.9Ypco7/_new  2018-06-22 13:29:33.019586830 +0200
@@ -24,7 +24,7 @@
 #
 
 Name:   rubygem-ffi
-Version:1.9.23
+Version:1.9.25
 Release:0
 %define mod_name ffi
 %define mod_full_name %{mod_name}-%{version}
@@ -53,7 +53,7 @@
 
 %install
 %gem_install \
-  --doc-files="COPYING LICENSE README.md" \
+  --doc-files="CHANGELOG.md COPYING LICENSE README.md" \
   -f
 %gem_cleanup
 

++ ffi-1.9.23.gem -> ffi-1.9.25.gem ++
 13323 lines of diff (skipped)




commit rubygem-ffi for openSUSE:Factory

2018-03-01 Thread root


bin69dBFWQRYw.bin
Description: Binary data


commit rubygem-ffi for openSUSE:Factory

2018-02-27 Thread root
Hello community,

here is the log from the commit of package rubygem-ffi for openSUSE:Factory 
checked in at 2018-02-27 16:58:01

Comparing /work/SRC/openSUSE:Factory/rubygem-ffi (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-ffi.new (New)


Package is "rubygem-ffi"

Tue Feb 27 16:58:01 2018 rev:25 rq:579858 version:1.9.22

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-ffi/rubygem-ffi.changes  2018-02-06 
16:51:31.497408852 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-ffi.new/rubygem-ffi.changes 
2018-02-27 16:58:02.811849096 +0100
@@ -1,0 +2,6 @@
+Fri Feb 23 05:29:26 UTC 2018 - factory-a...@kulow.org
+
+- updated to version 1.9.22
+ see installed ChangeLog.libffi
+
+---

Old:

  ffi-1.9.21.gem

New:

  ffi-1.9.22.gem



Other differences:
--
++ rubygem-ffi.spec ++
--- /var/tmp/diff_new_pack.smWe4I/_old  2018-02-27 16:58:04.135801260 +0100
+++ /var/tmp/diff_new_pack.smWe4I/_new  2018-02-27 16:58:04.139801115 +0100
@@ -24,7 +24,7 @@
 #
 
 Name:   rubygem-ffi
-Version:1.9.21
+Version:1.9.22
 Release:0
 %define mod_name ffi
 %define mod_full_name %{mod_name}-%{version}

++ ffi-1.9.21.gem -> ffi-1.9.22.gem ++
 55748 lines of diff (skipped)




commit rubygem-ffi for openSUSE:Factory

2018-02-06 Thread root
Hello community,

here is the log from the commit of package rubygem-ffi for openSUSE:Factory 
checked in at 2018-02-06 16:51:23

Comparing /work/SRC/openSUSE:Factory/rubygem-ffi (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-ffi.new (New)


Package is "rubygem-ffi"

Tue Feb  6 16:51:23 2018 rev:24 rq:573318 version:1.9.21

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-ffi/rubygem-ffi.changes  2017-03-21 
22:49:03.678920370 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-ffi.new/rubygem-ffi.changes 
2018-02-06 16:51:31.497408852 +0100
@@ -1,0 +2,7 @@
+Tue Feb  6 12:48:02 UTC 2018 - bgeu...@suse.com
+
+- Updated to version 1.9.21
+
+  No changelog found
+
+---

Old:

  ffi-1.9.18.gem

New:

  ffi-1.9.21.gem



Other differences:
--
++ rubygem-ffi.spec ++
--- /var/tmp/diff_new_pack.80ePGV/_old  2018-02-06 16:51:32.421365584 +0100
+++ /var/tmp/diff_new_pack.80ePGV/_new  2018-02-06 16:51:32.425365397 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-ffi
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,7 +24,7 @@
 #
 
 Name:   rubygem-ffi
-Version:1.9.18
+Version:1.9.21
 Release:0
 %define mod_name ffi
 %define mod_full_name %{mod_name}-%{version}
@@ -32,12 +32,12 @@
 BuildRequires:  libffi-devel
 # /MANUAL
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  %{rubydevel >= 1.8.7}
+BuildRequires:  %{rubydevel >= 1.9}
 BuildRequires:  %{rubygem gem2rpm}
 BuildRequires:  %{rubygem rdoc > 3.10}
 BuildRequires:  ruby-macros >= 5
 Url:http://wiki.github.com/ffi/ffi
-Source: http://rubygems.org/gems/%{mod_full_name}.gem
+Source: https://rubygems.org/gems/%{mod_full_name}.gem
 Source1:rubygem-ffi-rpmlintrc
 Source2:gem2rpm.yml
 Summary:Ruby FFI

++ ffi-1.9.18.gem -> ffi-1.9.21.gem ++
 116692 lines of diff (skipped)




commit rubygem-ffi for openSUSE:Factory

2017-03-21 Thread root
Hello community,

here is the log from the commit of package rubygem-ffi for openSUSE:Factory 
checked in at 2017-03-21 22:49:02

Comparing /work/SRC/openSUSE:Factory/rubygem-ffi (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-ffi.new (New)


Package is "rubygem-ffi"

Tue Mar 21 22:49:02 2017 rev:23 rq:479642 version:1.9.18

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-ffi/rubygem-ffi.changes  2017-01-25 
23:28:24.376906847 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-ffi.new/rubygem-ffi.changes 
2017-03-21 22:49:03.678920370 +0100
@@ -1,0 +2,6 @@
+Sat Mar  4 05:42:10 UTC 2017 - co...@suse.com
+
+- updated to version 1.9.18
+ see installed ChangeLog
+
+---

Old:

  ffi-1.9.17.gem

New:

  ffi-1.9.18.gem



Other differences:
--
++ rubygem-ffi.spec ++
--- /var/tmp/diff_new_pack.4FFNB7/_old  2017-03-21 22:49:04.670780148 +0100
+++ /var/tmp/diff_new_pack.4FFNB7/_new  2017-03-21 22:49:04.670780148 +0100
@@ -24,7 +24,7 @@
 #
 
 Name:   rubygem-ffi
-Version:1.9.17
+Version:1.9.18
 Release:0
 %define mod_name ffi
 %define mod_full_name %{mod_name}-%{version}

++ ffi-1.9.17.gem -> ffi-1.9.18.gem ++
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ext/ffi_c/DynamicLibrary.c 
new/ext/ffi_c/DynamicLibrary.c
--- old/ext/ffi_c/DynamicLibrary.c  2017-01-13 20:44:08.0 +0100
+++ new/ext/ffi_c/DynamicLibrary.c  2017-03-03 16:16:47.0 +0100
@@ -36,6 +36,7 @@
 # include 
 # define _WINSOCKAPI_
 # include 
+# include 
 #else
 # include 
 #endif
@@ -185,7 +186,8 @@
 if (name == NULL) {
 return GetModuleHandle(NULL);
 } else {
-return LoadLibraryExA(name, NULL, LOAD_WITH_ALTERED_SEARCH_PATH);
+DWORD dwFlags = PathIsRelativeA(name) ? 0 : 
LOAD_WITH_ALTERED_SEARCH_PATH;
+return LoadLibraryExA(name, NULL, dwFlags);
 }
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ext/ffi_c/extconf.rb new/ext/ffi_c/extconf.rb
--- old/ext/ffi_c/extconf.rb2017-01-13 20:44:08.0 +0100
+++ new/ext/ffi_c/extconf.rb2017-03-03 16:16:47.0 +0100
@@ -24,7 +24,8 @@
 # Check if the raw api is available.
 $defs << "-DHAVE_RAW_API" if have_func("ffi_raw_call") && 
have_func("ffi_prep_raw_closure")
   end
-  
+
+  have_header('shlwapi.h')
   have_func('rb_thread_blocking_region')
   have_func('rb_thread_call_with_gvl')
   have_func('rb_thread_call_without_gvl')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ffi.gemspec new/ffi.gemspec
--- old/ffi.gemspec 2017-01-13 20:44:08.0 +0100
+++ new/ffi.gemspec 2017-03-03 16:16:47.0 +0100
@@ -16,8 +16,8 @@
   s.require_paths << 'ext/ffi_c'
   s.required_ruby_version = '>= 1.8.7'
   s.add_development_dependency 'rake', '~> 10.1'
-  s.add_development_dependency 'rake-compiler', '~> 0.9'
-  s.add_development_dependency 'rake-compiler-dock', '~> 0.5.2'
+  s.add_development_dependency 'rake-compiler', '~> 1.0'
+  s.add_development_dependency 'rake-compiler-dock', '~> 0.6.0'
   s.add_development_dependency 'rspec', '~> 2.14.1'
   s.add_development_dependency 'rubygems-tasks', "~> 0.2.4"
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/ffi/struct_layout_builder.rb 
new/lib/ffi/struct_layout_builder.rb
--- old/lib/ffi/struct_layout_builder.rb2017-01-13 20:44:08.0 
+0100
+++ new/lib/ffi/struct_layout_builder.rb2017-03-03 16:16:48.0 
+0100
@@ -87,7 +87,7 @@
 #   @return [0,1]
 #
 def packed=(packed)
-  if packed.is_a?(Fixnum)
+  if packed.is_a?(0.class)
 @alignment = packed
 @packed = packed
   else
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/ffi/version.rb new/lib/ffi/version.rb
--- old/lib/ffi/version.rb  2017-01-13 20:44:08.0 +0100
+++ new/lib/ffi/version.rb  2017-03-03 16:16:48.0 +0100
@@ -1,4 +1,4 @@
 module FFI
-  VERSION = '1.9.17'
+  VERSION = '1.9.18'
 end
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata2017-01-13 20:44:08.0 +0100
+++ new/metadata2017-03-03 16:16:47.0 +0100
@@ -1,14 +1,14 @@
 --- !ruby/object:Gem::Specification
 name: ffi
 version: !ruby/object:Gem::Version
-  version: 1.9.17
+  version: 1.9.18
 platform: ruby
 authors:
 - Wayne Meissner
 autorequire: 
 bindir: bin
 cert_chain: []
-date: 

commit rubygem-ffi for openSUSE:Factory

2017-01-25 Thread root
Hello community,

here is the log from the commit of package rubygem-ffi for openSUSE:Factory 
checked in at 2017-01-25 23:28:24

Comparing /work/SRC/openSUSE:Factory/rubygem-ffi (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-ffi.new (New)


Package is "rubygem-ffi"

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-ffi/rubygem-ffi.changes  2016-07-20 
09:26:05.0 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-ffi.new/rubygem-ffi.changes 
2017-01-25 23:28:24.376906847 +0100
@@ -1,0 +2,6 @@
+Sat Jan 14 05:31:31 UTC 2017 - co...@suse.com
+
+- updated to version 1.9.17
+ see installed ChangeLog
+
+---

Old:

  ffi-1.9.14.gem

New:

  ffi-1.9.17.gem



Other differences:
--
++ rubygem-ffi.spec ++
--- /var/tmp/diff_new_pack.OZfdLp/_old  2017-01-25 23:28:24.820839928 +0100
+++ /var/tmp/diff_new_pack.OZfdLp/_new  2017-01-25 23:28:24.824839326 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-ffi
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,7 +24,7 @@
 #
 
 Name:   rubygem-ffi
-Version:1.9.14
+Version:1.9.17
 Release:0
 %define mod_name ffi
 %define mod_full_name %{mod_name}-%{version}

++ ffi-1.9.14.gem -> ffi-1.9.17.gem ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/README.md new/README.md
--- old/README.md   2016-07-12 00:05:13.0 +0200
+++ new/README.md   2017-01-13 20:44:08.0 +0100
@@ -43,6 +43,8 @@
 * A C compiler (e.g. Xcode on OSX, gcc on everything else)
 * libffi development library - this is commonly in the libffi-dev or 
libffi-devel
 
+On Linux systems running with [PaX](https://en.wikipedia.org/wiki/PaX) 
(Gentoo, Alpine, etc.) FFI may trigger `mprotrect` errors. You may need to 
disable 
[mprotect](https://en.wikibooks.org/wiki/Grsecurity/Appendix/Grsecurity_and_PaX_Configuration_Options#Restrict_mprotect.28.29)
 for ruby (`paxctl -m [/path/to/ruby]`) for the time being until a solution is 
found.
+
 ## Installation
 
 From rubygems:
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ext/ffi_c/AbstractMemory.c 
new/ext/ffi_c/AbstractMemory.c
--- old/ext/ffi_c/AbstractMemory.c  2016-07-12 00:05:13.0 +0200
+++ new/ext/ffi_c/AbstractMemory.c  2017-01-13 20:44:08.0 +0100
@@ -49,6 +49,9 @@
 #include "Function.h"
 #include "LongDouble.h"
 
+#ifndef PRIsVALUE
+# define PRIsVALUE "s"
+#endif
 
 static inline char* memory_address(VALUE self);
 VALUE rbffi_AbstractMemoryClass = Qnil;
@@ -310,7 +313,7 @@
  * @return [Numeric]
  */
 static VALUE
-memory_size(VALUE self) 
+memory_size(VALUE self)
 {
 AbstractMemory* ptr;
 
@@ -320,6 +323,72 @@
 }
 
 /*
+ * call-seq: memory.get(type, offset)
+ * Return data of given type contained in memory.
+ * @param [Symbol, Type] type_name type of data to get
+ * @param [Numeric] offset point in buffer to start from
+ * @return [Object]
+ * @raise {ArgumentError} if type is not supported
+ */
+static VALUE
+memory_get(VALUE self, VALUE type_name, VALUE offset)
+{
+AbstractMemory* ptr;
+VALUE nType;
+Type *type;
+
+nType = rbffi_Type_Lookup(type_name);
+if(NIL_P(nType)) goto undefined_type;
+
+Data_Get_Struct(self, AbstractMemory, ptr);
+Data_Get_Struct(nType, Type, type);
+
+MemoryOp *op = get_memory_op(type);
+if(op == NULL) goto undefined_type;
+
+return op->get(ptr, NUM2LONG(offset));
+
+undefined_type: {
+VALUE msg = rb_sprintf("undefined type '%" PRIsVALUE "'", type_name);
+rb_exc_raise(rb_exc_new3(rb_eArgError, msg));
+return Qnil;
+  }
+}
+
+/*
+ * call-seq: memory.put(type, offset, value)
+ * @param [Symbol, Type] type_name type of data to put
+ * @param [Numeric] offset point in buffer to start from
+ * @return [nil]
+ * @raise {ArgumentError} if type is not supported
+ */
+static VALUE
+memory_put(VALUE self, VALUE type_name, VALUE offset, VALUE value)
+{
+AbstractMemory* ptr;
+VALUE nType;
+Type *type;
+
+nType = rbffi_Type_Lookup(type_name);
+if(NIL_P(nType)) goto undefined_type;
+
+Data_Get_Struct(self, AbstractMemory, ptr);
+Data_Get_Struct(nType, Type, type);
+
+MemoryOp *op = get_memory_op(type);
+if(op == NULL) goto undefined_type;
+
+op->put(ptr, NUM2LONG(offset), value);
+return Qnil;
+
+undefined_type: {
+VALUE msg = rb_sprintf("unsupported 

commit rubygem-ffi for openSUSE:Factory

2016-07-20 Thread h_root
Hello community,

here is the log from the commit of package rubygem-ffi for openSUSE:Factory 
checked in at 2016-07-20 09:26:02

Comparing /work/SRC/openSUSE:Factory/rubygem-ffi (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-ffi.new (New)


Package is "rubygem-ffi"

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-ffi/rubygem-ffi.changes  2016-07-15 
12:50:59.0 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-ffi.new/rubygem-ffi.changes 
2016-07-20 09:26:05.0 +0200
@@ -1,0 +2,6 @@
+Tue Jul 12 04:28:48 UTC 2016 - co...@suse.com
+
+- updated to version 1.9.14
+ see installed ChangeLog
+
+---

Old:

  ffi-1.9.13.gem

New:

  ffi-1.9.14.gem



Other differences:
--
++ rubygem-ffi.spec ++
--- /var/tmp/diff_new_pack.kDyCoo/_old  2016-07-20 09:26:06.0 +0200
+++ /var/tmp/diff_new_pack.kDyCoo/_new  2016-07-20 09:26:06.0 +0200
@@ -24,7 +24,7 @@
 #
 
 Name:   rubygem-ffi
-Version:1.9.13
+Version:1.9.14
 Release:0
 %define mod_name ffi
 %define mod_full_name %{mod_name}-%{version}

++ ffi-1.9.13.gem -> ffi-1.9.14.gem ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/LICENSE new/LICENSE
--- old/LICENSE 2016-07-07 00:26:27.0 +0200
+++ new/LICENSE 2016-07-12 00:05:13.0 +0200
@@ -1,4 +1,4 @@
-Copyright (c) 2008-2013, Ruby FFI project contributors
+Copyright (c) 2008-2016, Ruby FFI project contributors
 All rights reserved.
 
 Redistribution and use in source and binary forms, with or without
Files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ffi.gemspec new/ffi.gemspec
--- old/ffi.gemspec 2016-07-07 00:26:27.0 +0200
+++ new/ffi.gemspec 2016-07-12 00:05:14.0 +0200
@@ -12,7 +12,7 @@
   s.extensions << 'ext/ffi_c/extconf.rb'
   s.has_rdoc = false
   s.rdoc_options = %w[--exclude=ext/ffi_c/.*\.o$ --exclude=ffi_c\.(bundle|so)$]
-  s.license = 'BSD'
+  s.license = 'BSD-3-Clause'
   s.require_paths << 'ext/ffi_c'
   s.required_ruby_version = '>= 1.8.7'
   s.add_development_dependency 'rake', '~> 10.1'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/ffi/version.rb new/lib/ffi/version.rb
--- old/lib/ffi/version.rb  2016-07-07 00:26:27.0 +0200
+++ new/lib/ffi/version.rb  2016-07-12 00:05:14.0 +0200
@@ -1,4 +1,4 @@
 module FFI
-  VERSION = '1.9.13'
+  VERSION = '1.9.14'
 end
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata2016-07-07 00:26:27.0 +0200
+++ new/metadata2016-07-12 00:05:13.0 +0200
@@ -1,14 +1,14 @@
 --- !ruby/object:Gem::Specification
 name: ffi
 version: !ruby/object:Gem::Version
-  version: 1.9.13
+  version: 1.9.14
 platform: ruby
 authors:
 - Wayne Meissner
 autorequire: 
 bindir: bin
 cert_chain: []
-date: 2016-07-06 00:00:00.0 Z
+date: 2016-07-11 00:00:00.0 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: rake
@@ -550,7 +550,7 @@
 - spec/spec.opts
 homepage: http://wiki.github.com/ffi/ffi
 licenses:
-- BSD
+- BSD-3-Clause
 metadata: {}
 post_install_message: 
 rdoc_options:




commit rubygem-ffi for openSUSE:Factory

2016-07-15 Thread h_root
Hello community,

here is the log from the commit of package rubygem-ffi for openSUSE:Factory 
checked in at 2016-07-15 12:50:49

Comparing /work/SRC/openSUSE:Factory/rubygem-ffi (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-ffi.new (New)


Package is "rubygem-ffi"

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-ffi/rubygem-ffi.changes  2015-07-03 
00:19:57.0 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-ffi.new/rubygem-ffi.changes 
2016-07-15 12:50:59.0 +0200
@@ -1,0 +2,12 @@
+Thu Jul  7 04:29:55 UTC 2016 - co...@suse.com
+
+- updated to version 1.9.13
+ see installed ChangeLog
+
+---
+Wed Jul  6 04:30:36 UTC 2016 - co...@suse.com
+
+- updated to version 1.9.12
+ see installed ChangeLog
+
+---

Old:

  ffi-1.9.10.gem

New:

  ffi-1.9.13.gem



Other differences:
--
++ rubygem-ffi.spec ++
--- /var/tmp/diff_new_pack.uTG4he/_old  2016-07-15 12:51:01.0 +0200
+++ /var/tmp/diff_new_pack.uTG4he/_new  2016-07-15 12:51:01.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-ffi
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,7 +24,7 @@
 #
 
 Name:   rubygem-ffi
-Version:1.9.10
+Version:1.9.13
 Release:0
 %define mod_name ffi
 %define mod_full_name %{mod_name}-%{version}

++ ffi-1.9.10.gem -> ffi-1.9.13.gem ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Rakefile new/Rakefile
--- old/Rakefile2015-07-01 04:49:44.0 +0200
+++ new/Rakefile2016-07-07 00:26:27.0 +0200
@@ -93,13 +93,13 @@
 
 CLOBBER.include 'lib/ffi/types.conf'
 CLOBBER.include 'pkg'
+CLOBBER.include 'log'
 
 CLEAN.include 'build'
 CLEAN.include 'conftest.dSYM'
 CLEAN.include 'spec/ffi/fixtures/libtest.{dylib,so,dll}'
 CLEAN.include 'spec/ffi/fixtures/*.o'
-CLEAN.include "pkg/ffi-#{FFI::VERSION}-*-mingw32"
-CLEAN.include "pkg/ffi-#{FFI::VERSION}-java"
+CLEAN.include "pkg/ffi-*-{mingw32,java}"
 CLEAN.include 'lib/1.*'
 CLEAN.include 'lib/2.*'
 CLEAN.include 'bin'
@@ -138,7 +138,7 @@
 task 'spec:run' => TEST_DEPS
 task 'spec:specdoc' => TEST_DEPS
 
-task :default => :specs
+task :default => :spec
 
 namespace 'java' do
 
@@ -175,15 +175,16 @@
 ext.cross_platform = %w[i386-mingw32 x64-mingw32] # 
forces the Windows platform instead of the default one
   end
 
-  ENV['RUBY_CC_VERSION'] ||= '1.8.7:1.9.3:2.0.0:2.1.5:2.2.1'
+  ENV['RUBY_CC_VERSION'] ||= '1.8.7:1.9.3:2.0.0:2.1.6:2.2.2:2.3.0'
 
+  # To reduce the gem file size strip mingw32 dlls before packaging
   ENV['RUBY_CC_VERSION'].to_s.split(':').each do |ruby_version|
-task "copy:ffi_c:i386-mingw32:#{ruby_version}" do |t|
-  sh "i686-w64-mingw32-strip -S 
#{BUILD_DIR}/i386-mingw32/stage/lib/#{ruby_version[/^\d+\.\d+/]}/ffi_c.so"
+task "build/i386-mingw32/stage/lib/#{ruby_version[/^\d+\.\d+/]}/ffi_c.so" 
do |t|
+  sh "i686-w64-mingw32-strip -S 
build/i386-mingw32/stage/lib/#{ruby_version[/^\d+\.\d+/]}/ffi_c.so"
 end
 
-task "copy:ffi_c:x64-mingw32:#{ruby_version}" do |t|
-  sh "x86_64-w64-mingw32-strip -S 
#{BUILD_DIR}/x64-mingw32/stage/lib/#{ruby_version[/^\d+\.\d+/]}/ffi_c.so"
+task "build/x64-mingw32/stage/lib/#{ruby_version[/^\d+\.\d+/]}/ffi_c.so" 
do |t|
+  sh "x86_64-w64-mingw32-strip -S 
build/x64-mingw32/stage/lib/#{ruby_version[/^\d+\.\d+/]}/ffi_c.so"
 end
   end
 
@@ -194,6 +195,27 @@
   end
 end
 
+$LOAD_PATH.unshift File.join(File.dirname(__FILE__), 'lib')
+require 'ffi/platform'
+types_conf = File.expand_path(File.join(FFI::Platform::CONF_DIR, 'types.conf'))
+logfile = File.join(File.dirname(__FILE__), 'types_log')
+
+file types_conf => File.join("lib", "ffi", "version.rb") do |task|
+  require 'fileutils'
+  require 'ffi/tools/types_generator'
+  options = {}
+  FileUtils.mkdir_p(File.dirname(task.name), { :mode => 0755 })
+  File.open(task.name, File::CREAT|File::TRUNC|File::RDWR, 0644) do |f|
+f.puts FFI::TypesGenerator.generate(options)
+  end
+  File.open(logfile, 'w') do |log|
+log.puts(types_conf)
+  end
+end
+
+task :types_conf => types_conf do
+end
+
 Gem::Tasks.new do |t|
   t.scm.tag.format = '%s'
 end
Files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ext/ffi_c/AbstractMemory.c 
new/ext/ffi_c/AbstractMemory.c
--- 

commit rubygem-ffi for openSUSE:Factory

2015-07-02 Thread h_root
Hello community,

here is the log from the commit of package rubygem-ffi for openSUSE:Factory 
checked in at 2015-07-02 22:50:29

Comparing /work/SRC/openSUSE:Factory/rubygem-ffi (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-ffi.new (New)


Package is rubygem-ffi

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-ffi/rubygem-ffi.changes  2015-06-30 
10:17:53.0 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-ffi.new/rubygem-ffi.changes 
2015-07-03 00:19:57.0 +0200
@@ -1,0 +2,6 @@
+Wed Jul  1 04:29:51 UTC 2015 - co...@suse.com
+
+- updated to version 1.9.10
+ see installed ChangeLog
+
+---

Old:

  ffi-1.9.9.gem

New:

  ffi-1.9.10.gem



Other differences:
--
++ rubygem-ffi.spec ++
--- /var/tmp/diff_new_pack.6Hvq55/_old  2015-07-03 00:19:58.0 +0200
+++ /var/tmp/diff_new_pack.6Hvq55/_new  2015-07-03 00:19:58.0 +0200
@@ -24,7 +24,7 @@
 #
 
 Name:   rubygem-ffi
-Version:1.9.9
+Version:1.9.10
 Release:0
 %define mod_name ffi
 %define mod_full_name %{mod_name}-%{version}

++ ffi-1.9.9.gem - ffi-1.9.10.gem ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Rakefile new/Rakefile
--- old/Rakefile2015-06-26 22:18:25.0 +0200
+++ new/Rakefile2015-07-01 04:49:44.0 +0200
@@ -96,11 +96,12 @@
 
 CLEAN.include 'build'
 CLEAN.include 'conftest.dSYM'
-CLEAN.include 'spec/ffi/fixtures/libtest.dylib'
-CLEAN.include FileList[pkg/ffi-#{FFI::VERSION}-*-mingw32]
-CLEAN.include FileList[pkg/ffi-#{FFI::VERSION}-java]
-CLEAN.include FileList['lib/1.*']
-CLEAN.include FileList['lib/2.*']
+CLEAN.include 'spec/ffi/fixtures/libtest.{dylib,so,dll}'
+CLEAN.include 'spec/ffi/fixtures/*.o'
+CLEAN.include pkg/ffi-#{FFI::VERSION}-*-mingw32
+CLEAN.include pkg/ffi-#{FFI::VERSION}-java
+CLEAN.include 'lib/1.*'
+CLEAN.include 'lib/2.*'
 CLEAN.include 'bin'
 
 task :distclean = :clobber
Files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ext/ffi_c/MethodHandle.c new/ext/ffi_c/MethodHandle.c
--- old/ext/ffi_c/MethodHandle.c2015-06-26 22:18:25.0 +0200
+++ new/ext/ffi_c/MethodHandle.c2015-07-01 04:49:44.0 +0200
@@ -132,6 +132,12 @@
 #ifndef CUSTOM_TRAMPOLINE
 static void attached_method_invoke(ffi_cif* cif, void* retval, METHOD_PARAMS 
parameters, void* user_data);
 
+static ffi_type* methodHandleParamTypes[] = {
+ffi_type_sint,
+ffi_type_pointer,
+ffi_type_ulong,
+};
+
 static ffi_cif mh_cif;
 
 static bool
@@ -333,12 +339,7 @@
 rbffi_MethodHandle_Init(VALUE module)
 {
 #ifndef CUSTOM_TRAMPOLINE
-ffi_status ffiStatus;  
-ffi_type* methodHandleParamTypes[] = {
-ffi_type_sint,
-ffi_type_pointer,
-ffi_type_ulong,
-};
+ffi_status ffiStatus;
 #endif
 
 defaultClosurePool = rbffi_ClosurePool_New((int) trampoline_size(), 
prep_trampoline, NULL);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ffi.gemspec new/ffi.gemspec
--- old/ffi.gemspec 2015-06-26 22:18:25.0 +0200
+++ new/ffi.gemspec 2015-07-01 04:49:45.0 +0200
@@ -17,7 +17,7 @@
   s.required_ruby_version = '= 1.8.7'
   s.add_development_dependency 'rake', '~ 10.1'
   s.add_development_dependency 'rake-compiler', '~ 0.9'
-  s.add_development_dependency 'rake-compiler-dock', '~ 0.3.1'
+  s.add_development_dependency 'rake-compiler-dock', '~ 0.4.0'
   s.add_development_dependency 'rspec', '~ 2.14.1'
   s.add_development_dependency 'rubygems-tasks', ~ 0.2.4
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/ffi/version.rb new/lib/ffi/version.rb
--- old/lib/ffi/version.rb  2015-06-26 22:18:25.0 +0200
+++ new/lib/ffi/version.rb  2015-07-01 04:49:46.0 +0200
@@ -1,4 +1,4 @@
 module FFI
-  VERSION = '1.9.9'
+  VERSION = '1.9.10'
 end
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata2015-06-26 22:18:25.0 +0200
+++ new/metadata2015-07-01 04:49:44.0 +0200
@@ -1,14 +1,14 @@
 --- !ruby/object:Gem::Specification
 name: ffi
 version: !ruby/object:Gem::Version
-  version: 1.9.9
+  version: 1.9.10
 platform: ruby
 authors:
 - Wayne Meissner
 autorequire: 
 bindir: bin
 cert_chain: []
-date: 2015-06-26 00:00:00.0 Z
+date: 2015-07-01 00:00:00.0 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: rake
@@ -44,14 +44,14 @@
 requirements:
 - - ~
   - !ruby/object:Gem::Version

commit rubygem-ffi for openSUSE:Factory

2015-06-30 Thread h_root
Hello community,

here is the log from the commit of package rubygem-ffi for openSUSE:Factory 
checked in at 2015-06-30 10:17:52

Comparing /work/SRC/openSUSE:Factory/rubygem-ffi (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-ffi.new (New)


Package is rubygem-ffi

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-ffi/rubygem-ffi.changes  2015-03-19 
21:17:26.0 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-ffi.new/rubygem-ffi.changes 
2015-06-30 10:17:53.0 +0200
@@ -1,0 +2,6 @@
+Sat Jun 27 04:30:12 UTC 2015 - co...@suse.com
+
+- updated to version 1.9.9
+ see installed ChangeLog
+
+---

Old:

  ffi-1.9.8.gem

New:

  ffi-1.9.9.gem



Other differences:
--
++ rubygem-ffi.spec ++
--- /var/tmp/diff_new_pack.C7eHCw/_old  2015-06-30 10:17:54.0 +0200
+++ /var/tmp/diff_new_pack.C7eHCw/_new  2015-06-30 10:17:54.0 +0200
@@ -24,7 +24,7 @@
 #
 
 Name:   rubygem-ffi
-Version:1.9.8
+Version:1.9.9
 Release:0
 %define mod_name ffi
 %define mod_full_name %{mod_name}-%{version}

++ ffi-1.9.8.gem - ffi-1.9.9.gem ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Rakefile new/Rakefile
--- old/Rakefile2015-03-15 03:46:02.0 +0100
+++ new/Rakefile2015-06-26 22:18:25.0 +0200
@@ -1,6 +1,7 @@
 require 'rubygems/tasks'
 require 'rbconfig'
 require 'rake/clean'
+require File.expand_path(./lib/ffi/version)
 
 USE_RAKE_COMPILER = (RUBY_PLATFORM =~ /java/) ? false : true
 if USE_RAKE_COMPILER
@@ -13,11 +14,6 @@
 require 'rspec/core/rake_task'
 require 'rubygems/package_task'
 
-RSpec::Core::RakeTask.new(:spec = :compile) do |config|
-  config.rspec_opts = YAML.load_file 'spec/spec.opts'
-end
-
-
 LIBEXT = case RbConfig::CONFIG['host_os'].downcase
   when /darwin/
 dylib
@@ -81,38 +77,31 @@
 
 TEST_DEPS = [ LIBTEST ]
 if RUBY_PLATFORM == java
-  desc Run all specs
-  task :specs, [:options] = TEST_DEPS do |t, args|
-sh %{#{Gem.ruby} -w -S rspec #{args.options || 
Dir[spec/ffi/*_spec.rb].join( )} -fs --color}
-  end
-  desc Run rubinius specs
-  task :rbxspecs = TEST_DEPS do
-sh %{#{Gem.ruby} -w -S rspec #{Dir[spec/ffi/rbx/*_spec.rb].join( )} 
-fs --color}
+  RSpec::Core::RakeTask.new(:spec) do |config|
+config.rspec_opts = YAML.load_file 'spec/spec.opts'
   end
 else
-  TEST_DEPS.unshift :compile
-  desc Run all specs
-  task :specs, [:options] = TEST_DEPS do |t, args|
-ENV[MRI_FFI] = 1
-sh %{#{Gem.ruby} -w -Ilib -I#{BUILD_EXT_DIR} -S rspec #{args.options || 
Dir[spec/ffi/*_spec.rb].join( )} -fs --color}
-  end
-  desc Run rubinius specs
-  task :rbxspecs = TEST_DEPS do
-ENV[MRI_FFI] = 1
-sh %{#{Gem.ruby} -w -Ilib -I#{BUILD_EXT_DIR} -S rspec 
#{Dir[spec/ffi/rbx/*_spec.rb].join( )} -fs --color}
+  RSpec::Core::RakeTask.new(:spec = :compile) do |config|
+config.rspec_opts = YAML.load_file 'spec/spec.opts'
   end
+
+  TEST_DEPS.unshift :compile
 end
 
 desc Build all packages
 task :package = 'gem:package'
 
-CLOBBER.include 'build'
-CLOBBER.include FileList['lib/**/ffi_c.so']
-CLOBBER.include FileList[lib/**/ffi_c.#{RbConfig::CONFIG['DLEXT']}]
 CLOBBER.include 'lib/ffi/types.conf'
-CLOBBER.include 'conftest.dSYM'
 CLOBBER.include 'pkg'
-CLOBBER.include 'spec/ffi/fixtures/libtest.dylib'
+
+CLEAN.include 'build'
+CLEAN.include 'conftest.dSYM'
+CLEAN.include 'spec/ffi/fixtures/libtest.dylib'
+CLEAN.include FileList[pkg/ffi-#{FFI::VERSION}-*-mingw32]
+CLEAN.include FileList[pkg/ffi-#{FFI::VERSION}-java]
+CLEAN.include FileList['lib/1.*']
+CLEAN.include FileList['lib/2.*']
+CLEAN.include 'bin'
 
 task :distclean = :clobber
 
@@ -185,27 +174,23 @@
 ext.cross_platform = %w[i386-mingw32 x64-mingw32] # 
forces the Windows platform instead of the default one
   end
 
-  task 'gem:win32' = ['gem:win32-x64', 'gem:win32-i386']
+  ENV['RUBY_CC_VERSION'] ||= '1.8.7:1.9.3:2.0.0:2.1.5:2.2.1'
 
-  task 'gem:win32-i386' do
-sh(rake cross native:i386-mingw32 gem 
RUBY_CC_VERSION='1.8.7:1.9.3:2.0.0:2.1.5:2.2.1') || raise(win32-i386 build 
failed!)
-  end
-
-  task 'gem:win32-x64' do
-sh(rake cross native:x64-mingw32 gem 
RUBY_CC_VERSION='2.0.0:2.1.5:2.2.1') || raise(win32-x64 build failed!)
-  end
-
-  (ENV['RUBY_CC_VERSION'] || '1.8.7:1.9.3:2.0.0:2.1.5:2.2.1' 
).to_s.split(':').each do |ruby_version|
+  ENV['RUBY_CC_VERSION'].to_s.split(':').each do |ruby_version|
 task copy:ffi_c:i386-mingw32:#{ruby_version} do |t|
   sh i686-w64-mingw32-strip -S 
#{BUILD_DIR}/i386-mingw32/stage/lib/#{ruby_version[/^\d+\.\d+/]}/ffi_c.so
 end
-  end
 
-  (ENV['RUBY_CC_VERSION'] || '2.0.0:2.1.5:2.2.1' ).to_s.split(':').each do 

commit rubygem-ffi for openSUSE:Factory

2015-03-19 Thread h_root
Hello community,

here is the log from the commit of package rubygem-ffi for openSUSE:Factory 
checked in at 2015-03-19 21:17:24

Comparing /work/SRC/openSUSE:Factory/rubygem-ffi (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-ffi.new (New)


Package is rubygem-ffi

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-ffi/rubygem-ffi.changes  2014-11-24 
11:18:39.0 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-ffi.new/rubygem-ffi.changes 
2015-03-19 21:17:26.0 +0100
@@ -1,0 +2,5 @@
+Wed Mar 18 15:35:36 UTC 2015 - co...@suse.com
+
+- updated to version 1.9.8, no changelog
+
+---

Old:

  ffi-1.9.6.gem

New:

  ffi-1.9.8.gem



Other differences:
--
++ rubygem-ffi.spec ++
--- /var/tmp/diff_new_pack.d42MU9/_old  2015-03-19 21:17:26.0 +0100
+++ /var/tmp/diff_new_pack.d42MU9/_new  2015-03-19 21:17:26.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-ffi
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,7 +24,7 @@
 #
 
 Name:   rubygem-ffi
-Version:1.9.6
+Version:1.9.8
 Release:0
 %define mod_name ffi
 %define mod_full_name %{mod_name}-%{version}

++ ffi-1.9.6.gem - ffi-1.9.8.gem ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/README.md new/README.md
--- old/README.md   2014-10-09 19:09:37.0 +0200
+++ new/README.md   2015-03-15 03:46:02.0 +0100
@@ -63,7 +63,7 @@
 
 ## Credits
 
-The following people have submitted code, bug reports, or otherwide 
contributed to the success of this project:
+The following people have submitted code, bug reports, or otherwise 
contributed to the success of this project:
 
 * Alban Peignier alban.peign...@free.fr
 * Aman Gupta a...@tmm1.net
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Rakefile new/Rakefile
--- old/Rakefile2014-10-09 19:09:37.0 +0200
+++ new/Rakefile2015-03-15 03:46:02.0 +0100
@@ -82,8 +82,8 @@
 TEST_DEPS = [ LIBTEST ]
 if RUBY_PLATFORM == java
   desc Run all specs
-  task :specs = TEST_DEPS do
-sh %{#{Gem.ruby} -w -S rspec #{Dir[spec/ffi/*_spec.rb].join( )} -fs 
--color}
+  task :specs, [:options] = TEST_DEPS do |t, args|
+sh %{#{Gem.ruby} -w -S rspec #{args.options || 
Dir[spec/ffi/*_spec.rb].join( )} -fs --color}
   end
   desc Run rubinius specs
   task :rbxspecs = TEST_DEPS do
@@ -92,9 +92,9 @@
 else
   TEST_DEPS.unshift :compile
   desc Run all specs
-  task :specs = TEST_DEPS do
+  task :specs, [:options] = TEST_DEPS do |t, args|
 ENV[MRI_FFI] = 1
-sh %{#{Gem.ruby} -w -Ilib -I#{BUILD_EXT_DIR} -S rspec 
#{Dir[spec/ffi/*_spec.rb].join( )} -fs --color}
+sh %{#{Gem.ruby} -w -Ilib -I#{BUILD_EXT_DIR} -S rspec #{args.options || 
Dir[spec/ffi/*_spec.rb].join( )} -fs --color}
   end
   desc Run rubinius specs
   task :rbxspecs = TEST_DEPS do
@@ -187,21 +187,21 @@
 
   task 'gem:win32' = ['gem:win32-x64', 'gem:win32-i386']
 
-  task 'gem:win32-x86' do
-sh(rake cross native:i386-mingw32 gem 
RUBY_CC_VERSION='1.8.7:1.9.3:2.0.0:2.1.3') || raise(win32-i386 build failed!)
+  task 'gem:win32-i386' do
+sh(rake cross native:i386-mingw32 gem 
RUBY_CC_VERSION='1.8.7:1.9.3:2.0.0:2.1.5:2.2.1') || raise(win32-i386 build 
failed!)
   end
 
   task 'gem:win32-x64' do
-sh(rake cross native:x64-mingw32 gem RUBY_CC_VERSION='2.0.0:2.1.3') || 
raise(win32-x64 build failed!)
+sh(rake cross native:x64-mingw32 gem 
RUBY_CC_VERSION='2.0.0:2.1.5:2.2.1') || raise(win32-x64 build failed!)
   end
 
-  (ENV['RUBY_CC_VERSION'] || '1.8.7:1.9.3:2.0.0:2.1.3' ).to_s.split(':').each 
do |ruby_version|
+  (ENV['RUBY_CC_VERSION'] || '1.8.7:1.9.3:2.0.0:2.1.5:2.2.1' 
).to_s.split(':').each do |ruby_version|
 task copy:ffi_c:i386-mingw32:#{ruby_version} do |t|
   sh i686-w64-mingw32-strip -S 
#{BUILD_DIR}/i386-mingw32/stage/lib/#{ruby_version[/^\d+\.\d+/]}/ffi_c.so
 end
   end
 
-  (ENV['RUBY_CC_VERSION'] || '2.0.0:2.1.3' ).to_s.split(':').each do 
|ruby_version|
+  (ENV['RUBY_CC_VERSION'] || '2.0.0:2.1.5:2.2.1' ).to_s.split(':').each do 
|ruby_version|
 task copy:ffi_c:x64-mingw32:#{ruby_version} do |t|
   sh x86_64-w64-mingw32-strip -S 
#{BUILD_DIR}/x64-mingw32/stage/lib/#{ruby_version[/^\d+\.\d+/]}/ffi_c.so
 end
Files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 

commit rubygem-ffi for openSUSE:Factory

2014-11-24 Thread h_root
Hello community,

here is the log from the commit of package rubygem-ffi for openSUSE:Factory 
checked in at 2014-11-24 11:18:08

Comparing /work/SRC/openSUSE:Factory/rubygem-ffi (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-ffi.new (New)


Package is rubygem-ffi

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-ffi/rubygem-ffi.changes  2014-02-12 
21:03:32.0 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-ffi.new/rubygem-ffi.changes 
2014-11-24 11:18:39.0 +0100
@@ -1,0 +2,21 @@
+Fri Nov 21 21:44:46 UTC 2014 - opensuse_buildserv...@ojkastl.de
+
+- manual dependency libffi-devel and rpmlintrc now in gem2rpm.yml
+
+---
+Fri Nov 21 21:18:30 UTC 2014 - opensuse_buildserv...@ojkastl.de
+
+- adapted to new packaging scheme, regenerated spec with gem2rpm, readded 
libffi-devel 
+
+---
+Fri Nov 21 21:10:45 UTC 2014 - opensuse_buildserv...@ojkastl.de
+
+- update to version 1.9.6 
+
+---
+Tue Jul 22 08:52:18 UTC 2014 - dmacvi...@suse.de
+
+- remove rdoc buildrequires to build with older
+  rubies including rdoc. It is still pulled otherwise
+
+---

Old:

  ffi-1.9.3.gem

New:

  ffi-1.9.6.gem
  gem2rpm.yml



Other differences:
--
++ rubygem-ffi.spec ++
--- /var/tmp/diff_new_pack.zpMY0S/_old  2014-11-24 11:18:40.0 +0100
+++ /var/tmp/diff_new_pack.zpMY0S/_new  2014-11-24 11:18:40.0 +0100
@@ -16,76 +16,47 @@
 #
 
 
+#
+# This file was generated with a gem2rpm.yml and not just plain gem2rpm.
+# All sections marked as MANUAL, license headers, summaries and descriptions
+# can be maintained in that file. Please consult this file before editing any
+# of those fields
+#
+
 Name:   rubygem-ffi
-Version:1.9.3
+Version:1.9.6
 Release:0
 %define mod_name ffi
 %define mod_full_name %{mod_name}-%{version}
-
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  ruby-macros = 3
-Requires:   ruby = 1.8.7
-BuildRequires:  ruby = 1.8.7
-BuildRequires:  ruby-devel
-BuildRequires:  rubygem(rdoc)  3.10
 # MANUAL
 BuildRequires:  libffi-devel
+# /MANUAL
+BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  %{rubydevel = 1.8.7}
+BuildRequires:  %{rubygem gem2rpm}
+BuildRequires:  %{rubygem rdoc  3.10}
+BuildRequires:  ruby-macros = 5
 Url:http://wiki.github.com/ffi/ffi
 Source: http://rubygems.org/gems/%{mod_full_name}.gem
+Source1:rubygem-ffi-rpmlintrc
+Source2:gem2rpm.yml
 Summary:Ruby FFI
 License:BSD-3-Clause
 Group:  Development/Languages/Ruby
 
 %description
-Ruby FFI library
-
-%package doc
-Summary:RDoc documentation for %{mod_name}
-Group:  Development/Languages/Ruby
-Requires:   %{name} = %{version}
-
-%description doc
-Documentation generated at gem installation time.
-Usually in RDoc and RI formats.
-
-%package testsuite
-Summary:Test suite for %{mod_name}
-Group:  Development/Languages/Ruby
-Requires:   %{name} = %{version}
-
-%description testsuite
-Test::Unit or RSpec files, useful for developers.
+Ruby FFI library.
 
 %prep
-#gem_unpack
-#if you need patches, apply them here and replace the # with a % sign in the 
surrounding lines
-#gem_build
 
 %build
 
 %install
-%gem_install -f
+%gem_install \
+  --doc-files=COPYING LICENSE README.md \
+  -f
 %gem_cleanup
-mkdir -p %{buildroot}%{_docdir}/%{name}
-ln -s %{gem_base}/gems/%{mod_full_name}/LICENSE 
%buildroot/%{_docdir}/%{name}/LICENSE
-ln -s %{gem_base}/gems/%{mod_full_name}/COPYING 
%buildroot/%{_docdir}/%{name}/COPYING
-ln -s %{gem_base}/gems/%{mod_full_name}/README.md 
%buildroot/%{_docdir}/%{name}/README.md
-
-%files
-%defattr(-,root,root,-)
-%{_docdir}/%{name}
-%{gem_base}/cache/%{mod_full_name}.gem
-%{gem_base}/gems/%{mod_full_name}/
-%{gem_extensions}/%{mod_full_name}
-%exclude %{gem_base}/gems/%{mod_full_name}/spec
-%{gem_base}/specifications/%{mod_full_name}.gemspec
-
-%files doc
-%defattr(-,root,root,-)
-%doc %{gem_base}/doc
-
-%files testsuite
-%defattr(-,root,root,-)
-%{gem_base}/gems/%{mod_full_name}/spec
+
+%gem_packages
 
 %changelog

++ ffi-1.9.3.gem - ffi-1.9.6.gem ++
 7189 lines of diff (skipped)

++ gem2rpm.yml ++
# ---
# ## used by gem2rpm
# :summary: this is a custom summary
# ## used by gem2rpm
# :description: |-
#   this is a custom description
#
#   it can be multiline
# ## used by gem2rpm
 :license: BSD-3-Clause
# ## used by gem2rpm and gem_packages
# :version_suffix: -x_y
# ## used by gem2rpm and gem_packages
# 

commit rubygem-ffi for openSUSE:Factory

2014-02-12 Thread h_root
Hello community,

here is the log from the commit of package rubygem-ffi for openSUSE:Factory 
checked in at 2014-02-12 21:03:31

Comparing /work/SRC/openSUSE:Factory/rubygem-ffi (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-ffi.new (New)


Package is rubygem-ffi

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-ffi/rubygem-ffi.changes  2013-11-19 
16:29:03.0 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-ffi.new/rubygem-ffi.changes 
2014-02-12 21:03:32.0 +0100
@@ -1,0 +2,5 @@
+Thu Feb  6 18:28:37 UTC 2014 - co...@suse.com
+
+- updated to version 1.9.3
+
+---



Other differences:
--
++ rubygem-ffi.spec ++
--- /var/tmp/diff_new_pack.w1DeVZ/_old  2014-02-12 21:03:32.0 +0100
+++ /var/tmp/diff_new_pack.w1DeVZ/_new  2014-02-12 21:03:32.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-ffi
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -23,9 +23,10 @@
 %define mod_full_name %{mod_name}-%{version}
 
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  ruby-macros = 1
+BuildRequires:  ruby-macros = 3
 Requires:   ruby = 1.8.7
-BuildRequires:  ruby-devel = 1.8.7
+BuildRequires:  ruby = 1.8.7
+BuildRequires:  ruby-devel
 BuildRequires:  rubygem(rdoc)  3.10
 # MANUAL
 BuildRequires:  libffi-devel
@@ -66,24 +67,25 @@
 %gem_install -f
 %gem_cleanup
 mkdir -p %{buildroot}%{_docdir}/%{name}
-ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/LICENSE 
%buildroot/%{_docdir}/%{name}/LICENSE
-ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/COPYING 
%buildroot/%{_docdir}/%{name}/COPYING
-ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/README.md 
%buildroot/%{_docdir}/%{name}/README.md
+ln -s %{gem_base}/gems/%{mod_full_name}/LICENSE 
%buildroot/%{_docdir}/%{name}/LICENSE
+ln -s %{gem_base}/gems/%{mod_full_name}/COPYING 
%buildroot/%{_docdir}/%{name}/COPYING
+ln -s %{gem_base}/gems/%{mod_full_name}/README.md 
%buildroot/%{_docdir}/%{name}/README.md
 
 %files
 %defattr(-,root,root,-)
 %{_docdir}/%{name}
-%{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_full_name}.gem
-%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/
-%exclude %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/spec
-%{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_full_name}.gemspec
+%{gem_base}/cache/%{mod_full_name}.gem
+%{gem_base}/gems/%{mod_full_name}/
+%{gem_extensions}/%{mod_full_name}
+%exclude %{gem_base}/gems/%{mod_full_name}/spec
+%{gem_base}/specifications/%{mod_full_name}.gemspec
 
 %files doc
 %defattr(-,root,root,-)
-%doc %{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_full_name}/
+%doc %{gem_base}/doc
 
 %files testsuite
 %defattr(-,root,root,-)
-%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/spec
+%{gem_base}/gems/%{mod_full_name}/spec
 
 %changelog


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rubygem-ffi for openSUSE:Factory

2013-11-19 Thread h_root
Hello community,

here is the log from the commit of package rubygem-ffi for openSUSE:Factory 
checked in at 2013-11-19 16:29:03

Comparing /work/SRC/openSUSE:Factory/rubygem-ffi (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-ffi.new (New)


Package is rubygem-ffi

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-ffi/rubygem-ffi.changes  2013-06-17 
10:18:36.0 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-ffi.new/rubygem-ffi.changes 
2013-11-19 16:29:03.0 +0100
@@ -1,0 +2,5 @@
+Thu Oct 31 05:54:34 UTC 2013 - co...@suse.com
+
+- updated to version 1.9.3, changed license to BSD
+
+---

Old:

  ffi-1.9.0.gem

New:

  ffi-1.9.3.gem



Other differences:
--
++ rubygem-ffi.spec ++
--- /var/tmp/diff_new_pack.K4su1U/_old  2013-11-19 16:29:04.0 +0100
+++ /var/tmp/diff_new_pack.K4su1U/_new  2013-11-19 16:29:04.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   rubygem-ffi
-Version:1.9.0
+Version:1.9.3
 Release:0
 %define mod_name ffi
 %define mod_full_name %{mod_name}-%{version}
@@ -32,7 +32,7 @@
 Url:http://wiki.github.com/ffi/ffi
 Source: http://rubygems.org/gems/%{mod_full_name}.gem
 Summary:Ruby FFI
-License:LGPL-3.0
+License:BSD-3-Clause
 Group:  Development/Languages/Ruby
 
 %description
@@ -65,9 +65,14 @@
 %install
 %gem_install -f
 %gem_cleanup
+mkdir -p %{buildroot}%{_docdir}/%{name}
+ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/LICENSE 
%buildroot/%{_docdir}/%{name}/LICENSE
+ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/COPYING 
%buildroot/%{_docdir}/%{name}/COPYING
+ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/README.md 
%buildroot/%{_docdir}/%{name}/README.md
 
 %files
 %defattr(-,root,root,-)
+%{_docdir}/%{name}
 %{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_full_name}.gem
 %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/
 %exclude %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/spec

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rubygem-ffi for openSUSE:Factory

2013-05-02 Thread h_root
Hello community,

here is the log from the commit of package rubygem-ffi for openSUSE:Factory 
checked in at 2013-05-02 11:46:33

Comparing /work/SRC/openSUSE:Factory/rubygem-ffi (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-ffi.new (New)


Package is rubygem-ffi

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-ffi/rubygem-ffi.changes  2013-04-20 
17:52:07.0 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-ffi.new/rubygem-ffi.changes 
2013-05-02 11:46:35.0 +0200
@@ -1,0 +2,5 @@
+Wed Apr 24 05:53:06 UTC 2013 - co...@suse.com
+
+- updated to version 1.8.1, no changelog
+
+---

Old:

  ffi-1.7.0.gem

New:

  ffi-1.8.1.gem



Other differences:
--
++ rubygem-ffi.spec ++
--- /var/tmp/diff_new_pack.DkWW4v/_old  2013-05-02 11:46:36.0 +0200
+++ /var/tmp/diff_new_pack.DkWW4v/_new  2013-05-02 11:46:36.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   rubygem-ffi
-Version:1.7.0
+Version:1.8.1
 Release:0
 %define mod_name ffi
 %define mod_full_name %{mod_name}-%{version}

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rubygem-ffi for openSUSE:Factory

2013-04-20 Thread h_root
Hello community,

here is the log from the commit of package rubygem-ffi for openSUSE:Factory 
checked in at 2013-04-20 17:52:05

Comparing /work/SRC/openSUSE:Factory/rubygem-ffi (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-ffi.new (New)


Package is rubygem-ffi, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-ffi/rubygem-ffi.changes  2013-04-02 
20:43:39.0 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-ffi.new/rubygem-ffi.changes 
2013-04-20 17:52:07.0 +0200
@@ -1,0 +2,5 @@
+Fri Apr 12 07:53:41 UTC 2013 - co...@suse.com
+
+- updated to version 1.7.0
+
+---

Old:

  ffi-1.5.0.gem

New:

  ffi-1.7.0.gem



Other differences:
--
++ rubygem-ffi.spec ++
--- /var/tmp/diff_new_pack.VN25gH/_old  2013-04-20 17:52:08.0 +0200
+++ /var/tmp/diff_new_pack.VN25gH/_new  2013-04-20 17:52:08.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   rubygem-ffi
-Version:1.5.0
+Version:1.7.0
 Release:0
 %define mod_name ffi
 %define mod_full_name %{mod_name}-%{version}
@@ -26,6 +26,7 @@
 BuildRequires:  ruby-macros = 1
 Requires:   ruby = 1.8.7
 BuildRequires:  ruby-devel = 1.8.7
+BuildRequires:  rubygem(rdoc)  3.10
 # MANUAL
 BuildRequires:  libffi-devel
 Url:http://wiki.github.com/ffi/ffi

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rubygem-ffi for openSUSE:Factory

2013-04-02 Thread h_root
Hello community,

here is the log from the commit of package rubygem-ffi for openSUSE:Factory 
checked in at 2013-04-02 20:43:37

Comparing /work/SRC/openSUSE:Factory/rubygem-ffi (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-ffi.new (New)


Package is rubygem-ffi, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-ffi/rubygem-ffi.changes  2013-03-12 
15:03:00.0 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-ffi.new/rubygem-ffi.changes 
2013-04-02 20:43:39.0 +0200
@@ -1,0 +2,10 @@
+Tue Mar 26 06:03:20 UTC 2013 - co...@suse.com
+
+- remove rm, it's done by gem_cleanup now
+
+---
+Sat Mar 23 08:03:31 UTC 2013 - co...@suse.com
+
+- updated to version 1.5.0, no changelog
+
+---

Old:

  ffi-1.4.0.gem

New:

  ffi-1.5.0.gem



Other differences:
--
++ rubygem-ffi.spec ++
--- /var/tmp/diff_new_pack.3hE5Fu/_old  2013-04-02 20:43:40.0 +0200
+++ /var/tmp/diff_new_pack.3hE5Fu/_new  2013-04-02 20:43:40.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   rubygem-ffi
-Version:1.4.0
+Version:1.5.0
 Release:0
 %define mod_name ffi
 %define mod_full_name %{mod_name}-%{version}
@@ -29,7 +29,7 @@
 # MANUAL
 BuildRequires:  libffi-devel
 Url:http://wiki.github.com/ffi/ffi
-Source: %{mod_full_name}.gem
+Source: http://rubygems.org/gems/%{mod_full_name}.gem
 Summary:Ruby FFI
 License:LGPL-3.0
 Group:  Development/Languages/Ruby
@@ -64,8 +64,6 @@
 %install
 %gem_install -f
 %gem_cleanup
-# MANUAL
-rm -r %{buildroot}%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/ext
 
 %files
 %defattr(-,root,root,-)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rubygem-ffi for openSUSE:Factory

2013-03-12 Thread h_root
Hello community,

here is the log from the commit of package rubygem-ffi for openSUSE:Factory 
checked in at 2013-03-12 15:02:58

Comparing /work/SRC/openSUSE:Factory/rubygem-ffi (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-ffi.new (New)


Package is rubygem-ffi, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-ffi/rubygem-ffi.changes  2012-08-12 
15:29:09.0 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-ffi.new/rubygem-ffi.changes 
2013-03-12 15:03:00.0 +0100
@@ -1,0 +2,20 @@
+Sun Mar  3 19:15:38 UTC 2013 - co...@suse.com
+
+- updated to version 1.4.0
+
+---
+Fri Jan 25 06:39:40 UTC 2013 - co...@suse.com
+
+- updated to version 1.3.1
+
+---
+Tue Jan  8 20:21:08 UTC 2013 - co...@suse.com
+
+- updated to version 1.3.0
+
+---
+Wed Nov 21 06:33:36 UTC 2012 - co...@suse.com
+
+- updated to version 1.2.0
+
+---

Old:

  ffi-1.1.5.gem

New:

  ffi-1.4.0.gem



Other differences:
--
++ rubygem-ffi.spec ++
--- /var/tmp/diff_new_pack.f1PwK8/_old  2013-03-12 15:03:02.0 +0100
+++ /var/tmp/diff_new_pack.f1PwK8/_new  2013-03-12 15:03:02.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-ffi
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,28 +17,25 @@
 
 
 Name:   rubygem-ffi
-Version:1.1.5
+Version:1.4.0
 Release:0
 %define mod_name ffi
 %define mod_full_name %{mod_name}-%{version}
 
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  ruby-macros = 1
-BuildRequires:  rubygem(rdoc)  3.10
+Requires:   ruby = 1.8.7
+BuildRequires:  ruby-devel = 1.8.7
+# MANUAL
+BuildRequires:  libffi-devel
 Url:http://wiki.github.com/ffi/ffi
 Source: %{mod_full_name}.gem
-Summary:Ruby-FFI is a ruby extension for programmatically loading 
dynamic
+Summary:Ruby FFI
 License:LGPL-3.0
 Group:  Development/Languages/Ruby
-# MANUAL
-BuildRequires:  libffi-devel
 
 %description
-Ruby-FFI is a ruby extension for programmatically loading dynamic
-libraries, binding functions within them, and calling those functions
-from Ruby code. Moreover, a Ruby-FFI extension works without changes
-on Ruby and JRuby. Discover why should you write your next extension
-using Ruby-FFI here[http://wiki.github.com/ffi/ffi/why-use-ffi].
+Ruby FFI library
 
 %package doc
 Summary:RDoc documentation for %{mod_name}
@@ -67,6 +64,8 @@
 %install
 %gem_install -f
 %gem_cleanup
+# MANUAL
+rm -r %{buildroot}%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/ext
 
 %files
 %defattr(-,root,root,-)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rubygem-ffi for openSUSE:Factory

2012-08-12 Thread h_root
Hello community,

here is the log from the commit of package rubygem-ffi for openSUSE:Factory 
checked in at 2012-08-12 15:29:08

Comparing /work/SRC/openSUSE:Factory/rubygem-ffi (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-ffi.new (New)


Package is rubygem-ffi, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-ffi/rubygem-ffi.changes  2012-08-05 
08:02:44.0 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-ffi.new/rubygem-ffi.changes 
2012-08-12 15:29:09.0 +0200
@@ -1,0 +2,5 @@
+Thu Aug  9 14:52:14 UTC 2012 - co...@suse.com
+
+- updated to version 1.1.5
+
+---

Old:

  ffi-1.1.4.gem

New:

  ffi-1.1.5.gem



Other differences:
--
++ rubygem-ffi.spec ++
--- /var/tmp/diff_new_pack.6lqBEB/_old  2012-08-12 15:29:10.0 +0200
+++ /var/tmp/diff_new_pack.6lqBEB/_new  2012-08-12 15:29:10.0 +0200
@@ -17,13 +17,14 @@
 
 
 Name:   rubygem-ffi
-Version:1.1.4
+Version:1.1.5
 Release:0
 %define mod_name ffi
 %define mod_full_name %{mod_name}-%{version}
 
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  ruby-macros = 1
+BuildRequires:  rubygem(rdoc)  3.10
 Url:http://wiki.github.com/ffi/ffi
 Source: %{mod_full_name}.gem
 Summary:Ruby-FFI is a ruby extension for programmatically loading 
dynamic

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rubygem-ffi for openSUSE:Factory

2012-08-05 Thread h_root
Hello community,

here is the log from the commit of package rubygem-ffi for openSUSE:Factory 
checked in at 2012-08-05 08:02:41

Comparing /work/SRC/openSUSE:Factory/rubygem-ffi (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-ffi.new (New)


Package is rubygem-ffi, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-ffi/rubygem-ffi.changes  2012-08-04 
09:39:21.0 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-ffi.new/rubygem-ffi.changes 
2012-08-05 08:02:44.0 +0200
@@ -1,0 +2,10 @@
+Sat Aug  4 19:00:49 UTC 2012 - co...@suse.com
+
+- updated to version 1.1.4, more updates for libffi
+
+---
+Fri Aug  3 13:57:50 UTC 2012 - co...@suse.com
+
+- updated to version 1.1.3, fix compilation
+
+---

Old:

  ffi-1.1.2.gem

New:

  ffi-1.1.4.gem



Other differences:
--
++ rubygem-ffi.spec ++
--- /var/tmp/diff_new_pack.KiJMJW/_old  2012-08-05 08:02:46.0 +0200
+++ /var/tmp/diff_new_pack.KiJMJW/_new  2012-08-05 08:02:46.0 +0200
@@ -17,20 +17,20 @@
 
 
 Name:   rubygem-ffi
-Version:1.1.2
+Version:1.1.4
 Release:0
 %define mod_name ffi
 %define mod_full_name %{mod_name}-%{version}
 
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  ruby-macros = 1
-# MANUAL
-BuildRequires:  libffi-devel
 Url:http://wiki.github.com/ffi/ffi
 Source: %{mod_full_name}.gem
-Summary:Ruby-FFI is a ruby extension for programmatically loading 
dynamic libraries, binding functions within them, and calling those functions 
from Ruby code
+Summary:Ruby-FFI is a ruby extension for programmatically loading 
dynamic
 License:LGPL-3.0
 Group:  Development/Languages/Ruby
+# MANUAL
+BuildRequires:  libffi-devel
 
 %description
 Ruby-FFI is a ruby extension for programmatically loading dynamic

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rubygem-ffi for openSUSE:Factory

2012-08-04 Thread h_root
Hello community,

here is the log from the commit of package rubygem-ffi for openSUSE:Factory 
checked in at 2012-08-04 09:39:18

Comparing /work/SRC/openSUSE:Factory/rubygem-ffi (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-ffi.new (New)


Package is rubygem-ffi, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-ffi/rubygem-ffi.changes  2012-07-23 
10:17:12.0 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-ffi.new/rubygem-ffi.changes 
2012-08-04 09:39:21.0 +0200
@@ -1,0 +2,10 @@
+Mon Jul 30 09:50:48 UTC 2012 - co...@suse.com
+
+- update to 1.1.2 - fixes for arm
+
+---
+Sat Jul 28 16:23:24 UTC 2012 - co...@suse.com
+
+- updated to 1.1.1 - no changelog
+
+---

Old:

  ffi-1.1.0.gem

New:

  ffi-1.1.2.gem



Other differences:
--
++ rubygem-ffi.spec ++
--- /var/tmp/diff_new_pack.Mzfawd/_old  2012-08-04 09:39:24.0 +0200
+++ /var/tmp/diff_new_pack.Mzfawd/_new  2012-08-04 09:39:24.0 +0200
@@ -17,21 +17,20 @@
 
 
 Name:   rubygem-ffi
-Version:1.1.0
+Version:1.1.2
 Release:0
-Summary:Ruby-FFI is a ruby extension for programmatically loading 
dynamic libraries, binding functions within them, and calling those functions 
from Ruby code
-License:LGPL-3.0
-Group:  Development/Languages/Ruby
-Url:http://wiki.github.com/ffi/ffi
 %define mod_name ffi
 %define mod_full_name %{mod_name}-%{version}
-Source: %{mod_full_name}.gem
-BuildRequires:  libffi-devel
-BuildRequires:  rubygems_with_buildroot_patch
-Provides:   rubygem-%{mod_name}-1 = %{version}
-Provides:   rubygem-%{mod_name}-1_1 = %{version}
+
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-%rubygems_requires
+BuildRequires:  ruby-macros = 1
+# MANUAL
+BuildRequires:  libffi-devel
+Url:http://wiki.github.com/ffi/ffi
+Source: %{mod_full_name}.gem
+Summary:Ruby-FFI is a ruby extension for programmatically loading 
dynamic libraries, binding functions within them, and calling those functions 
from Ruby code
+License:LGPL-3.0
+Group:  Development/Languages/Ruby
 
 %description
 Ruby-FFI is a ruby extension for programmatically loading dynamic
@@ -58,9 +57,14 @@
 Test::Unit or RSpec files, useful for developers.
 
 %prep
+#gem_unpack
+#if you need patches, apply them here and replace the # with a % sign in the 
surrounding lines
+#gem_build
+
 %build
+
 %install
-%gem_install %{SOURCE0}
+%gem_install -f
 %gem_cleanup
 
 %files

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rubygem-ffi for openSUSE:Factory

2012-07-23 Thread h_root
Hello community,

here is the log from the commit of package rubygem-ffi for openSUSE:Factory 
checked in at 2012-07-23 10:17:09

Comparing /work/SRC/openSUSE:Factory/rubygem-ffi (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-ffi.new (New)


Package is rubygem-ffi, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-ffi/rubygem-ffi.changes  2012-07-02 
12:48:57.0 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-ffi.new/rubygem-ffi.changes 
2012-07-23 10:17:12.0 +0200
@@ -1,0 +2,5 @@
+Sun Jul 22 15:15:19 UTC 2012 - co...@suse.com
+
+- update to 1.1.0 - no changelog
+
+---

Old:

  ffi-1.0.11.gem

New:

  ffi-1.1.0.gem



Other differences:
--
++ rubygem-ffi.spec ++
--- /var/tmp/diff_new_pack.uNvz1c/_old  2012-07-23 10:17:13.0 +0200
+++ /var/tmp/diff_new_pack.uNvz1c/_new  2012-07-23 10:17:13.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   rubygem-ffi
-Version:1.0.11
+Version:1.1.0
 Release:0
 Summary:Ruby-FFI is a ruby extension for programmatically loading 
dynamic libraries, binding functions within them, and calling those functions 
from Ruby code
 License:LGPL-3.0
@@ -29,7 +29,7 @@
 BuildRequires:  libffi-devel
 BuildRequires:  rubygems_with_buildroot_patch
 Provides:   rubygem-%{mod_name}-1 = %{version}
-Provides:   rubygem-%{mod_name}-1_0 = %{version}
+Provides:   rubygem-%{mod_name}-1_1 = %{version}
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %rubygems_requires
 

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org