ffi-yajl 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +13 -5
- data/lib/ffi_yajl/ext.rb +2 -0
- data/lib/ffi_yajl/ffi.rb +1 -0
- data/lib/ffi_yajl/version.rb +1 -1
- metadata +29 -15
checksums.yaml
CHANGED
@@ -1,7 +1,15 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
MzIyZGY5NmRiNDIxNjYyYmU5ZDBiODNkYTA1MDAyNmNhNTljOTg5Mw==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
NGMwNTUzOGE5NTEyYWZiMTY1NjhjNTU3NTI2MmQzYTU0M2ViMzQ4Mw==
|
5
7
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
Zjk3YTgxY2NmY2Y3YWRjYjAyZmUwN2YzYjhlMjYxOWI3ZTY0NTAyZmZiZmEx
|
10
|
+
NzNmNWFlZjM5NzQzZTNiMjE1YTdiMWFiOWZlYTM3OTAzZjcyZjdkMWUyZTg1
|
11
|
+
NDhkZTIwMjQwMjUzYTllZGQ1ZGJmZDMzOTAyYTAxNWM5MGMxMWI=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
OTUwYzlmZDQ2NDMwNWUzOWYwOTNkYzMwNmM0M2IwYjRmMTk3NjAxZTk2NjUx
|
14
|
+
OWY4OTIxODU5ZjI0MWFkNzk1ODI2NWQxNzViMDNiZDE4ZGFmNjNiZTI1MGRl
|
15
|
+
MDY1NTFlZWUxODVkNGNkMjVmY2U4ZDU0NTI0NDY3ZmM3YTg5NTE=
|
data/lib/ffi_yajl/ext.rb
CHANGED
@@ -12,6 +12,7 @@ module FFI_Yajl
|
|
12
12
|
# FIXME: DRY with ffi_yajl/ffi.rb
|
13
13
|
libname = ::FFI.map_library_name("yajl")
|
14
14
|
libpath = File.expand_path(File.join(Libyajl2.opt_path, libname))
|
15
|
+
libpath.gsub!(/dylib/, 'bundle')
|
15
16
|
::DL.dlopen(libpath)
|
16
17
|
require 'ffi_yajl/ext/parser'
|
17
18
|
include FFI_Yajl::Ext::Parser
|
@@ -21,6 +22,7 @@ module FFI_Yajl
|
|
21
22
|
# FIXME: DRY with ffi_yajl/ffi.rb
|
22
23
|
libname = ::FFI.map_library_name("yajl")
|
23
24
|
libpath = File.expand_path(File.join(Libyajl2.opt_path, libname))
|
25
|
+
libpath.gsub!(/dylib/, 'bundle')
|
24
26
|
::DL.dlopen(libpath)
|
25
27
|
require 'ffi_yajl/ext/encoder'
|
26
28
|
include FFI_Yajl::Ext::Encoder
|
data/lib/ffi_yajl/ffi.rb
CHANGED
data/lib/ffi_yajl/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ffi-yajl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lamont Granquist
|
@@ -14,84 +14,98 @@ dependencies:
|
|
14
14
|
name: rake
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ~>
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '10.1'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ~>
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '10.1'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rspec
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ~>
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '2.14'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ~>
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '2.14'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: pry
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ~>
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '0.9'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ~>
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0.9'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rake-compiler
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - ~>
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: 0.8.3
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- -
|
66
|
+
- - ~>
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: 0.8.3
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: mime-types
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ~>
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '1.16'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ~>
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '1.16'
|
69
83
|
- !ruby/object:Gem::Dependency
|
70
84
|
name: ffi
|
71
85
|
requirement: !ruby/object:Gem::Requirement
|
72
86
|
requirements:
|
73
|
-
- -
|
87
|
+
- - ~>
|
74
88
|
- !ruby/object:Gem::Version
|
75
89
|
version: '1.9'
|
76
90
|
type: :runtime
|
77
91
|
prerelease: false
|
78
92
|
version_requirements: !ruby/object:Gem::Requirement
|
79
93
|
requirements:
|
80
|
-
- -
|
94
|
+
- - ~>
|
81
95
|
- !ruby/object:Gem::Version
|
82
96
|
version: '1.9'
|
83
97
|
- !ruby/object:Gem::Dependency
|
84
98
|
name: libyajl2
|
85
99
|
requirement: !ruby/object:Gem::Requirement
|
86
100
|
requirements:
|
87
|
-
- -
|
101
|
+
- - ! '>='
|
88
102
|
- !ruby/object:Gem::Version
|
89
103
|
version: '0'
|
90
104
|
type: :runtime
|
91
105
|
prerelease: false
|
92
106
|
version_requirements: !ruby/object:Gem::Requirement
|
93
107
|
requirements:
|
94
|
-
- -
|
108
|
+
- - ! '>='
|
95
109
|
- !ruby/object:Gem::Version
|
96
110
|
version: '0'
|
97
111
|
description: Ruby FFI wrapper around YAJL 2.x
|
@@ -157,12 +171,12 @@ require_paths:
|
|
157
171
|
- lib
|
158
172
|
required_ruby_version: !ruby/object:Gem::Requirement
|
159
173
|
requirements:
|
160
|
-
- -
|
174
|
+
- - ! '>='
|
161
175
|
- !ruby/object:Gem::Version
|
162
176
|
version: '0'
|
163
177
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
164
178
|
requirements:
|
165
|
-
- -
|
179
|
+
- - ! '>='
|
166
180
|
- !ruby/object:Gem::Version
|
167
181
|
version: '0'
|
168
182
|
requirements: []
|