ffi 1.9.21-java → 1.9.22-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 +1 -0
- data/README.md +1 -1
- data/Rakefile +28 -3
- metadata +29 -8
- metadata.gz.sig +2 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c2dfe8d550faeca39108226e8c3507946460b6c8
|
4
|
+
data.tar.gz: d63dcde968af7447bae99db63736fdbaa31af433
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5cd6297851a62b8317545c0a6360e028c42239c86505ac733b8b83e311cf57d957d71dc77f03a602a50eebc9bd99aaeda228f7015bba497e4a8766175741c1e3
|
7
|
+
data.tar.gz: c4432d3a6424af68484fc17a20e1da09d750a2d2cf59203e1772b198055400aaab3169d361119b550c7286cf37ec5d96749f8f1de4f04b2594c02f4ac3cae9e7
|
checksums.yaml.gz.sig
ADDED
Binary file
|
data.tar.gz.sig
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
��#��f�'���\��q`�رD���M�ዄF��3m������=F���O�֧�ߝ�cG ��5�EQ���f��41�]"2�#��b�-1��2�k*C9���?��-{ׅ��D�kY%N���,>]��u��� �5fk܉�t�9!��=��zE�[��0a{�!8��]eI�t�a�5�#��QZ͏�_�x�0�.r�z��ި;a1ex��a���Iӷ�R�8�x��W�!s�+S�$��t$+|
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# ruby-ffi https://wiki.github.com/ffi/ffi [![Build Status](https://travis-ci.org/ffi/ffi.png?branch=master)](https://travis-ci.org/ffi/ffi)
|
1
|
+
# ruby-ffi https://wiki.github.com/ffi/ffi [![Build Status](https://travis-ci.org/ffi/ffi.png?branch=master)](https://travis-ci.org/ffi/ffi) [![Build status Windows](https://ci.appveyor.com/api/projects/status/r8wxn1sd4s794gg1/branch/master?svg=true)](https://ci.appveyor.com/project/larskanis/ffi-aofqa/branch/master)
|
2
2
|
|
3
3
|
## Description
|
4
4
|
|
data/Rakefile
CHANGED
@@ -100,7 +100,7 @@ else
|
|
100
100
|
end
|
101
101
|
|
102
102
|
desc "Build all packages"
|
103
|
-
task :package =>
|
103
|
+
task :package => %w[ gem:java gem:windows ]
|
104
104
|
|
105
105
|
CLOBBER.include 'lib/ffi/types.conf'
|
106
106
|
CLOBBER.include 'pkg'
|
@@ -184,10 +184,11 @@ if USE_RAKE_COMPILER
|
|
184
184
|
ext.tmp_dir = BUILD_DIR # temporary folder used during compilation.
|
185
185
|
ext.cross_compile = true # enable cross compilation (requires cross compile toolchain)
|
186
186
|
ext.cross_platform = %w[i386-mingw32 x64-mingw32] # forces the Windows platform instead of the default one
|
187
|
+
ext.cross_compiling do |spec|
|
188
|
+
spec.files.reject! { |path| File.fnmatch?('ext/*', path) }
|
189
|
+
end
|
187
190
|
end
|
188
191
|
|
189
|
-
ENV['RUBY_CC_VERSION'] ||= '1.9.3:2.0.0:2.1.6:2.2.2:2.3.0'
|
190
|
-
|
191
192
|
# To reduce the gem file size strip mingw32 dlls before packaging
|
192
193
|
ENV['RUBY_CC_VERSION'].to_s.split(':').each do |ruby_version|
|
193
194
|
task "build/i386-mingw32/stage/lib/#{ruby_version[/^\d+\.\d+/]}/ffi_c.so" do |t|
|
@@ -206,6 +207,30 @@ if USE_RAKE_COMPILER
|
|
206
207
|
end
|
207
208
|
end
|
208
209
|
|
210
|
+
directory "ext/ffi_c/libffi"
|
211
|
+
file "ext/ffi_c/libffi/autogen.sh" => "ext/ffi_c/libffi" do
|
212
|
+
warn "Downloading libffi ..."
|
213
|
+
sh "git submodule update --init --recursive"
|
214
|
+
end
|
215
|
+
|
216
|
+
LIBFFI_GIT_FILES = `git --git-dir ext/ffi_c/libffi/.git ls-files -z`.split("\x0")
|
217
|
+
|
218
|
+
# Generate files in gemspec but not in libffi's git repo by running autogen.sh
|
219
|
+
gem_spec.files.select do |f|
|
220
|
+
f =~ /ext\/ffi_c\/libffi\/(.*)/ && !LIBFFI_GIT_FILES.include?($1)
|
221
|
+
end.each do |f|
|
222
|
+
file f => "ext/ffi_c/libffi/autogen.sh" do
|
223
|
+
chdir "ext/ffi_c/libffi" do
|
224
|
+
sh "sh ./autogen.sh"
|
225
|
+
end
|
226
|
+
touch f
|
227
|
+
if gem_spec.files != Gem::Specification.load('./ffi.gemspec').files
|
228
|
+
warn "gemspec files have changed -> Please restart rake!"
|
229
|
+
exit 1
|
230
|
+
end
|
231
|
+
end
|
232
|
+
end
|
233
|
+
|
209
234
|
$LOAD_PATH.unshift File.join(File.dirname(__FILE__), 'lib')
|
210
235
|
require 'ffi/platform'
|
211
236
|
types_conf = File.expand_path(File.join(FFI::Platform::CONF_DIR, 'types.conf'))
|
metadata
CHANGED
@@ -1,14 +1,35 @@
|
|
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.22
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Wayne Meissner
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
|
-
cert_chain:
|
11
|
-
|
10
|
+
cert_chain:
|
11
|
+
- |
|
12
|
+
-----BEGIN CERTIFICATE-----
|
13
|
+
MIIDPDCCAiSgAwIBAgIBAzANBgkqhkiG9w0BAQUFADBEMQ0wCwYDVQQDDARsYXJz
|
14
|
+
MR8wHQYKCZImiZPyLGQBGRYPZ3JlaXotcmVpbnNkb3JmMRIwEAYKCZImiZPyLGQB
|
15
|
+
GRYCZGUwHhcNMTcwNDA0MTgyNDE1WhcNMTgwNDA0MTgyNDE1WjBEMQ0wCwYDVQQD
|
16
|
+
DARsYXJzMR8wHQYKCZImiZPyLGQBGR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018-02-22 00:00:00.000000000 Z
|
12
33
|
dependencies: []
|
13
34
|
description: Ruby FFI library
|
14
35
|
email: wmeissner@gmail.com
|
@@ -24,7 +45,7 @@ homepage: http://wiki.github.com/ffi/ffi
|
|
24
45
|
licenses:
|
25
46
|
- BSD-3-Clause
|
26
47
|
metadata: {}
|
27
|
-
post_install_message:
|
48
|
+
post_install_message:
|
28
49
|
rdoc_options: []
|
29
50
|
require_paths:
|
30
51
|
- lib
|
@@ -39,9 +60,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
39
60
|
- !ruby/object:Gem::Version
|
40
61
|
version: '0'
|
41
62
|
requirements: []
|
42
|
-
rubyforge_project:
|
43
|
-
rubygems_version: 2.
|
44
|
-
signing_key:
|
63
|
+
rubyforge_project:
|
64
|
+
rubygems_version: 2.6.11
|
65
|
+
signing_key:
|
45
66
|
specification_version: 4
|
46
67
|
summary: Ruby FFI
|
47
68
|
test_files: []
|
metadata.gz.sig
ADDED