ffi 1.9.6-java → 1.9.8-java
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of ffi might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/Rakefile +9 -9
- metadata +4 -4
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA1:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 03429ad547c042f1087a3e494b8b8ad432e54982
         | 
| 4 | 
            +
              data.tar.gz: 1c026018c06008e66f9f1804bb5645591fd3f03d
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 7ba5fb71868f4425dfeb09709d916e45258d2a2be50e10bba4b443769d45837d9f0789a4057aafd6a2ab2bfc10a478341bbf8c9586e1e9374724001b6320a860
         | 
| 7 | 
            +
              data.tar.gz: 7a4f60d738ced8316466f86899cea5812d77ffd46324ef999161fa3f137bf24f7df24e1d1c32042fde505bdfceff145943debf3a4abc87c89c228aa277159d87
         | 
    
        data/README.md
    CHANGED
    
    | @@ -63,7 +63,7 @@ as Rubyspec, see the LICENSE.SPECS file. | |
| 63 63 |  | 
| 64 64 | 
             
            ## Credits
         | 
| 65 65 |  | 
| 66 | 
            -
            The following people have submitted code, bug reports, or  | 
| 66 | 
            +
            The following people have submitted code, bug reports, or otherwise contributed to the success of this project:
         | 
| 67 67 |  | 
| 68 68 | 
             
            * Alban Peignier <alban.peignier@free.fr>
         | 
| 69 69 | 
             
            * Aman Gupta <aman@tmm1.net>
         | 
    
        data/Rakefile
    CHANGED
    
    | @@ -82,8 +82,8 @@ end | |
| 82 82 | 
             
            TEST_DEPS = [ LIBTEST ]
         | 
| 83 83 | 
             
            if RUBY_PLATFORM == "java"
         | 
| 84 84 | 
             
              desc "Run all specs"
         | 
| 85 | 
            -
              task :specs => TEST_DEPS do
         | 
