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.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/Rakefile +30 -8
- metadata +13 -13
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 99fa1c01cfe640253c0790aecd9912f574d0a545
|
4
|
+
data.tar.gz: 06d5fe82d4fd943d649873db4ff475a77c3b9fca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 87043ccf7ba86777390240225bb6037fa06f648c99732d60c6c9478ffdc354b6e4fb79aa0989cd6d7459add92c41832a173710448a3d9a3572325c1585672f2b
|
7
|
+
data.tar.gz: f01625a635a1486c0bd4c128734483bea9c1da608d9e8e2c77020bb3a58f60d96a05a30ae58710493f907684bab49ac2870b2a7c218b1157e7a215f3517270f9
|
checksums.yaml.gz.sig
CHANGED
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
|
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 => :
|
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.
|
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 "
|
182
|
-
sh "i686-w64-mingw32-strip -S
|
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 "
|
186
|
-
sh "x86_64-w64-mingw32-strip -S
|
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.
|
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
|
-
|
13
|
+
MIIDPDCCAiSgAwIBAgIBAzANBgkqhkiG9w0BAQUFADBEMQ0wCwYDVQQDDARsYXJz
|
14
14
|
MR8wHQYKCZImiZPyLGQBGRYPZ3JlaXotcmVpbnNkb3JmMRIwEAYKCZImiZPyLGQB
|
15
|
-
|
15
|
+
GRYCZGUwHhcNMTYwNjI1MTUyOTE0WhcNMTcwNjI1MTUyOTE0WjBEMQ0wCwYDVQQD
|
16
16
|
DARsYXJzMR8wHQYKCZImiZPyLGQBGRYPZ3JlaXotcmVpbnNkb3JmMRIwEAYKCZIm
|
17
17
|
iZPyLGQBGRYCZGUwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDZb4Uv
|
18
18
|
RFJfRu/VEWiy3psh2jinETjiuBrL0NeRFGf8H7iU9+gx/DI/FFhfHGLrDeIskrJx
|
@@ -22,14 +22,14 @@ cert_chain:
|
|
22
22
|
LMO2vULHKKHDdX54K/sbVCj9pN9h1aotNzrEyo55zxn0G9PHg/G3P8nMvAXPkUTe
|
23
23
|
brhXrfCwWRvOXA4TAgMBAAGjOTA3MAkGA1UdEwQCMAAwCwYDVR0PBAQDAgSwMB0G
|
24
24
|
A1UdDgQWBBRAHK81igrXodaDj8a8/BIKsaZrETANBgkqhkiG9w0BAQUFAAOCAQEA
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
25
|
+
q2VlqIpcq21tixYN4SvBjHbFlZ3Ji8ibEqAF5LnECFgTKHZHLC32Uz3rxrHQpuQm
|
26
|
+
ZlzQY8fDCsGc0lh6YrHbUGg7BoDyTJnRMGBnXGHHsXSIYpmC7x+qAxp8xf1AvvEl
|
27
|
+
kmcb7LJN+2QzrpgJmDpNIPJMejM5NOvg1e+qvpNWpOf1u/S0HMpw4u4I99wbiZSo
|
28
|
+
ZQVoPQLB5AFRh5V3qOk6/qF1TxIAQl+OEqUGT7UWv2XYYaZS2FLbK8MqRyWzAYSc
|
29
|
+
PizTJCem24R2bzZN5VGvA5tpqgwytgcFq1PZofgFxK2uKPCS+tmsA8wIjjGzFsnR
|
30
|
+
WfgqWGyHn5K4wejsMic/uA==
|
31
31
|
-----END CERTIFICATE-----
|
32
|
-
date:
|
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.
|
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
|