json_pure 1.8.5 → 1.8.6

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: 82bc88d9e5afaffd558ed7f2c88883aff647f4c7
4
- data.tar.gz: 87c506de4cf87feafa319b163c1a6d9003f55560
3
+ metadata.gz: 2305f5c89bd4a1cf387dffd95f5ba2e70ab44373
4
+ data.tar.gz: 121263628f4d96edae9a0ee64523788ad75fba1d
5
5
  SHA512:
6
- metadata.gz: 27f0f711bebcf336039ea88125990ce8502ab0cca9dc3ca9ec755b2f450880d472c17442f4e25baa728cb0bdf7125c00e97a834f763e7ab5ebb0673a0c641dcb
7
- data.tar.gz: ce9f3d42f35845b76d23ea8614907853413629e8e0293bd404884936cfec42a5194669ae109aa9f7ca09692001361f328402b02054097a470ebe921ade151760
6
+ metadata.gz: de51849b6a5caaa5df888271312677d82d1a5768d214d3d96bb09c72b10e864a3e0f02c080871bd5fe67385286d50d8490ceed9deeb1763ed0e85d04b374d437
7
+ data.tar.gz: 73903f9cb49b8cc9cb58dd90c1627514ebfb15789548e089a58635eaff598c44aadfbd8e98f0e6d4d197d5d727568fb44a0176c24dfe28ab67e1e2fd1a940392
data/CHANGES CHANGED
@@ -1,4 +1,7 @@
1
+ 2017-01-13 (1.8.6)
2
+ * Be compatible with ancient ruby 1.8 (maybe?)
1
3
  2015-09-11 (1.8.5)
4
+ * Be compatible with ruby 2.4.0
2
5
  * There were still some mentions of dual GPL licensing in the source, but JSON
3
6
  has just the Ruby license that itself includes an explicit dual-licensing
4
7
  clause that allows covered software to be distributed under the terms of
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.8.5
1
+ 1.8.6
@@ -21,6 +21,10 @@
21
21
  #define rb_obj_instance_variables(object) rb_funcall(object, rb_intern("instance_variables"), 0)
22
22
  #endif
23
23
 
24
+ #ifndef RB_TYPE_P
25
+ #define RB_TYPE_P(obj, type) (rb_type(obj) == type)
26
+ #endif
27
+
24
28
  #define option_given_p(opts, key) RTEST(rb_funcall(opts, i_key_p, 1, key))
25
29
 
26
30
  /* unicode definitions */
Binary file
@@ -1,14 +1,14 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # stub: json_pure 1.8.5 ruby lib
2
+ # stub: json_pure 1.8.6 ruby lib
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "json_pure".freeze
6
- s.version = "1.8.5"
6
+ s.version = "1.8.6"
7
7
 
8
8
  s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
9
9
  s.require_paths = ["lib".freeze]
10
10
  s.authors = ["Florian Frank".freeze]
11
- s.date = "2017-01-12"
11
+ s.date = "2017-01-13"
12
12
  s.description = "This is a JSON implementation in pure Ruby.".freeze
13
13
  s.email = "flori@ping.de".freeze
14
14
  s.extra_rdoc_files = ["README.md".freeze]
@@ -1,6 +1,6 @@
1
1
  module JSON
2
2
  # JSON version
3
- VERSION = '1.8.5'
3
+ VERSION = '1.8.6'
4
4
  VERSION_ARRAY = VERSION.split(/\./).map { |x| x.to_i } # :nodoc:
5
5
  VERSION_MAJOR = VERSION_ARRAY[0] # :nodoc:
6
6
  VERSION_MINOR = VERSION_ARRAY[1] # :nodoc:
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: json_pure
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.5
4
+ version: 1.8.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Florian Frank
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-12 00:00:00.000000000 Z
11
+ date: 2017-01-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake