oj_mimic_json 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +7 -0
  2. data/lib/oj_mimic_json.rb +6 -0
  3. metadata +12 -13
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 3eea951329cdb7eddc0d15213fedde85e31d8e24
4
+ data.tar.gz: e790b4189e4c11dd0503954c29ffe1b61e8e2f9c
5
+ SHA512:
6
+ metadata.gz: a85e9e59552e2492d34359cd08c28ef3da0b0721db026102a189a90441c09886208d434e7d0075bf88c34aeca30ba717cc13220f4ba4910a835b670a9535df46
7
+ data.tar.gz: f0f07cd989dfeb95d896423b027cf179720d1281c4b46ea096b87aa823b492446f4cf616895cd0274c3e315782d1b1f0139897b271b90ec54d00d7e64b1ef4fd
@@ -2,3 +2,9 @@
2
2
  require 'oj'
3
3
 
4
4
  Oj.mimic_JSON()
5
+ # Requiring json here seems to stop conflicts when requiring json in other files.
6
+ begin
7
+ require 'json'
8
+ rescue Exception
9
+ # ignore
10
+ end
metadata CHANGED
@@ -1,17 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oj_mimic_json
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
5
- prerelease:
4
+ version: 1.0.1
6
5
  platform: ruby
7
6
  authors:
8
7
  - Peter Ohler
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2012-08-25 00:00:00.000000000 Z
11
+ date: 2014-06-01 00:00:00.000000000 Z
13
12
  dependencies: []
14
- description: ! 'An experimental Object-base Parallel Evaluation Environment. '
13
+ description: 'An experimental Object-base Parallel Evaluation Environment. '
15
14
  email: peter@ohler.com
16
15
  executables: []
17
16
  extensions: []
@@ -21,31 +20,31 @@ files:
21
20
  - README.md
22
21
  - lib/oj_mimic_json.rb
23
22
  homepage: http://www.ohler.com/oj
24
- licenses: []
23
+ licenses:
24
+ - MIT
25
+ - GPL-3.0
26
+ metadata: {}
25
27
  post_install_message:
26
28
  rdoc_options:
27
- - --main
29
+ - "--main"
28
30
  - README.md
29
31
  require_paths:
30
32
  - lib
31
33
  required_ruby_version: !ruby/object:Gem::Requirement
32
- none: false
33
34
  requirements:
34
- - - ! '>='
35
+ - - ">="
35
36
  - !ruby/object:Gem::Version
36
37
  version: '0'
37
38
  required_rubygems_version: !ruby/object:Gem::Requirement
38
- none: false
39
39
  requirements:
40
- - - ! '>='
40
+ - - ">="
41
41
  - !ruby/object:Gem::Version
42
42
  version: '0'
43
43
  requirements: []
44
44
  rubyforge_project: oj_mimic_json
45
- rubygems_version: 1.8.23
45
+ rubygems_version: 2.2.2
46
46
  signing_key:
47
- specification_version: 3
47
+ specification_version: 4
48
48
  summary: Simple gem to call Oj.mimic_JSON when using bundler or just want to limit
49
49
  code changes to just pulling in gems.
50
50
  test_files: []
51
- has_rdoc: true