| 86 | 
            -
                sh %{#{Gem.ruby} -w -S rspec #{Dir["spec/ffi/*_spec.rb"].join(" ")} -fs --color}
         | 
| 85 | 
            +
              task :specs, [:options] => TEST_DEPS do |t, args|
         | 
| 86 | 
            +
                sh %{#{Gem.ruby} -w -S rspec #{args.options || Dir["spec/ffi/*_spec.rb"].join(" ")} -fs --color}
         | 
| 87 87 | 
             
              end
         | 
| 88 88 | 
             
              desc "Run rubinius specs"
         | 
| 89 89 | 
             
              task :rbxspecs => TEST_DEPS do
         | 
| @@ -92,9 +92,9 @@ if RUBY_PLATFORM == "java" | |
| 92 92 | 
             
            else
         | 
| 93 93 | 
             
              TEST_DEPS.unshift :compile
         | 
| 94 94 | 
             
              desc "Run all specs"
         | 
| 95 | 
            -
              task :specs => TEST_DEPS do
         | 
| 95 | 
            +
              task :specs, [:options] => TEST_DEPS do |t, args|
         | 
| 96 96 | 
             
                ENV["MRI_FFI"] = "1"
         | 
| 97 | 
            -
                sh %{#{Gem.ruby} -w -Ilib -I#{BUILD_EXT_DIR} -S rspec #{Dir["spec/ffi/*_spec.rb"].join(" ")} -fs --color}
         | 
| 97 | 
            +
                sh %{#{Gem.ruby} -w -Ilib -I#{BUILD_EXT_DIR} -S rspec #{args.options || Dir["spec/ffi/*_spec.rb"].join(" ")} -fs --color}
         | 
| 98 98 | 
             
              end
         | 
| 99 99 | 
             
              desc "Run rubinius specs"
         | 
| 100 100 | 
             
              task :rbxspecs => TEST_DEPS do
         | 
| @@ -187,21 +187,21 @@ if USE_RAKE_COMPILER | |
| 187 187 |  | 
| 188 188 | 
             
              task 'gem:win32' => ['gem:win32-x64', 'gem:win32-i386']
         | 
| 189 189 |  | 
| 190 | 
            -
              task 'gem:win32- | 
| 191 | 
            -
                sh("rake cross native:i386-mingw32 gem RUBY_CC_VERSION='1.8.7:1.9.3:2.0.0:2.1. | 
| 190 | 
            +
              task 'gem:win32-i386' do
         | 
| 191 | 
            +
                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!")
         | 
| 192 192 | 
             
              end
         | 
| 193 193 |  | 
| 194 194 | 
             
              task 'gem:win32-x64' do
         | 
| 195 | 
            -
                sh("rake cross native:x64-mingw32 gem RUBY_CC_VERSION='2.0.0:2.1. | 
| 195 | 
            +
                sh("rake cross native:x64-mingw32 gem RUBY_CC_VERSION='2.0.0:2.1.5:2.2.1'") || raise("win32-x64 build failed!")
         | 
| 196 196 | 
             
              end
         | 
| 197 197 |  | 
| 198 | 
            -
              (ENV['RUBY_CC_VERSION'] || '1.8.7:1.9.3:2.0.0:2.1. | 
| 198 | 
            +
              (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|
         | 
| 199 199 | 
             
                task "copy:ffi_c:i386-mingw32:#{ruby_version}" do |t|
         | 
| 200 200 | 
             
                  sh "i686-w64-mingw32-strip -S #{BUILD_DIR}/i386-mingw32/stage/lib/#{ruby_version[/^\d+\.\d+/]}/ffi_c.so"
         | 
| 201 201 | 
             
                end
         | 
| 202 202 | 
             
              end
         | 
| 203 203 |  | 
| 204 | 
            -
              (ENV['RUBY_CC_VERSION'] || '2.0.0:2.1. | 
| 204 | 
            +
              (ENV['RUBY_CC_VERSION'] || '2.0.0:2.1.5:2.2.1' ).to_s.split(':').each do |ruby_version|
         | 
| 205 205 | 
             
                task "copy:ffi_c:x64-mingw32:#{ruby_version}" do |t|
         | 
| 206 206 | 
             
                  sh "x86_64-w64-mingw32-strip -S #{BUILD_DIR}/x64-mingw32/stage/lib/#{ruby_version[/^\d+\.\d+/]}/ffi_c.so"
         | 
| 207 207 | 
             
                end
         | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: ffi
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 1.9. | 
| 4 | 
            +
              version: 1.9.8
         | 
| 5 5 | 
             
            platform: java
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Wayne Meissner
         | 
| 8 8 | 
             
            autorequire:
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date:  | 
| 11 | 
            +
            date: 2015-03-16 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies: []
         | 
| 13 13 | 
             
            description: Ruby FFI library
         | 
| 14 14 | 
             
            email: wmeissner@gmail.com
         | 
| @@ -16,8 +16,8 @@ executables: [] | |
| 16 16 | 
             
            extensions: []
         | 
| 17 17 | 
             
            extra_rdoc_files: []
         | 
| 18 18 | 
             
            files:
         | 
| 19 | 
            -
            - LICENSE
         | 
| 20 19 | 
             
            - COPYING
         | 
| 20 | 
            +
            - LICENSE
         | 
| 21 21 | 
             
            - README.md
         | 
| 22 22 | 
             
            - Rakefile
         | 
| 23 23 | 
             
            homepage: http://wiki.github.com/ffi/ffi
         | 
| @@ -40,7 +40,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement | |
| 40 40 | 
             
                  version: '0'
         | 
| 41 41 | 
             
            requirements: []
         | 
| 42 42 | 
             
            rubyforge_project:
         | 
| 43 | 
            -
            rubygems_version: 2. | 
| 43 | 
            +
            rubygems_version: 2.4.5
         | 
| 44 44 | 
             
            signing_key:
         | 
| 45 45 | 
             
            specification_version: 4
         | 
| 46 46 | 
             
            summary: Ruby FFI
         |