ffi 1.2.1-java → 1.3.0-java
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.
Potentially problematic release.
This version of ffi might be problematic. Click here for more details.
- data/README.md +10 -5
- metadata +37 -18
data/README.md
CHANGED
@@ -22,9 +22,9 @@ using Ruby-FFI [here](http://wiki.github.com/ffi/ffi/why-use-ffi).
|
|
22
22
|
require 'ffi'
|
23
23
|
|
24
24
|
module MyLib
|
25
|
-
extend FFI::Library
|
26
|
-
ffi_lib 'c'
|
27
|
-
attach_function :puts, [ :string ], :int
|
25
|
+
extend FFI::Library
|
26
|
+
ffi_lib 'c'
|
27
|
+
attach_function :puts, [ :string ], :int
|
28
28
|
end
|
29
29
|
|
30
30
|
MyLib.puts 'Hello, World using libc!'
|
@@ -38,7 +38,10 @@ For less minimalistic and more sane examples you may look at:
|
|
38
38
|
|
39
39
|
## Requirements
|
40
40
|
|
41
|
-
|
41
|
+
You need a sane building environment in order to compile the extension.
|
42
|
+
At a minimum, you will need:
|
43
|
+
* A C compiler (e.g. Xcode on OSX, gcc on everything else)
|
44
|
+
* libffi development library - this is commonly in the libffi-dev or libffi-devel
|
42
45
|
|
43
46
|
## Installation
|
44
47
|
|
@@ -54,7 +57,9 @@ or from the git repository on github:
|
|
54
57
|
|
55
58
|
## License
|
56
59
|
|
57
|
-
|
60
|
+
The ffi library is covered by the LGPL3 license, also see the LICENSE file.
|
61
|
+
The specs are shared with Rubyspec and are licensed by the same license
|
62
|
+
as Rubyspec, see the LICENSE.SPECS file.
|
58
63
|
|
59
64
|
## Credits
|
60
65
|
|
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: 27
|
5
5
|
prerelease:
|
6
|
+
segments:
|
7
|
+
- 1
|
8
|
+
- 3
|
9
|
+
- 0
|
10
|
+
version: 1.3.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-01-08 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
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
|
+
|