ffi 1.9.10-java → 1.9.13-java

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of ffi might be problematic. Click here for more details.

Files changed (6) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +0 -0
  3. data.tar.gz.sig +0 -0
  4. data/Rakefile +30 -8
  5. metadata +13 -13
  6. metadata.gz.sig +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4746bdced98780de08a0438a230a6e3e1856070a
4
- data.tar.gz: f30937056b9c49603ad2e0bf1303337699575f0b
3
+ metadata.gz: 99fa1c01cfe640253c0790aecd9912f574d0a545
4
+ data.tar.gz: 06d5fe82d4fd943d649873db4ff475a77c3b9fca
5
5
  SHA512:
6
- metadata.gz: 339ef7acee1a05d6e5892897cb232a00bf65d9b666bf2cb3ee71c741d9f7b54692b15c81f9dfe9cd38007fad4e7ae59085511aa23bdd222dd2ccf6f045816a98
7
- data.tar.gz: 3d3ea86c3bbda14bc14607070d7a42123f71c33725d231190415c370351603dd571e452756efe92195eb87429027d47c6c566d9123e2950e1b3b5da56048288a
6
+ metadata.gz: 87043ccf7ba86777390240225bb6037fa06f648c99732d60c6c9478ffdc354b6e4fb79aa0989cd6d7459add92c41832a173710448a3d9a3572325c1585672f2b
7
+ data.tar.gz: f01625a635a1486c0bd4c128734483bea9c1da608d9e8e2c77020bb3a58f60d96a05a30ae58710493f907684bab49ac2870b2a7c218b1157e7a215f3517270f9
Binary file
data.tar.gz.sig CHANGED
Binary file
data/Rakefile CHANGED
@@ -93,13 +93,13 @@ task :package => 'gem:package'
93
93
 
94
94
  CLOBBER.include 'lib/ffi/types.conf'
95
95
  CLOBBER.include 'pkg'
96
+ CLOBBER.include 'log'
96
97
 
97
98
  CLEAN.include 'build'
98
99
  CLEAN.include 'conftest.dSYM'
99
100
  CLEAN.include 'spec/ffi/fixtures/libtest.{dylib,so,dll}'
100
101
  CLEAN.include 'spec/ffi/fixtures/*.o'
101
- CLEAN.include "pkg/ffi-#{FFI::VERSION}-*-mingw32"
102
- CLEAN.include "pkg/ffi-#{FFI::VERSION}-java"
102
+ CLEAN.include "pkg/ffi-*-{mingw32,java}"
103
103
  CLEAN.include 'lib/1.*'
104
104
  CLEAN.include 'lib/2.*'
105
105
  CLEAN.include 'bin'
@@ -138,7 +138,7 @@ end
138
138
  task 'spec:run' => TEST_DEPS
139
139
  task 'spec:specdoc' => TEST_DEPS
140
140
 
141
- task :default => :specs
141
+ task :default => :spec
142
142
 
143
143
  namespace 'java' do
144
144
 
@@ -175,15 +175,16 @@ if USE_RAKE_COMPILER
175
175
  ext.cross_platform = %w[i386-mingw32 x64-mingw32] # forces the Windows platform instead of the default one
176
176
  end
177
177
 
178
- ENV['RUBY_CC_VERSION'] ||= '1.8.7:1.9.3:2.0.0:2.1.5:2.2.1'
178
+ ENV['RUBY_CC_VERSION'] ||= '1.8.7:1.9.3:2.0.0:2.1.6:2.2.2:2.3.0'
179
179
 
180
+ # To reduce the gem file size strip mingw32 dlls before packaging
180
181
  ENV['RUBY_CC_VERSION'].to_s.split(':').each do |ruby_version|
181
- task "copy:ffi_c:i386-mingw32:#{ruby_version}" do |t|
182
- sh "i686-w64-mingw32-strip -S #{BUILD_DIR}/i386-mingw32/stage/lib/#{ruby_version[/^\d+\.\d+/]}/ffi_c.so"
182
+ task "build/i386-mingw32/stage/lib/#{ruby_version[/^\d+\.\d+/]}/ffi_c.so" do |t|
183
+ sh "i686-w64-mingw32-strip -S build/i386-mingw32/stage/lib/#{ruby_version[/^\d+\.\d+/]}/ffi_c.so"
183
184
  end
184
185
 
