legion-json 1.1.5 → 1.1.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f6afc7df6423fb942e503870cceb6b6d1a99d0be79fe0e18252f128e7f2251e5
4
- data.tar.gz: 58831b4ad4ebfcf0bb0188300a0d37d4dc89890cf6c7f20d69427df369fb758c
3
+ metadata.gz: a0fe907b6559d3ede99ddb7da31e1fc3a82aee2bb82193e59d14670b1d1196e0
4
+ data.tar.gz: 0f9464fbd3c9acda7449f7e1443090e081762322fea248ee82f16840cc994674
5
5
  SHA512:
6
- metadata.gz: 7e9821dae0be231186a5cbddaea9e3a246420cfb8d1a25b95ef19e16da045268011a0a5508eaa72c75a17b0559901cb71ee22d521ab1a1699e07a7dd8f3598cf
7
- data.tar.gz: 5636db52071df5e2d00722438391d5246293df080eb103d34f0f29e2c26ecc242ca2969ff8f22160731d606acba76e4bf94d32f20bf30199c95e2285b1da6fc1
6
+ metadata.gz: f1106bc540da7e8cf20ad5063d05a5ed820f3c0c23149e3a1080422bfc3b0476fbbe168f8a2f57a3627cb27eae3801b0ebb99077e8aeb3d73d3e0814ab64864c
7
+ data.tar.gz: 3d4acd0e81fe28055e113f8bcaeee0122c0b8c3e200d0735488642fcbc65f9dce96d1509eb9c7f6014a629e5a2a73e4c9b98b61df4490dd2db431c229da45e2b
data/.rubocop.yml CHANGED
@@ -6,21 +6,13 @@ Metrics/ClassLength:
6
6
  Max: 1500
7
7
  Metrics/BlockLength:
8
8
  Max: 50
9
- Layout/SpaceAroundEqualsInParameterDefault:
10
- EnforcedStyle: space
11
9
  Style/OptionalBooleanParameter:
12
10
  Enabled: false
13
- Style/SymbolArray:
14
- Enabled: true
15
- Layout/HashAlignment:
16
- EnforcedHashRocketStyle: table
17
- EnforcedColonStyle: table
18
11
  Style/Documentation:
19
12
  Enabled: false
20
13
  AllCops:
21
14
  TargetRubyVersion: 2.5
22
15
  NewCops: enable
16
+ SuggestExtensions: false
23
17
  Style/FrozenStringLiteralComment:
24
18
  Enabled: false
25
- Naming/FileName:
26
- Enabled: false
data/Gemfile CHANGED
@@ -1,3 +1,11 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
3
  gemspec
4
+
5
+ group :test do
6
+ gem 'rake'
7
+ gem 'rspec'
8
+ gem 'rspec_junit_formatter'
9
+ gem 'rubocop'
10
+ gem 'simplecov'
11
+ end
@@ -1,17 +1,74 @@
1
1
  image: ruby:2.7
2
2
 
3
+
4
+ definitions:
5
+ steps:
6
+ - step: &rubocop
7
+ name: Rubocop
8
+ runs-on: self.hosted
9
+ script:
10
+ - gem install rubocop rubocop-rspec rubocop-performance rubocop-sequel rubocop-md rubocop-sequel --no-document
11
+ - rubocop --format junit --out test-reports/junit.xml
12
+ - step: &rspec
13
+ name: RSpec 2.7
14
+ runs-on: self.hosted
15
+ caches:
16
+ - bundler
17
+ script:
18
+ - gem install bundler rspec rspec_junit_formatter
19
+ - bundle install
20
+ - bundle exec rspec --format RspecJunitFormatter --out test-reports/junit.xml
21
+ caches:
22
+ bundler: /usr/local/bundle
23
+
3
24
  pipelines:
4
- tags:
5
- "v*":
25
+ default:
26
+ - step: *rubocop
27
+ - step: *rspec
28
+ - parallel:
29
+ - step:
30
+ <<: *rspec
31
+ name: RSpec 2.5
32
+ image: ruby:2.5
33
+ - step:
34
+ <<: *rspec
35
+ name: RSpec 2.6
36
+ image: ruby:2.6
37
+ - step:
38
+ <<: *rspec
39
+ name: RSpec 3
40
+ image: ruby:3
41
+ pull-requests:
42
+ master:
43
+ - step: *rubocop
44
+ - step: *rspec
45
+ - parallel:
46
+ - step:
47
+ <<: *rspec
48
+ name: RSpec 2.5
49
+ image: ruby:2.5
50
+ - step:
51
+ <<: *rspec
52
+ name: RSpec 2.6
53
+ image: ruby:2.6
54
+ - step:
55
+ <<: *rspec
56
+ name: RSpec 3
57
+ image: ruby:3
6
58
  - step:
7
- name: Push to RubyGems
59
+ name: RubyGems Deployment
8
60
  deployment: RubyGems
61
+ runs-on: self.hosted
9
62
  script:
10
63
  - gem install gem-release
