oj 2.12.7 → 2.12.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -2
- data/ext/oj/oj.c +1 -0
- data/lib/oj/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 211f8618f0580f088dc0d3726d8bd16c8441376c
|
4
|
+
data.tar.gz: 3083392af9c79d40c3ad31630499bd635eac9403
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fad430685dd17c59116ab48c83c859220414c82ea88e8d9e08c843fa7e5bb454cb3b34c2e3e4a4ad853a8bdbaffaae4a4cfb1700d6a1c572ab4d3f72e0498ce2
|
7
|
+
data.tar.gz: 534fc7da1361141266dbda73621c0524068c73b584803e4d26265a16b096489ee52d96a657f04854f71f74ef86a831707eb53b3d59aaf0cbad9e305f2bd31d97
|
data/README.md
CHANGED
@@ -26,9 +26,10 @@ Follow [@peterohler on Twitter](http://twitter.com/#!/peterohler) for announceme
|
|
26
26
|
|
27
27
|
[![Build Status](https://secure.travis-ci.org/ohler55/oj.png?branch=master)](http://travis-ci.org/ohler55/oj)
|
28
28
|
|
29
|
-
## Release 2.12.
|
29
|
+
## Release 2.12.8
|
30
30
|
|
31
|
-
-
|
31
|
+
- mimic_JSON now supports the global/kernel JSON function that will either
|
32
|
+
parse a string argument or dump an array or object argument.
|
32
33
|
|
33
34
|
[Older release notes](http://www.ohler.com/dev/oj_misc/release_notes.html).
|
34
35
|
|
data/ext/oj/oj.c
CHANGED
@@ -1859,6 +1859,7 @@ define_mimic_json(int argc, VALUE *argv, VALUE self) {
|
|
1859
1859
|
mimic = rb_const_get_at(rb_cObject, rb_intern("JSON"));
|
1860
1860
|
} else {
|
1861
1861
|
mimic = rb_define_module("JSON");
|
1862
|
+
rb_define_module_function(rb_cObject, "JSON", mimic_dump_load, -1);
|
1862
1863
|
}
|
1863
1864
|
if (rb_const_defined_at(mimic, rb_intern("Ext"))) {
|
1864
1865
|
ext = rb_const_get_at(mimic, rb_intern("Ext"));
|
data/lib/oj/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: oj
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.12.
|
4
|
+
version: 2.12.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Ohler
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-05-
|
11
|
+
date: 2015-05-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake-compiler
|