legion-json 1.1.4 → 1.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -1
- data/legion-json.gemspec +0 -3
- data/lib/legion/json.rb +1 -1
- data/lib/legion/json/version.rb +1 -1
- metadata +2 -44
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f6afc7df6423fb942e503870cceb6b6d1a99d0be79fe0e18252f128e7f2251e5
|
4
|
+
data.tar.gz: 58831b4ad4ebfcf0bb0188300a0d37d4dc89890cf6c7f20d69427df369fb758c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7e9821dae0be231186a5cbddaea9e3a246420cfb8d1a25b95ef19e16da045268011a0a5508eaa72c75a17b0559901cb71ee22d521ab1a1699e07a7dd8f3598cf
|
7
|
+
data.tar.gz: 5636db52071df5e2d00722438391d5246293df080eb103d34f0f29e2c26ecc242ca2969ff8f22160731d606acba76e4bf94d32f20bf30199c95e2285b1da6fc1
|
data/Gemfile.lock
CHANGED
@@ -5,6 +5,7 @@ PATH
|
|
5
5
|
json_pure
|
6
6
|
legion-exceptions (>= 1.1.5)
|
7
7
|
multi_json
|
8
|
+
oj (>= 3)
|
8
9
|
|
9
10
|
GEM
|
10
11
|
remote: https://rubygems.org/
|
@@ -60,12 +61,12 @@ GEM
|
|
60
61
|
unicode-display_width (2.0.0)
|
61
62
|
|
62
63
|
PLATFORMS
|
64
|
+
ruby
|
63
65
|
x86_64-darwin-18
|
64
66
|
|
65
67
|
DEPENDENCIES
|
66
68
|
bundler (>= 2)
|
67
69
|
legion-json!
|
68
|
-
oj
|
69
70
|
rake
|
70
71
|
rspec
|
71
72
|
rspec_junit_formatter
|
data/legion-json.gemspec
CHANGED
@@ -27,8 +27,6 @@ Gem::Specification.new do |spec|
|
|
27
27
|
end
|
28
28
|
spec.require_paths = ['lib']
|
29
29
|
|
30
|
-
spec.add_development_dependency 'bundler', '>= 2'
|
31
|
-
spec.add_development_dependency 'oj' unless RUBY_ENGINE == 'jruby'
|
32
30
|
spec.add_development_dependency 'rake'
|
33
31
|
spec.add_development_dependency 'rspec'
|
34
32
|
spec.add_development_dependency 'rspec_junit_formatter'
|
@@ -37,6 +35,5 @@ Gem::Specification.new do |spec|
|
|
37
35
|
spec.add_development_dependency 'simplecov_json_formatter'
|
38
36
|
|
39
37
|
spec.add_dependency 'json_pure'
|
40
|
-
spec.add_dependency 'legion-exceptions', '>= 1.1.5'
|
41
38
|
spec.add_dependency 'multi_json'
|
42
39
|
end
|
data/lib/legion/json.rb
CHANGED
@@ -10,7 +10,7 @@ module Legion
|
|
10
10
|
end
|
11
11
|
|
12
12
|
def load(string, symbolize_keys = true)
|
13
|
-
|
13
|
+
MultiJson.load(string, symbolize_keys: symbolize_keys)
|
14
14
|
rescue StandardError => e
|
15
15
|
raise Legion::JSON::ParseError.build(e, string)
|
16
16
|
end
|
data/lib/legion/json/version.rb
CHANGED
metadata
CHANGED
@@ -1,43 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: legion-json
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Esity
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-03-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: bundler
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - ">="
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '2'
|
20
|
-
type: :development
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - ">="
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '2'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: oj
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - ">="
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
34
|
-
type: :development
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - ">="
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '0'
|
41
13
|
- !ruby/object:Gem::Dependency
|
42
14
|
name: rake
|
43
15
|
requirement: !ruby/object:Gem::Requirement
|
@@ -136,20 +108,6 @@ dependencies:
|
|
136
108
|
- - ">="
|
137
109
|
- !ruby/object:Gem::Version
|
138
110
|
version: '0'
|
139
|
-
- !ruby/object:Gem::Dependency
|
140
|
-
name: legion-exceptions
|
141
|
-
requirement: !ruby/object:Gem::Requirement
|
142
|
-
requirements:
|
143
|
-
- - ">="
|
144
|
-
- !ruby/object:Gem::Version
|
145
|
-
version: 1.1.5
|
146
|
-
type: :runtime
|
147
|
-
prerelease: false
|
148
|
-
version_requirements: !ruby/object:Gem::Requirement
|
149
|
-
requirements:
|
150
|
-
- - ">="
|
151
|
-
- !ruby/object:Gem::Version
|
152
|
-
version: 1.1.5
|
153
111
|
- !ruby/object:Gem::Dependency
|
154
112
|
name: multi_json
|
155
113
|
requirement: !ruby/object:Gem::Requirement
|