11
64
  - (umask 077 ; echo $gem_creds | base64 --decode > ~/.gem/credentials)
12
- - gem release
65
+ - gem release --tag --push
66
+ - git push --tags
67
+ - gem build
68
+ condition:
69
+ changesets:
70
+ includePaths:
71
+ - "lib/legion/json/version.rb"
13
72
  artifacts:
14
73
  - pkg/**
15
- definitions:
16
- caches:
17
- bundler: /usr/local/bundle
74
+ - '*.gem'
data/legion-json.gemspec CHANGED
@@ -14,12 +14,12 @@ Gem::Specification.new do |spec|
14
14
  spec.license = 'MIT'
15
15
  spec.required_ruby_version = '>= 2.5'
16
16
  spec.metadata = {
17
- 'bug_tracker_uri' => 'https://legionio.atlassian.net/projects/JSON/issues',
18
- 'changelog_uri' => 'https://legionio.atlassian.net/wiki/spaces/LEGION/pages/24674324/JSON',
17
+ 'bug_tracker_uri' => 'https://legionio.atlassian.net/projects/JSON/issues',
18
+ 'changelog_uri' => 'https://legionio.atlassian.net/wiki/spaces/LEGION/pages/24674324/JSON',
19
19
  'documentation_uri' => 'https://legionio.atlassian.net/wiki/spaces/LEGION/pages/24674324/JSON',
20
- 'homepage_uri' => 'https://legionio.atlassian.net/wiki/spaces/LEGION',
21
- 'source_code_uri' => 'https://bitbucket.org/legion-io/legion-json',
22
- 'wiki_uri' => 'https://legionio.atlassian.net/wiki/spaces/LEGION/pages/24674324/JSON'
20
+ 'homepage_uri' => 'https://legionio.atlassian.net/wiki/spaces/LEGION',
21
+ 'source_code_uri' => 'https://bitbucket.org/legion-io/legion-json',
22
+ 'wiki_uri' => 'https://legionio.atlassian.net/wiki/spaces/LEGION/pages/24674324/JSON'
23
23
  }
24
24
 
25
25
  spec.files = `git ls-files -z`.split("\x0").reject do |f|
@@ -27,13 +27,6 @@ Gem::Specification.new do |spec|
27
27
  end
28
28
  spec.require_paths = ['lib']
29
29
 
30
- spec.add_development_dependency 'rake'
31
- spec.add_development_dependency 'rspec'
32
- spec.add_development_dependency 'rspec_junit_formatter'
33
- spec.add_development_dependency 'rubocop'
34
- spec.add_development_dependency 'simplecov', '< 0.18.0'
35
- spec.add_development_dependency 'simplecov_json_formatter'
36
-
37
30
  spec.add_dependency 'json_pure'
38
31
  spec.add_dependency 'multi_json'
39
32
  end
@@ -1,5 +1,5 @@
1
1
  module Legion
2
2
  module Json
3
- VERSION = '1.1.5'.freeze
3
+ VERSION = '1.1.7'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,99 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: legion-json
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.5
4
+ version: 1.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Esity
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-15 00:00:00.000000000 Z
11
+ date: 2021-05-28 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: rake
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - ">="
18
- - !ruby/object:Gem::Version
19
- version: '0'
20
- type: :development
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - ">="
25
- - !ruby/object:Gem::Version
26
- version: '0'
27
- - !ruby/object:Gem::Dependency
28
- name: rspec
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
- - !ruby/object:Gem::Dependency
42
- name: rspec_junit_formatter
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - ">="
46
- - !ruby/object:Gem::Version
47
- version: '0'
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - ">="
53
- - !ruby/object:Gem::Version
54
- version: '0'
55
- - !ruby/object:Gem::Dependency
56
- name: rubocop
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - ">="
60
- - !ruby/object:Gem::Version
61
- version: '0'
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - ">="
67
- - !ruby/object:Gem::Version
68
- version: '0'
69
- - !ruby/object:Gem::Dependency
70
- name: simplecov
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - "<"
74
- - !ruby/object:Gem::Version
75
- version: 0.18.0
76
- type: :development
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - "<"
81
- - !ruby/object:Gem::Version
82
- version: 0.18.0
83
- - !ruby/object:Gem::Dependency
84
- name: simplecov_json_formatter
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - ">="
88
- - !ruby/object:Gem::Version
89
- version: '0'
90
- type: :development
91
- prerelease: false
92
- version_requirements: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - ">="
95
- - !ruby/object:Gem::Version
96
- version: '0'
97
13
  - !ruby/object:Gem::Dependency
98
14
  name: json_pure
99
15
  requirement: !ruby/object:Gem::Requirement
@@ -129,16 +45,12 @@ executables: []
129
45
  extensions: []
130
46
  extra_rdoc_files: []
131
47
  files:
132
- - ".circleci/config.yml"
133
48
  - ".gitignore"
134
49
  - ".rubocop.yml"
135
50
  - Gemfile
136
- - Gemfile.lock
137
51
  - LICENSE.txt
138
52
  - README.md
139
- - Rakefile
140
53
  - bitbucket-pipelines.yml
141
- - codecov.yml
142
54
  - legion-json.gemspec
143
55
  - lib/legion/json.rb
144
56
  - lib/legion/json/parse_error.rb
@@ -169,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
169
81
  - !ruby/object:Gem::Version
170
82
  version: '0'
171
83
  requirements: []
172
- rubygems_version: 3.1.4
84
+ rubygems_version: 3.1.6
173
85
  signing_key:
174
86
  specification_version: 4
175
87
  summary: Legion JSON
data/.circleci/config.yml DELETED
@@ -1,105 +0,0 @@
1
- version: 2.1
2
- orbs:
3
- ruby: circleci/ruby@1.1.2
4
- sonarcloud: sonarsource/sonarcloud@1.0.2
5
-
6
- jobs:
7
- "rubocop":
8
- docker:
9
- - image: cimg/ruby:2.7
10
- steps:
11
- - checkout
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"
24
- "ruby-two-five":
25
- docker:
26
- - image: cimg/ruby:2.5
27
- steps:
28
- - checkout
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
40
- "ruby-two-six":
41
- docker:
42
- - image: cimg/ruby:2.6
43
- steps:
44
- - checkout
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
56
- "ruby-two-seven":
57
- docker:
58
- - image: circleci/ruby:2.7
59
- steps:
60
- - checkout
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
69
- - store_test_results:
70
- path: rspec-results.xml
71
- - sonarcloud/scan
72
- "ruby-three":
73
- docker:
74
- - image: circleci/ruby:3
75
- steps:
76
- - checkout
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
85
- - store_test_results:
86
- path: rspec-results.xml
87
- - sonarcloud/scan
88
-
89
- workflows:
90
- version: 2
91
- rubocop-rspec:
92
- jobs:
93
- - rubocop
94
- - ruby-two-five:
95
- requires:
96
- - rubocop
97
- - ruby-two-six:
98
- requires:
99
- - ruby-two-five
100
- - ruby-two-seven:
101
- requires:
102
- - ruby-two-five
103
- - ruby-three:
104
- requires:
105
- - ruby-two-five
data/Gemfile.lock DELETED
@@ -1,78 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- legion-json (1.1.4)
5
- json_pure
6
- legion-exceptions (>= 1.1.5)
7
- multi_json
8
- oj (>= 3)
9
-
10
- GEM
11
- remote: https://rubygems.org/
12
- specs:
13
- ast (2.4.1)
14
- diff-lcs (1.4.4)
15
- docile (1.3.4)
16
- json (2.5.1)
17
- json_pure (2.5.1)
18
- legion-exceptions (1.1.5)
19
- multi_json (1.15.0)
20
- oj (3.10.18)
21
- parallel (1.20.1)
22
- parser (3.0.0.0)
23
- ast (~> 2.4.1)
24
- rainbow (3.0.0)
25
- rake (13.0.3)
26
- regexp_parser (2.0.3)
27
- rexml (3.2.4)
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)
35
- diff-lcs (>= 1.2.0, < 2.0)
36
- rspec-support (~> 3.10.0)
37
- rspec-mocks (3.10.1)
38
- diff-lcs (>= 1.2.0, < 2.0)
39
- rspec-support (~> 3.10.0)
40
- rspec-support (3.10.1)
41
- rspec_junit_formatter (0.4.1)
42
- rspec-core (>= 2, < 4, != 2.12.0)
43
- rubocop (1.8.0)
44
- parallel (~> 1.10)
45
- parser (>= 3.0.0.0)
46
- rainbow (>= 2.2.2, < 4.0)
47
- regexp_parser (>= 1.8, < 3.0)
48
- rexml
49
- rubocop-ast (>= 1.2.0, < 2.0)
50
- ruby-progressbar (~> 1.7)
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)
55
- simplecov (0.17.1)
56
- docile (~> 1.1)
57
- json (>= 1.8, < 3)
58
- simplecov-html (~> 0.10.0)
59
- simplecov-html (0.10.2)
60
- simplecov_json_formatter (0.1.2)
61
- unicode-display_width (2.0.0)
62
-
63
- PLATFORMS
64
- ruby
65
- x86_64-darwin-18
66
-
67
- DEPENDENCIES
68
- bundler (>= 2)
69
- legion-json!
70
- rake
71
- rspec
72
- rspec_junit_formatter
73
- rubocop
74
- simplecov (< 0.18.0)
75
- simplecov_json_formatter
76
-
77
- BUNDLED WITH
78
- 2.2.4
data/Rakefile DELETED
@@ -1,6 +0,0 @@
1
- require 'bundler/gem_tasks'
2
- require 'rspec/core/rake_task'
3
-
4
- RSpec::Core::RakeTask.new(:spec)
5
-
6
- task default: :spec
data/codecov.yml DELETED
@@ -1,3 +0,0 @@
1
- codecov:
2
- notify:
3
- require_ci_to_pass: yes