ffi-yajl 2.2.3 → 2.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d781f4b2a16bfdf584c9e5e18aacc4acead4e2d1
4
- data.tar.gz: b983d62ab1c69061965c697c28d4a2f3eb903fff
3
+ metadata.gz: 793837251dd5609ab348285f956c0191ee34d2c6
4
+ data.tar.gz: 9bba3ff9225e7e6efae97f8b87ed696853e82532
5
5
  SHA512:
6
- metadata.gz: 3ff1a41b3526497a2c8b76ddba312121973aa1191d968e284ca084c96db7c243dc38f01443de87c0673565f09a68604586e0a036732fbda6a18dda24d590f524
7
- data.tar.gz: ab3ac6089aa276b4937ec8c51cffc76800e1595d17b40c6449df7cd30edeeba27959c87a34ed1fea658c6b8a1fbbbc4198591748630a4c6c8e7123de2f182f5d
6
+ metadata.gz: 5b8a7b78b589d5086801b862f76128ca41e34d8d039c1576e7315947230b79148228f5bf66d5ee80ab22eb56aa32c7cc41831bc728ab4477bf767554a476b5be
7
+ data.tar.gz: 0b13b996ace1523cd8fbffcb84cc2a5f1b06132f9ec34be19643911411256d9abe1f2b8d7fffe09d6da37554077d9c6efc0ff5c28f4cb553532010a4b7297481
data/Rakefile CHANGED
@@ -12,6 +12,7 @@ Dir[File.expand_path("../*gemspec", __FILE__)].reverse_each do |gemspec_path|
12
12
  end
13
13
 
14
14
  GitHubChangelogGenerator::RakeTask.new :changelog do |config|
15
+ config.issues = false
15
16
  config.since_tag = '1.0.1'
16
17
  config.exclude_labels = %w{duplicate question invalid wontfix changelog_skip}
17
18
  end
@@ -377,8 +377,12 @@ void Init_encoder() {
377
377
  rb_define_method(rb_cNilClass, "ffi_yajl", rb_cNilClass_ffi_yajl, 2);
378
378
  rb_define_method(rb_cTrueClass, "ffi_yajl", rb_cTrueClass_ffi_yajl, 2);
379
379
  rb_define_method(rb_cFalseClass, "ffi_yajl", rb_cFalseClass_ffi_yajl, 2);
380
+ #ifdef rb_cFixnum /* ruby < 2.4 */
380
381
  rb_define_method(rb_cFixnum, "ffi_yajl", rb_cFixnum_ffi_yajl, 2);
381
382
  rb_define_method(rb_cBignum, "ffi_yajl", rb_cBignum_ffi_yajl, 2);
383
+ #else
384
+ rb_define_method(rb_cInteger, "ffi_yajl", rb_cFixnum_ffi_yajl, 2);
385
+ #endif
382
386
  rb_define_method(rb_cFloat, "ffi_yajl", rb_cFloat_ffi_yajl, 2);
383
387
  rb_define_method(rb_cString, "ffi_yajl", rb_cString_ffi_yajl, 2);
384
388
  rb_define_method(rb_cSymbol, "ffi_yajl", rb_cSymbol_ffi_yajl, 2);
@@ -21,5 +21,5 @@
21
21
  # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22
22
 
23
23
  module FFI_Yajl
24
- VERSION = "2.2.3"
24
+ VERSION = "2.3.0"
25
25
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ffi-yajl
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.3
4
+ version: 2.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lamont Granquist
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-07 00:00:00.000000000 Z
11
+ date: 2016-07-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -58,28 +58,42 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 0.8.3
61
+ version: '1.0'
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
- version: 0.8.3
68
+ version: '1.0'
69
69
  - !ruby/object:Gem::Dependency
70
- name: mime-types
70
+ name: rack
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '1.16'
75
+ version: '1.0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '1.16'
82
+ version: '1.0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: activesupport
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '4.0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '4.0'
83
97
  - !ruby/object:Gem::Dependency
84
98
  name: libyajl2
85
99
  requirement: !ruby/object:Gem::Requirement
@@ -177,7 +191,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
177
191
  requirements:
178
192
  - - ">="
179
193
  - !ruby/object:Gem::Version
180
- version: 1.9.3
194
+ version: '2.1'
181
195
  required_rubygems_version: !ruby/object:Gem::Requirement
182
196
  requirements:
183
197
  - - ">="
@@ -185,7 +199,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
185
199
  version: '0'
186
200
  requirements: []
187
201
  rubyforge_project:
188
- rubygems_version: 2.4.8
202
+ rubygems_version: 2.6.4
189
203
  signing_key:
190
204
  specification_version: 4
191
205
  summary: Ruby FFI wrapper around YAJL 2.x