ffi 0.3.1 → 0.3.2
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.
- data/Rakefile +1 -1
- data/lib/ffi/library.rb +1 -1
- metadata +50 -50
data/Rakefile
CHANGED
|
@@ -31,7 +31,7 @@ PROJ.name = 'ffi'
|
|
|
31
31
|
PROJ.authors = 'Wayne Meissner'
|
|
32
32
|
PROJ.email = 'wmeissner@gmail.com'
|
|
33
33
|
PROJ.url = 'http://kenai.com/projects/ruby-ffi'
|
|
34
|
-
PROJ.version = '0.3.
|
|
34
|
+
PROJ.version = '0.3.2'
|
|
35
35
|
PROJ.rubyforge.name = 'ffi'
|
|
36
36
|
PROJ.readme_file = 'README.rdoc'
|
|
37
37
|
|
data/lib/ffi/library.rb
CHANGED
|
@@ -6,7 +6,7 @@ module FFI::Library
|
|
|
6
6
|
names.each do |name|
|
|
7
7
|
[ name, FFI.map_library_name(name) ].each do |libname|
|
|
8
8
|
begin
|
|
9
|
-
lib = FFI::DynamicLibrary.open(libname, FFI::DynamicLibrary::RTLD_LAZY | FFI::DynamicLibrary::
|
|
9
|
+
lib = FFI::DynamicLibrary.open(libname, FFI::DynamicLibrary::RTLD_LAZY | FFI::DynamicLibrary::RTLD_GLOBAL)
|
|
10
10
|
if lib
|
|
11
11
|
ffi_libs << lib
|
|
12
12
|
break
|
metadata
CHANGED
|
@@ -1,37 +1,34 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
autorequire:
|
|
9
|
-
bindir: bin
|
|
10
|
-
cert_chain: []
|
|
11
|
-
|
|
12
|
-
date: 2009-03-24 00:00:00 +10:00
|
|
13
|
-
default_executable:
|
|
14
|
-
dependencies:
|
|
15
|
-
- !ruby/object:Gem::Dependency
|
|
16
|
-
name: bones
|
|
17
|
-
type: :development
|
|
18
|
-
version_requirement:
|
|
19
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
20
|
-
requirements:
|
|
21
|
-
- - ">="
|
|
22
|
-
- !ruby/object:Gem::Version
|
|
23
|
-
version: 2.4.2
|
|
24
|
-
version:
|
|
25
|
-
description: A Ruby foreign function interface
|
|
2
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
3
|
+
requirements:
|
|
4
|
+
- - '>='
|
|
5
|
+
- !ruby/object:Gem::Version
|
|
6
|
+
version: "0"
|
|
7
|
+
version:
|
|
26
8
|
email: wmeissner@gmail.com
|
|
27
|
-
|
|
9
|
+
cert_chain: []
|
|
28
10
|
|
|
29
|
-
|
|
30
|
-
|
|
11
|
+
summary: A Ruby foreign function interface
|
|
12
|
+
post_install_message:
|
|
31
13
|
extra_rdoc_files:
|
|
32
14
|
- README.rdoc
|
|
33
15
|
- lib/ffi
|
|
34
16
|
- lib/ffi/tools
|
|
17
|
+
homepage: http://kenai.com/projects/ruby-ffi
|
|
18
|
+
signing_key:
|
|
19
|
+
name: ffi
|
|
20
|
+
rdoc_options:
|
|
21
|
+
- -x
|
|
22
|
+
- ext
|
|
23
|
+
- --main
|
|
24
|
+
- README.rdoc
|
|
25
|
+
autorequire:
|
|
26
|
+
rubyforge_project: ffi
|
|
27
|
+
executables: []
|
|
28
|
+
|
|
29
|
+
description: A Ruby foreign function interface
|
|
30
|
+
specification_version: 2
|
|
31
|
+
default_executable:
|
|
35
32
|
files:
|
|
36
33
|
- LICENSE
|
|
37
34
|
- README.rdoc
|
|
@@ -381,35 +378,38 @@ files:
|
|
|
381
378
|
- spec/ffi/union_spec.rb
|
|
382
379
|
- spec/ffi/variadic_spec.rb
|
|
383
380
|
- spec/spec.opts
|
|
384
|
-
has_rdoc: true
|
|
385
|
-
homepage: http://kenai.com/projects/ruby-ffi
|
|
386
|
-
post_install_message:
|
|
387
|
-
rdoc_options:
|
|
388
|
-
- -x
|
|
389
|
-
- ext
|
|
390
|
-
- --main
|
|
391
|
-
- README.rdoc
|
|
392
|
-
require_paths:
|
|
393
|
-
- lib
|
|
394
|
-
- ext
|
|
395
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
|
396
|
-
requirements:
|
|
397
|
-
- - ">="
|
|
398
|
-
- !ruby/object:Gem::Version
|
|
399
|
-
version: "0"
|
|
400
|
-
version:
|
|
401
381
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
402
382
|
requirements:
|
|
403
|
-
- -
|
|
383
|
+
- - '>='
|
|
404
384
|
- !ruby/object:Gem::Version
|
|
405
385
|
version: "0"
|
|
406
386
|
version:
|
|
387
|
+
extensions:
|
|
388
|
+
- ext/ffi_c/extconf.rb
|
|
389
|
+
rubygems_version: 1.3.1
|
|
407
390
|
requirements: []
|
|
408
391
|
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
summary: A Ruby foreign function interface
|
|
392
|
+
authors:
|
|
393
|
+
- Wayne Meissner
|
|
394
|
+
date: 2009-03-24 14:00:00 +00:00
|
|
395
|
+
platform: ruby
|
|
414
396
|
test_files: []
|
|
415
397
|
|
|
398
|
+
version: !ruby/object:Gem::Version
|
|
399
|
+
version: 0.3.2
|
|
400
|
+
require_paths:
|
|
401
|
+
- lib
|
|
402
|
+
- ext
|
|
403
|
+
dependencies:
|
|
404
|
+
- !ruby/object:Gem::Dependency
|
|
405
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
406
|
+
requirements:
|
|
407
|
+
- - '>='
|
|
408
|
+
- !ruby/object:Gem::Version
|
|
409
|
+
version: 2.4.2
|
|
410
|
+
version:
|
|
411
|
+
type: :development
|
|
412
|
+
version_requirement:
|
|
413
|
+
name: bones
|
|
414
|
+
bindir: bin
|
|
415
|
+
has_rdoc: true
|