legion-json 1.1.0 → 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/.circleci/config.yml +61 -74
- data/.rubocop.yml +2 -1
- data/Gemfile.lock +38 -38
- data/README.md +5 -34
- data/bitbucket-pipelines.yml +10 -9
- data/legion-json.gemspec +4 -5
- data/lib/legion/json.rb +1 -1
- data/lib/legion/json/version.rb +1 -1
- metadata +21 -44
- data/.circleci/setup-rubygems.sh +0 -2
- data/.idea/.rakeTasks +0 -7
- data/.idea/legion-json.iml +0 -39
- data/.idea/misc.xml +0 -7
- data/.idea/modules.xml +0 -8
- data/.idea/vagrant.xml +0 -7
- data/.idea/workspace.xml +0 -14
- data/bin/console +0 -14
- data/bin/setup +0 -8
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/.circleci/config.yml
CHANGED
@@ -1,95 +1,90 @@
|
|
1
1
|
version: 2.1
|
2
2
|
orbs:
|
3
|
-
ruby: circleci/ruby@
|
4
|
-
sonarcloud: sonarsource/sonarcloud@1.0.
|
3
|
+
ruby: circleci/ruby@1.1.2
|
4
|
+
sonarcloud: sonarsource/sonarcloud@1.0.2
|
5
5
|
|
6
6
|
jobs:
|
7
7
|
"rubocop":
|
8
8
|
docker:
|
9
|
-
- image:
|
9
|
+
- image: cimg/ruby:2.7
|
10
10
|
steps:
|
11
11
|
- checkout
|
12
|
-
-
|
13
|
-
|
14
|
-
- run:
|
15
|
-
|
16
|
-
|
17
|
-
|
12
|
+
- restore_cache:
|
13
|
+
key: "bundler cache mri"
|
14
|
+
- run: bundle update
|
15
|
+
- run: bundle exec rubocop --format=json --out=rubocop-result.json
|
16
|
+
- store_test_results:
|
17
|
+
path: rubocop-result.json
|
18
|
+
- sonarcloud/scan
|
19
|
+
- run: bundle exec rubocop
|
20
|
+
- save_cache:
|
21
|
+
key: "bundler cache mri"
|
22
|
+
paths:
|
23
|
+
- "/usr/local/bundle"
|
18
24
|
"ruby-two-five":
|
19
25
|
docker:
|
20
|
-
- image:
|
26
|
+
- image: cimg/ruby:2.5
|
21
27
|
steps:
|
22
28
|
- checkout
|
23
|
-
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
29
|
+
- restore_cache:
|
30
|
+
key: "bundler cache mri"
|
31
|
+
- run: bundle update
|
32
|
+
- save_cache:
|
33
|
+
key: "bundler cache mri"
|
34
|
+
paths:
|
35
|
+
- "/usr/local/bundle"
|
36
|
+
- run: bundle exec rspec --format progress --format RspecJunitFormatter -o rspec-results.xml
|
37
|
+
- store_test_results:
|
38
|
+
path: rspec-results.xml
|
39
|
+
- sonarcloud/scan
|
30
40
|
"ruby-two-six":
|
31
41
|
docker:
|
32
|
-
- image:
|
42
|
+
- image: cimg/ruby:2.6
|
33
43
|
steps:
|
34
44
|
- checkout
|
35
|
-
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
45
|
+
- restore_cache:
|
46
|
+
key: "bundler cache mri"
|
47
|
+
- run: bundle update
|
48
|
+
- save_cache:
|
49
|
+
key: "bundler cache mri"
|
50
|
+
paths:
|
51
|
+
- "/usr/local/bundle"
|
52
|
+
- run: bundle exec rspec --format progress --format RspecJunitFormatter -o rspec-results.xml
|
53
|
+
- store_test_results:
|
54
|
+
path: rspec-results.xml
|
55
|
+
- sonarcloud/scan
|
42
56
|
"ruby-two-seven":
|
43
57
|
docker:
|
44
58
|
- image: circleci/ruby:2.7
|
45
59
|
steps:
|
46
60
|
- checkout
|
47
|
-
-
|
48
|
-
|
49
|
-
-
|
50
|
-
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
- checkout
|
56
|
-
- run:
|
57
|
-
name: Bundle Install
|
58
|
-
command: bundle install
|
59
|
-
- run:
|
60
|
-
name: Run RSpec
|
61
|
-
command: bundle exec rspec --format progress --format RspecJunitFormatter -o test-results/rspec/results.xml
|
62
|
-
when: always
|
61
|
+
- restore_cache:
|
62
|
+
key: "bundler cache mri"
|
63
|
+
- run: bundle update
|
64
|
+
- save_cache:
|
65
|
+
key: "bundler cache mri"
|
66
|
+
paths:
|
67
|
+
- "/usr/local/bundle"
|
68
|
+
- run: bundle exec rspec --format progress --format RspecJunitFormatter -o rspec-results.xml
|
63
69
|
- store_test_results:
|
64
|
-
path:
|
70
|
+
path: rspec-results.xml
|
65
71
|
- sonarcloud/scan
|
66
|
-
"
|
72
|
+
"ruby-three":
|
67
73
|
docker:
|
68
|
-
- image: circleci/
|
74
|
+
- image: circleci/ruby:3
|
69
75
|
steps:
|
70
76
|
- checkout
|
71
|
-
-
|
72
|
-
|
73
|
-
|
74
|
-
-
|
75
|
-
|
76
|
-
|
77
|
-
|
77
|
+
- restore_cache:
|
78
|
+
key: "bundler cache mri"
|
79
|
+
- run: bundle update
|
80
|
+
- save_cache:
|
81
|
+
key: "bundler cache mri"
|
82
|
+
paths:
|
83
|
+
- "/usr/local/bundle"
|
84
|
+
- run: bundle exec rspec --format progress --format RspecJunitFormatter -o rspec-results.xml
|
78
85
|
- store_test_results:
|
79
|
-
path:
|
80
|
-
"sonarcloud":
|
81
|
-
docker:
|
82
|
-
- image: circleci/ruby:2.7
|
83
|
-
steps:
|
84
|
-
- checkout
|
85
|
-
- ruby/load-cache
|
86
|
-
- ruby/install-deps
|
87
|
-
- ruby/run-tests
|
88
|
-
- run:
|
89
|
-
name: Run Rubocop
|
90
|
-
command: bundle exec rubocop --format=json --out=rubocop-result.json
|
86
|
+
path: rspec-results.xml
|
91
87
|
- sonarcloud/scan
|
92
|
-
- ruby/save-cache
|
93
88
|
|
94
89
|
workflows:
|
95
90
|
version: 2
|
@@ -105,14 +100,6 @@ workflows:
|
|
105
100
|
- ruby-two-seven:
|
106
101
|
requires:
|
107
102
|
- ruby-two-five
|
108
|
-
-
|
109
|
-
requires:
|
110
|
-
- ruby-two-seven
|
111
|
-
- ruby-two-six
|
112
|
-
- jruby-nine-two:
|
113
|
-
requires:
|
114
|
-
- ruby-two-seven
|
115
|
-
- ruby-two-six
|
116
|
-
- jruby-nine-two-e:
|
103
|
+
- ruby-three:
|
117
104
|
requires:
|
118
|
-
-
|
105
|
+
- ruby-two-five
|
data/.rubocop.yml
CHANGED
@@ -1,4 +1,3 @@
|
|
1
|
-
require: rubocop-performance
|
2
1
|
Layout/LineLength:
|
3
2
|
Max: 120
|
4
3
|
Metrics/MethodLength:
|
@@ -9,6 +8,8 @@ Metrics/BlockLength:
|
|
9
8
|
Max: 50
|
10
9
|
Layout/SpaceAroundEqualsInParameterDefault:
|
11
10
|
EnforcedStyle: space
|
11
|
+
Style/OptionalBooleanParameter:
|
12
|
+
Enabled: false
|
12
13
|
Style/SymbolArray:
|
13
14
|
Enabled: true
|
14
15
|
Layout/HashAlignment:
|
data/Gemfile.lock
CHANGED
@@ -1,78 +1,78 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
legion-json (1.1.
|
4
|
+
legion-json (1.1.4)
|
5
|
+
json_pure
|
6
|
+
legion-exceptions (>= 1.1.5)
|
5
7
|
multi_json
|
8
|
+
oj (>= 3)
|
6
9
|
|
7
10
|
GEM
|
8
11
|
remote: https://rubygems.org/
|
9
12
|
specs:
|
10
13
|
ast (2.4.1)
|
11
|
-
codecov (0.2.2)
|
12
|
-
colorize
|
13
|
-
json
|
14
|
-
simplecov
|
15
|
-
colorize (0.8.1)
|
16
14
|
diff-lcs (1.4.4)
|
17
|
-
docile (1.3.
|
18
|
-
json (2.
|
15
|
+
docile (1.3.4)
|
16
|
+
json (2.5.1)
|
17
|
+
json_pure (2.5.1)
|
18
|
+
legion-exceptions (1.1.5)
|
19
19
|
multi_json (1.15.0)
|
20
|
-
|
21
|
-
|
20
|
+
oj (3.10.18)
|
21
|
+
parallel (1.20.1)
|
22
|
+
parser (3.0.0.0)
|
22
23
|
ast (~> 2.4.1)
|
23
24
|
rainbow (3.0.0)
|
24
|
-
rake (13.0.
|
25
|
-
regexp_parser (
|
25
|
+
rake (13.0.3)
|
26
|
+
regexp_parser (2.0.3)
|
26
27
|
rexml (3.2.4)
|
27
|
-
rspec (3.
|
28
|
-
rspec-core (~> 3.
|
29
|
-
rspec-expectations (~> 3.
|
30
|
-
rspec-mocks (~> 3.
|
31
|
-
rspec-core (3.
|
32
|
-
rspec-support (~> 3.
|
33
|
-
rspec-expectations (3.
|
28
|
+
rspec (3.10.0)
|
29
|
+
rspec-core (~> 3.10.0)
|
30
|
+
rspec-expectations (~> 3.10.0)
|
31
|
+
rspec-mocks (~> 3.10.0)
|
32
|
+
rspec-core (3.10.1)
|
33
|
+
rspec-support (~> 3.10.0)
|
34
|
+
rspec-expectations (3.10.1)
|
34
35
|
diff-lcs (>= 1.2.0, < 2.0)
|
35
|
-
rspec-support (~> 3.
|
36
|
-
rspec-mocks (3.
|
36
|
+
rspec-support (~> 3.10.0)
|
37
|
+
rspec-mocks (3.10.1)
|
37
38
|
diff-lcs (>= 1.2.0, < 2.0)
|
38
|
-
rspec-support (~> 3.
|
39
|
-
rspec-support (3.
|
39
|
+
rspec-support (~> 3.10.0)
|
40
|
+
rspec-support (3.10.1)
|
40
41
|
rspec_junit_formatter (0.4.1)
|
41
42
|
rspec-core (>= 2, < 4, != 2.12.0)
|
42
|
-
rubocop (
|
43
|
+
rubocop (1.8.0)
|
43
44
|
parallel (~> 1.10)
|
44
|
-
parser (>=
|
45
|
+
parser (>= 3.0.0.0)
|
45
46
|
rainbow (>= 2.2.2, < 4.0)
|
46
|
-
regexp_parser (>= 1.
|
47
|
+
regexp_parser (>= 1.8, < 3.0)
|
47
48
|
rexml
|
48
|
-
rubocop-ast (>=
|
49
|
+
rubocop-ast (>= 1.2.0, < 2.0)
|
49
50
|
ruby-progressbar (~> 1.7)
|
50
|
-
unicode-display_width (>= 1.4.0, <
|
51
|
-
rubocop-ast (
|
52
|
-
parser (>= 2.7.
|
53
|
-
|
54
|
-
rubocop (>= 0.82.0)
|
55
|
-
ruby-progressbar (1.10.1)
|
51
|
+
unicode-display_width (>= 1.4.0, < 3.0)
|
52
|
+
rubocop-ast (1.4.0)
|
53
|
+
parser (>= 2.7.1.5)
|
54
|
+
ruby-progressbar (1.11.0)
|
56
55
|
simplecov (0.17.1)
|
57
56
|
docile (~> 1.1)
|
58
57
|
json (>= 1.8, < 3)
|
59
58
|
simplecov-html (~> 0.10.0)
|
60
59
|
simplecov-html (0.10.2)
|
61
|
-
|
60
|
+
simplecov_json_formatter (0.1.2)
|
61
|
+
unicode-display_width (2.0.0)
|
62
62
|
|
63
63
|
PLATFORMS
|
64
64
|
ruby
|
65
|
+
x86_64-darwin-18
|
65
66
|
|
66
67
|
DEPENDENCIES
|
67
|
-
bundler
|
68
|
-
codecov (~> 0)
|
68
|
+
bundler (>= 2)
|
69
69
|
legion-json!
|
70
70
|
rake
|
71
71
|
rspec
|
72
72
|
rspec_junit_formatter
|
73
73
|
rubocop
|
74
|
-
rubocop-performance
|
75
74
|
simplecov (< 0.18.0)
|
75
|
+
simplecov_json_formatter
|
76
76
|
|
77
77
|
BUNDLED WITH
|
78
|
-
2.
|
78
|
+
2.2.4
|
data/README.md
CHANGED
@@ -1,42 +1,13 @@
|
|
1
1
|
# Legion::Json
|
2
2
|
|
3
|
-
Legion::Json is part of the Legion Framework
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
Add this line to your application's Gemfile:
|
9
|
-
|
10
|
-
```ruby
|
11
|
-
gem 'legion-json'
|
12
|
-
```
|
13
|
-
|
14
|
-
And then execute:
|
15
|
-
|
16
|
-
$ bundle
|
17
|
-
|
18
|
-
Or install it yourself as:
|
19
|
-
|
20
|
-
$ gem install legion-json
|
3
|
+
Legion::Json is part of the Legion Framework
|
4
|
+
[Issue Tracker - Jira](https://legionio.atlassian.net/projects/JSON/issues)
|
5
|
+
[Docs - Confluence](https://legionio.atlassian.net/wiki/spaces/LEGION/pages/24674324)
|
6
|
+
[RubyGems](https://rubygems.org/gems/legion-json)
|
21
7
|
|
22
8
|
## Usage
|
23
|
-
|
24
9
|
This library provides the Legion JSON parser abstraction, enabling the use of platform specific JSON parsers.
|
25
|
-
|
26
|
-
## Development
|
27
|
-
|
28
|
-
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
29
|
-
|
30
|
-
To install this gem onto your local machine, run `bundle exec install`.
|
31
|
-
|
32
|
-
## Contributing
|
33
|
-
|
34
|
-
Bug reports and pull requests are welcome on GitHub at https://bitbucket.org/legion-io/legion-json/issues This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
10
|
+
Based on the old sensu-json gem
|
35
11
|
|
36
12
|
## License
|
37
|
-
|
38
13
|
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
39
|
-
|
40
|
-
## Credit
|
41
|
-
|
42
|
-
This gem was based on the Sensu JSON gem. You can find the original gem [here](https://github.com/sensu/sensu-json)
|
data/bitbucket-pipelines.yml
CHANGED
@@ -1,16 +1,17 @@
|
|
1
|
-
image: ruby:2.
|
1
|
+
image: ruby:2.7
|
2
2
|
|
3
3
|
pipelines:
|
4
4
|
tags:
|
5
|
-
|
5
|
+
"v*":
|
6
6
|
- step:
|
7
|
-
name:
|
8
|
-
|
9
|
-
deployment: production
|
7
|
+
name: Push to RubyGems
|
8
|
+
deployment: RubyGems
|
10
9
|
script:
|
11
|
-
-
|
12
|
-
-
|
13
|
-
- gem
|
10
|
+
- gem install gem-release
|
11
|
+
- (umask 077 ; echo $gem_creds | base64 --decode > ~/.gem/credentials)
|
12
|
+
- gem release
|
13
|
+
artifacts:
|
14
|
+
- pkg/**
|
14
15
|
definitions:
|
15
16
|
caches:
|
16
|
-
bundler:
|
17
|
+
bundler: /usr/local/bundle
|
data/legion-json.gemspec
CHANGED
@@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
|
|
12
12
|
spec.description = 'A gem used to load and use JSON objects inside the Legion framework'
|
13
13
|
spec.homepage = 'https://bitbucket.org/legion-io/legion-json'
|
14
14
|
spec.license = 'MIT'
|
15
|
-
spec.required_ruby_version = '
|
15
|
+
spec.required_ruby_version = '>= 2.5'
|
16
16
|
spec.metadata = {
|
17
17
|
'bug_tracker_uri' => 'https://legionio.atlassian.net/projects/JSON/issues',
|
18
18
|
'changelog_uri' => 'https://legionio.atlassian.net/wiki/spaces/LEGION/pages/24674324/JSON',
|
@@ -25,16 +25,15 @@ Gem::Specification.new do |spec|
|
|
25
25
|
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
26
26
|
f.match(%r{^(test|spec|features)/})
|
27
27
|
end
|
28
|
-
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
29
28
|
spec.require_paths = ['lib']
|
30
29
|
|
31
|
-
spec.add_development_dependency 'bundler'
|
32
|
-
spec.add_development_dependency 'codecov', '~> 0'
|
33
30
|
spec.add_development_dependency 'rake'
|
34
31
|
spec.add_development_dependency 'rspec'
|
35
32
|
spec.add_development_dependency 'rspec_junit_formatter'
|
36
33
|
spec.add_development_dependency 'rubocop'
|
37
|
-
spec.add_development_dependency 'rubocop-performance'
|
38
34
|
spec.add_development_dependency 'simplecov', '< 0.18.0'
|
35
|
+
spec.add_development_dependency 'simplecov_json_formatter'
|
36
|
+
|
37
|
+
spec.add_dependency 'json_pure'
|
39
38
|
spec.add_dependency 'multi_json'
|
40
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,17 +1,17 @@
|
|
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
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-03-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: rake
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
@@ -25,21 +25,21 @@ dependencies:
|
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: rspec
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: rspec_junit_formatter
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - ">="
|
@@ -53,7 +53,7 @@ dependencies:
|
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
56
|
+
name: rubocop
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - ">="
|
@@ -67,21 +67,21 @@ dependencies:
|
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
70
|
+
name: simplecov
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- - "
|
73
|
+
- - "<"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
75
|
+
version: 0.18.0
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- - "
|
80
|
+
- - "<"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
82
|
+
version: 0.18.0
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
84
|
+
name: simplecov_json_formatter
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - ">="
|
@@ -95,33 +95,19 @@ dependencies:
|
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
|
-
name:
|
98
|
+
name: json_pure
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
101
|
- - ">="
|
102
102
|
- !ruby/object:Gem::Version
|
103
103
|
version: '0'
|
104
|
-
type: :
|
104
|
+
type: :runtime
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - ">="
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '0'
|
111
|
-
- !ruby/object:Gem::Dependency
|
112
|
-
name: simplecov
|
113
|
-
requirement: !ruby/object:Gem::Requirement
|
114
|
-
requirements:
|
115
|
-
- - "<"
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version: 0.18.0
|
118
|
-
type: :development
|
119
|
-
prerelease: false
|
120
|
-
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
requirements:
|
122
|
-
- - "<"
|
123
|
-
- !ruby/object:Gem::Version
|
124
|
-
version: 0.18.0
|
125
111
|
- !ruby/object:Gem::Dependency
|
126
112
|
name: multi_json
|
127
113
|
requirement: !ruby/object:Gem::Requirement
|
@@ -144,22 +130,13 @@ extensions: []
|
|
144
130
|
extra_rdoc_files: []
|
145
131
|
files:
|
146
132
|
- ".circleci/config.yml"
|
147
|
-
- ".circleci/setup-rubygems.sh"
|
148
133
|
- ".gitignore"
|
149
|
-
- ".idea/.rakeTasks"
|
150
|
-
- ".idea/legion-json.iml"
|
151
|
-
- ".idea/misc.xml"
|
152
|
-
- ".idea/modules.xml"
|
153
|
-
- ".idea/vagrant.xml"
|
154
|
-
- ".idea/workspace.xml"
|
155
134
|
- ".rubocop.yml"
|
156
135
|
- Gemfile
|
157
136
|
- Gemfile.lock
|
158
137
|
- LICENSE.txt
|
159
138
|
- README.md
|
160
139
|
- Rakefile
|
161
|
-
- bin/console
|
162
|
-
- bin/setup
|
163
140
|
- bitbucket-pipelines.yml
|
164
141
|
- codecov.yml
|
165
142
|
- legion-json.gemspec
|
@@ -177,13 +154,13 @@ metadata:
|
|
177
154
|
homepage_uri: https://legionio.atlassian.net/wiki/spaces/LEGION
|
178
155
|
source_code_uri: https://bitbucket.org/legion-io/legion-json
|
179
156
|
wiki_uri: https://legionio.atlassian.net/wiki/spaces/LEGION/pages/24674324/JSON
|
180
|
-
post_install_message:
|
157
|
+
post_install_message:
|
181
158
|
rdoc_options: []
|
182
159
|
require_paths:
|
183
160
|
- lib
|
184
161
|
required_ruby_version: !ruby/object:Gem::Requirement
|
185
162
|
requirements:
|
186
|
-
- - "
|
163
|
+
- - ">="
|
187
164
|
- !ruby/object:Gem::Version
|
188
165
|
version: '2.5'
|
189
166
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
@@ -192,8 +169,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
192
169
|
- !ruby/object:Gem::Version
|
193
170
|
version: '0'
|
194
171
|
requirements: []
|
195
|
-
rubygems_version: 3.1.
|
196
|
-
signing_key:
|
172
|
+
rubygems_version: 3.1.4
|
173
|
+
signing_key:
|
197
174
|
specification_version: 4
|
198
175
|
summary: Legion JSON
|
199
176
|
test_files: []
|
data/.circleci/setup-rubygems.sh
DELETED
data/.idea/.rakeTasks
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<Settings><!--This file was automatically generated by Ruby plugin.
|
3
|
-
You are allowed to:
|
4
|
-
1. Remove rake task
|
5
|
-
2. Add existing rake tasks
|
6
|
-
To add existing rake tasks automatically delete this file and reload the project.
|
7
|
-
--><RakeGroup description="" fullCmd="" taksId="rake"><RakeTask description="Build legion-json-0.1.6.gem into the pkg directory" fullCmd="build" taksId="build" /><RakeTask description="Remove any temporary products" fullCmd="clean" taksId="clean" /><RakeTask description="Remove any generated files" fullCmd="clobber" taksId="clobber" /><RakeTask description="Build and install legion-json-0.1.6.gem into system gems" fullCmd="install" taksId="install" /><RakeGroup description="" fullCmd="" taksId="install"><RakeTask description="Build and install legion-json-0.1.6.gem into system gems without network access" fullCmd="install:local" taksId="local" /></RakeGroup><RakeTask description="Create tag v0.1.6 and build and push legion-json-0.1.6.gem to rubygems.org" fullCmd="release[remote]" taksId="release[remote]" /><RakeTask description="Run RSpec code examples" fullCmd="spec" taksId="spec" /><RakeTask description="" fullCmd="default" taksId="default" /><RakeTask description="" fullCmd="release" taksId="release" /><RakeGroup description="" fullCmd="" taksId="release"><RakeTask description="" fullCmd="release:guard_clean" taksId="guard_clean" /><RakeTask description="" fullCmd="release:rubygem_push" taksId="rubygem_push" /><RakeTask description="" fullCmd="release:source_control_push" taksId="source_control_push" /></RakeGroup></RakeGroup></Settings>
|
data/.idea/legion-json.iml
DELETED
@@ -1,39 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<module type="RUBY_MODULE" version="4">
|
3
|
-
<component name="ModuleRunConfigurationManager">
|
4
|
-
<shared />
|
5
|
-
</component>
|
6
|
-
<component name="NewModuleRootManager">
|
7
|
-
<content url="file://$MODULE_DIR$" />
|
8
|
-
<orderEntry type="jdk" jdkName="RVM: ruby-2.7.0" jdkType="RUBY_SDK" />
|
9
|
-
<orderEntry type="sourceFolder" forTests="false" />
|
10
|
-
<orderEntry type="library" scope="PROVIDED" name="ast (v2.4.1, RVM: ruby-2.7.0) [gem]" level="application" />
|
11
|
-
<orderEntry type="library" scope="PROVIDED" name="bundler (v2.1.4, RVM: ruby-2.7.0) [gem]" level="application" />
|
12
|
-
<orderEntry type="library" scope="PROVIDED" name="chef (v16.1.0, RVM: ruby-2.7.0) [gem]" level="application" />
|
13
|
-
<orderEntry type="library" scope="PROVIDED" name="codecov (v0.2.2, RVM: ruby-2.7.0) [gem]" level="application" />
|
14
|
-
<orderEntry type="library" scope="PROVIDED" name="colorize (v0.8.1, RVM: ruby-2.7.0) [gem]" level="application" />
|
15
|
-
<orderEntry type="library" scope="PROVIDED" name="diff-lcs (v1.4.4, RVM: ruby-2.7.0) [gem]" level="application" />
|
16
|
-
<orderEntry type="library" scope="PROVIDED" name="docile (v1.3.2, RVM: ruby-2.7.0) [gem]" level="application" />
|
17
|
-
<orderEntry type="library" scope="PROVIDED" name="json (v2.3.1, RVM: ruby-2.7.0) [gem]" level="application" />
|
18
|
-
<orderEntry type="library" scope="PROVIDED" name="multi_json (v1.15.0, RVM: ruby-2.7.0) [gem]" level="application" />
|
19
|
-
<orderEntry type="library" scope="PROVIDED" name="parallel (v1.19.2, RVM: ruby-2.7.0) [gem]" level="application" />
|
20
|
-
<orderEntry type="library" scope="PROVIDED" name="parser (v2.7.1.4, RVM: ruby-2.7.0) [gem]" level="application" />
|
21
|
-
<orderEntry type="library" scope="PROVIDED" name="rainbow (v3.0.0, RVM: ruby-2.7.0) [gem]" level="application" />
|
22
|
-
<orderEntry type="library" scope="PROVIDED" name="rake (v13.0.1, RVM: ruby-2.7.0) [gem]" level="application" />
|
23
|
-
<orderEntry type="library" scope="PROVIDED" name="regexp_parser (v1.7.1, RVM: ruby-2.7.0) [gem]" level="application" />
|
24
|
-
<orderEntry type="library" scope="PROVIDED" name="rexml (v3.2.4, RVM: ruby-2.7.0) [gem]" level="application" />
|
25
|
-
<orderEntry type="library" scope="PROVIDED" name="rspec (v3.9.0, RVM: ruby-2.7.0) [gem]" level="application" />
|
26
|
-
<orderEntry type="library" scope="PROVIDED" name="rspec-core (v3.9.2, RVM: ruby-2.7.0) [gem]" level="application" />
|
27
|
-
<orderEntry type="library" scope="PROVIDED" name="rspec-expectations (v3.9.2, RVM: ruby-2.7.0) [gem]" level="application" />
|
28
|
-
<orderEntry type="library" scope="PROVIDED" name="rspec-mocks (v3.9.1, RVM: ruby-2.7.0) [gem]" level="application" />
|
29
|
-
<orderEntry type="library" scope="PROVIDED" name="rspec-support (v3.9.3, RVM: ruby-2.7.0) [gem]" level="application" />
|
30
|
-
<orderEntry type="library" scope="PROVIDED" name="rspec_junit_formatter (v0.4.1, RVM: ruby-2.7.0) [gem]" level="application" />
|
31
|
-
<orderEntry type="library" scope="PROVIDED" name="rubocop (v0.88.0, RVM: ruby-2.7.0) [gem]" level="application" />
|
32
|
-
<orderEntry type="library" scope="PROVIDED" name="rubocop-ast (v0.2.0, RVM: ruby-2.7.0) [gem]" level="application" />
|
33
|
-
<orderEntry type="library" scope="PROVIDED" name="rubocop-performance (v1.7.1, RVM: ruby-2.7.0) [gem]" level="application" />
|
34
|
-
<orderEntry type="library" scope="PROVIDED" name="ruby-progressbar (v1.10.1, RVM: ruby-2.7.0) [gem]" level="application" />
|
35
|
-
<orderEntry type="library" scope="PROVIDED" name="simplecov (v0.17.1, RVM: ruby-2.7.0) [gem]" level="application" />
|
36
|
-
<orderEntry type="library" scope="PROVIDED" name="simplecov-html (v0.10.2, RVM: ruby-2.7.0) [gem]" level="application" />
|
37
|
-
<orderEntry type="library" scope="PROVIDED" name="unicode-display_width (v1.7.0, RVM: ruby-2.7.0) [gem]" level="application" />
|
38
|
-
</component>
|
39
|
-
</module>
|
data/.idea/misc.xml
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<project version="4">
|
3
|
-
<component name="JavaScriptSettings">
|
4
|
-
<option name="languageLevel" value="ES6" />
|
5
|
-
</component>
|
6
|
-
<component name="ProjectRootManager" version="2" project-jdk-name="RVM: ruby-2.6.3" project-jdk-type="RUBY_SDK" />
|
7
|
-
</project>
|
data/.idea/modules.xml
DELETED
@@ -1,8 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<project version="4">
|
3
|
-
<component name="ProjectModuleManager">
|
4
|
-
<modules>
|
5
|
-
<module fileurl="file://$PROJECT_DIR$/.idea/legion-json.iml" filepath="$PROJECT_DIR$/.idea/legion-json.iml" />
|
6
|
-
</modules>
|
7
|
-
</component>
|
8
|
-
</project>
|
data/.idea/vagrant.xml
DELETED
data/.idea/workspace.xml
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<project version="4">
|
3
|
-
<component name="CoverageOptionsProvider">
|
4
|
-
<option name="myAddOrReplace" value="0" />
|
5
|
-
</component>
|
6
|
-
<component name="Git.Settings">
|
7
|
-
<option name="PUSH_AUTO_UPDATE" value="true" />
|
8
|
-
<option name="ROOT_SYNC" value="DONT_SYNC" />
|
9
|
-
</component>
|
10
|
-
<component name="ProjectId" id="1Yl3MvvW2XEUkSgcd6DW2ko2fkK" />
|
11
|
-
<component name="PropertiesComponent">
|
12
|
-
<property name="settings.editor.selected.configurable" value="reference.settingsdialog.project.vagrant" />
|
13
|
-
</component>
|
14
|
-
</project>
|
data/bin/console
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
require 'bundler/setup'
|
4
|
-
require 'legion/json'
|
5
|
-
|
6
|
-
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
-
# with your gem easier. You can also use a different console, if you like.
|
8
|
-
|
9
|
-
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
-
# require "pry"
|
11
|
-
# Pry.start
|
12
|
-
|
13
|
-
require 'irb'
|
14
|
-
IRB.start(__FILE__)
|