ffi 1.4.0-java → 1.5.0-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.
- data/Rakefile +10 -3
- metadata +38 -19
data/Rakefile
CHANGED
@@ -122,8 +122,7 @@ desc "Clean all built files"
|
|
122
122
|
task :distclean => :clobber do
|
123
123
|
FileUtils.rm_rf('build')
|
124
124
|
FileUtils.rm_rf(Dir["lib/**/ffi_c.#{RbConfig::CONFIG['DLEXT']}"])
|
125
|
-
FileUtils.rm_rf(
|
126
|
-
FileUtils.rm_rf('lib/1.9')
|
125
|
+
FileUtils.rm_rf(Dir["lib/**/ffi_c.so"])
|
127
126
|
FileUtils.rm_rf('lib/ffi/types.conf')
|
128
127
|
FileUtils.rm_rf('conftest.dSYM')
|
129
128
|
FileUtils.rm_rf('pkg')
|
@@ -165,7 +164,7 @@ task 'spec:specdoc' => TEST_DEPS
|
|
165
164
|
task :default => :specs
|
166
165
|
|
167
166
|
task 'gem:win32' do
|
168
|
-
sh("rake cross native gem RUBY_CC_VERSION='1.8.7:1.9.3'") || raise("win32 build failed!")
|
167
|
+
sh("rake cross native gem RUBY_CC_VERSION='1.8.7:1.9.3:2.0.0'") || raise("win32 build failed!")
|
169
168
|
end
|
170
169
|
|
171
170
|
|
@@ -203,6 +202,14 @@ if USE_RAKE_COMPILER
|
|
203
202
|
ext.cross_compile = true # enable cross compilation (requires cross compile toolchain)
|
204
203
|
ext.cross_platform = 'i386-mingw32' # forces the Windows platform instead of the default one
|
205
204
|
end
|
205
|
+
|
206
|
+
task 'copy:ffi_c:i386-mingw32:1.9.3' do |t|
|
207
|
+
sh "i686-w64-mingw32-strip -S lib/1.9/ffi_c.so"
|
208
|
+
end
|
209
|
+
|
210
|
+
task 'copy:ffi_c:i386-mingw32:2.0.0' do |t|
|
211
|
+
sh "i686-w64-mingw32-strip -S lib/2.0/ffi_c.so"
|
212
|
+
end
|
206
213
|
end
|
207
214
|
|
208
215
|
begin
|
metadata
CHANGED
@@ -1,22 +1,32 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: ffi
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 3
|
5
5
|
prerelease:
|
6
|
+
segments:
|
7
|
+
- 1
|
8
|
+
- 5
|
9
|
+
- 0
|
10
|
+
version: 1.5.0
|
6
11
|
platform: java
|
7
|
-
authors:
|
12
|
+
authors:
|
8
13
|
- Wayne Meissner
|
9
14
|
autorequire:
|
10
15
|
bindir: bin
|
11
16
|
cert_chain: []
|
12
|
-
|
17
|
+
|
18
|
+
date: 2013-03-26 00:00:00 Z
|
13
19
|
dependencies: []
|
20
|
+
|
14
21
|
description: Ruby FFI library
|
15
22
|
email: wmeissner@gmail.com
|
16
23
|
executables: []
|
24
|
+
|
17
25
|
extensions: []
|
26
|
+
|
18
27
|
extra_rdoc_files: []
|
19
|
-
|
28
|
+
|
29
|
+
files:
|
20
30
|
- History.txt
|
21
31
|
- LICENSE
|
22
32
|
- COPYING
|
@@ -24,28 +34,37 @@ files:
|
|
24
34
|
- README.md
|
25
35
|
- Rakefile
|
26
36
|
homepage: http://wiki.github.com/ffi/ffi
|
27
|
-
licenses:
|
37
|
+
licenses:
|
28
38
|
- LGPL-3
|
29
39
|
post_install_message:
|
30
40
|
rdoc_options: []
|
31
|
-
|
41
|
+
|
42
|
+
require_paths:
|
32
43
|
- lib
|
33
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
44
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
34
45
|
none: false
|
35
|
-
requirements:
|
36
|
-
- -
|
37
|
-
- !ruby/object:Gem::Version
|
38
|
-
|
39
|
-
|
46
|
+
requirements:
|
47
|
+
- - ">="
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
hash: 3
|
50
|
+
segments:
|
51
|
+
- 0
|
52
|
+
version: "0"
|
53
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
40
54
|
none: false
|
41
|
-
requirements:
|
42
|
-
- -
|
43
|
-
- !ruby/object:Gem::Version
|
44
|
-
|
55
|
+
requirements:
|
56
|
+
- - ">="
|
57
|
+
- !ruby/object:Gem::Version
|
58
|
+
hash: 3
|
59
|
+
segments:
|
60
|
+
- 0
|
61
|
+
version: "0"
|
45
62
|
requirements: []
|
63
|
+
|
46
64
|
rubyforge_project:
|
47
|
-
rubygems_version: 1.8.
|
65
|
+
rubygems_version: 1.8.24
|
48
66
|
signing_key:
|
49
67
|
specification_version: 3
|
50
68
|
summary: Ruby FFI
|
51
69
|
test_files: []
|
70
|
+
|