185
- task "copy:ffi_c:x64-mingw32:#{ruby_version}" do |t|
186
- sh "x86_64-w64-mingw32-strip -S #{BUILD_DIR}/x64-mingw32/stage/lib/#{ruby_version[/^\d+\.\d+/]}/ffi_c.so"
186
+ task "build/x64-mingw32/stage/lib/#{ruby_version[/^\d+\.\d+/]}/ffi_c.so" do |t|
187
+ sh "x86_64-w64-mingw32-strip -S build/x64-mingw32/stage/lib/#{ruby_version[/^\d+\.\d+/]}/ffi_c.so"
187
188
  end
188
189
  end
189
190
 
@@ -194,6 +195,27 @@ if USE_RAKE_COMPILER
194
195
  end
195
196
  end
196
197
 
198
+ $LOAD_PATH.unshift File.join(File.dirname(__FILE__), 'lib')
199
+ require 'ffi/platform'
200
+ types_conf = File.expand_path(File.join(FFI::Platform::CONF_DIR, 'types.conf'))
201
+ logfile = File.join(File.dirname(__FILE__), 'types_log')
202
+
203
+ file types_conf => File.join("lib", "ffi", "version.rb") do |task|
204
+ require 'fileutils'
205
+ require 'ffi/tools/types_generator'
206
+ options = {}
207
+ FileUtils.mkdir_p(File.dirname(task.name), { :mode => 0755 })
208
+ File.open(task.name, File::CREAT|File::TRUNC|File::RDWR, 0644) do |f|
209
+ f.puts FFI::TypesGenerator.generate(options)
210
+ end
211
+ File.open(logfile, 'w') do |log|
212
+ log.puts(types_conf)
213
+ end
214
+ end
215
+
216
+ task :types_conf => types_conf do
217
+ end
218
+
197
219
  Gem::Tasks.new do |t|
198
220
  t.scm.tag.format = '%s'
199
221
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ffi
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.10
4
+ version: 1.9.13
5
5
  platform: java
6
6
  authors:
7
7
  - Wayne Meissner
@@ -10,9 +10,9 @@ bindir: bin
10
10
  cert_chain:
11
11
  - |
12
12
  -----BEGIN CERTIFICATE-----
13
- MIIDPDCCAiSgAwIBAgIBAjANBgkqhkiG9w0BAQUFADBEMQ0wCwYDVQQDDARsYXJz
13
+ MIIDPDCCAiSgAwIBAgIBAzANBgkqhkiG9w0BAQUFADBEMQ0wCwYDVQQDDARsYXJz
14
14
  MR8wHQYKCZImiZPyLGQBGRYPZ3JlaXotcmVpbnNkb3JmMRIwEAYKCZImiZPyLGQB
15
- GRYCZGUwHhcNMTUwMzEzMjAzMjExWhcNMTYwMzEyMjAzMjEx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gJmDpNIPJMejM5NOvg1e+qvpNWpOf1u/S0HMpw4u4I99wbiZSo
28
+ ZQVoPQLB5AFRh5V3qOk6/qF1TxIAQl+OEqUGT7UWv2XYYaZS2FLbK8MqRyWzAYSc
29
+ PizTJCem24R2bzZN5VGvA5tpqgwytgcFq1PZofgFxK2uKPCS+tmsA8wIjjGzFsnR
30
+ WfgqWGyHn5K4wejsMic/uA==
31
31
  -----END CERTIFICATE-----
32
- date: 2015-07-02 00:00:00.000000000 Z
32
+ date: 2016-07-09 00:00:00.000000000 Z
33
33
  dependencies: []
34
34
  description: Ruby FFI library
35
35
  email: wmeissner@gmail.com
@@ -51,17 +51,17 @@ require_paths:
51
51
  - lib
52
52
  required_ruby_version: !ruby/object:Gem::Requirement
53
53
  requirements:
54
- - - '>='
54
+ - - ">="
55
55
  - !ruby/object:Gem::Version
56
56
  version: '0'
57
57
  required_rubygems_version: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - '>='
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  requirements: []
63
63
  rubyforge_project:
64
- rubygems_version: 2.4.5
64
+ rubygems_version: 2.4.8
65
65
  signing_key:
66
66
  specification_version: 4
67
67
  summary: Ruby FFI
metadata.gz.sig CHANGED
Binary file