json 1.8.5 → 1.8.6

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of json might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6ab2768f17ffed4013aab3fb606c07581e91ae56
4
- data.tar.gz: 87c506de4cf87feafa319b163c1a6d9003f55560
3
+ metadata.gz: b207450349d68bf8068396cae32ee1d687b91e18
4
+ data.tar.gz: 121263628f4d96edae9a0ee64523788ad75fba1d
5
5
  SHA512:
6
- metadata.gz: 94fdb049e1ab68c581c476dbeb2c1fa2d2254ae48637a9e60c8adbe307651ac129a3ea8c12dd2793db1f74dde88e5e745aeb4fdce3ec01584b62d6cd2a9c6b3f
7
- data.tar.gz: ce9f3d42f35845b76d23ea8614907853413629e8e0293bd404884936cfec42a5194669ae109aa9f7ca09692001361f328402b02054097a470ebe921ade151760
6
+ metadata.gz: 5c31ea2331922e0dd70bb0d018cf3e4c1da90b989d8f216444811ed3fd54dcc53e87ac16543dde8c2c1ead0026fe21a6411f6be01d08b1d8061ff74af1a81eb4
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
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