metadata-json-lint 4.0.0 → 4.1.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1327a043726b715003e697e9024bda80b0134896e7fb2b97f9de14ee8b28e8b7
4
- data.tar.gz: ff6e85957f67e2d1b2a37f2a9383640867bf7bf4f04cc1ed5bc10ed7b9c738fb
3
+ metadata.gz: 392e39d697c2b5355eebedd010f8a80b575db099a6865a66f82397c387733969
4
+ data.tar.gz: 7dbcb7bce5b9ddf5e20bf0f0fc91f854c0dacd81d097dff585f1aef2b442fb77
5
5
  SHA512:
6
- metadata.gz: 841c877388db1e132ba061ef657f21f63b5f10b68255b96a673b1a79a5d4052327a54cc696a99c850addb4f8c830dab139c9891ae35ecf7444e83d53e8d86cc2
7
- data.tar.gz: caf5db87f9dd3fa2a33fb75b36992f6447ec80c335c0757246d6c9be7d22019581464ee6bc65f26549f162f6cc3ac9efb6ee9f3cbe546af5465f414882179e1c
6
+ metadata.gz: e9e4de4ab6f67f70575b5e73be16871d4f629f3d0e1954c5ee7a6f42859bc2b63bc8eef9028b6591fd0780ad49d506a07b55b16774b32b54792ac063ef8f6814
7
+ data.tar.gz: 240dbbc7fa193e30197704e3313cebb07617999053ff53caf5860cc7c17efa16bfd24a2b15fd87d53c22e34ac1e4e23651d9a48750cb2ab3b5fc382cb56fab7c
@@ -11,10 +11,10 @@ jobs:
11
11
  if: github.repository_owner == 'voxpupuli'
12
12
  steps:
13
13
  - uses: actions/checkout@v4
14
- - name: Install Ruby 3.0
14
+ - name: Install Ruby 3.3
15
15
  uses: ruby/setup-ruby@v1
16
16
  with:
17
- ruby-version: '3.0'
17
+ ruby-version: '3.3'
18
18
  env:
19
19
  BUNDLE_WITHOUT: release
20
20
  - name: Build gem
@@ -17,7 +17,7 @@ jobs:
17
17
  - name: Install Ruby ${{ matrix.ruby }}
18
18
  uses: ruby/setup-ruby@v1
19
19
  with:
20
- ruby-version: "3.0"
20
+ ruby-version: "3.3"
21
21
  bundler-cache: true
22
22
  - name: Run Rubocop
23
23
  run: bundle exec rake rubocop
@@ -31,6 +31,7 @@ jobs:
31
31
  - ruby: "3.1"
32
32
  coverage: "yes"
33
33
  - ruby: "3.2"
34
+ - ruby: "3.3"
34
35
  env:
35
36
  COVERAGE: ${{ matrix.coverage }}
36
37
  # https://github.com/rubygems/rubygems/issues/5234#issuecomment-1003773622
data/.rubocop_todo.yml CHANGED
@@ -1,6 +1,6 @@
1
1
  # This configuration was generated by
2
2
  # `rubocop --auto-gen-config`
3
- # on 2023-09-15 14:22:01 UTC using RuboCop version 1.54.2.
3
+ # on 2024-06-20 08:26:07 UTC using RuboCop version 1.63.5.
4
4
  # The point is for the user to remove these configuration records
5
5
  # one by one as the offenses are removed from the code base.
6
6
  # Note that changes in the inspected code, or installation of new
@@ -20,19 +20,11 @@ RSpec/ContextWording:
20
20
 
21
21
  # Offense count: 2
22
22
  # This cop supports unsafe autocorrection (--autocorrect-all).
23
- # Configuration parameters: SkipBlocks, EnforcedStyle.
23
+ # Configuration parameters: SkipBlocks, EnforcedStyle, OnlyStaticConstants.
24
24
  # SupportedStyles: described_class, explicit
25
25
  RSpec/DescribedClass:
26
26
  Exclude:
27
- - 'spec/version_requirement_spec.rb'
28
-
29
- # Offense count: 2
30
- # Configuration parameters: Include, CustomTransform, IgnoreMethods, SpecSuffixOnly.
31
- # Include: **/*_spec*rb*, **/spec/**/*
32
- RSpec/FilePath:
33
- Exclude:
34
- - 'spec/schema_spec.rb'
35
- - 'spec/version_requirement_spec.rb'
27
+ - 'spec/metadata_json_lint/version_requirement_spec.rb'
36
28
 
37
29
  # Offense count: 2
38
30
  # Configuration parameters: .
@@ -49,7 +41,7 @@ RSpec/MultipleExpectations:
49
41
  # SupportedStyles: always, named_only
50
42
  RSpec/NamedSubject:
51
43
  Exclude:
52
- - 'spec/schema_spec.rb'
44
+ - 'spec/metadata_json_lint/schema_spec.rb'
53
45
 
54
46
  # Offense count: 1
55
47
  # Configuration parameters: AllowedConstants.
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Changelog
2
2
 
3
+ ## [4.1.0](https://github.com/voxpupuli/metadata-json-lint/tree/4.1.0) (2024-08-19)
4
+
5
+ [Full Changelog](https://github.com/voxpupuli/metadata-json-lint/compare/4.0.0...4.1.0)
6
+
7
+ **Implemented enhancements:**
8
+
9
+ - json-schema: Allow 5.x [\#145](https://github.com/voxpupuli/metadata-json-lint/pull/145) ([bastelfreak](https://github.com/bastelfreak))
10
+ - Add Ruby 3.3 to CI [\#142](https://github.com/voxpupuli/metadata-json-lint/pull/142) ([bastelfreak](https://github.com/bastelfreak))
11
+
3
12
  ## [4.0.0](https://github.com/voxpupuli/metadata-json-lint/tree/4.0.0) (2023-09-15)
4
13
 
5
14
  [Full Changelog](https://github.com/voxpupuli/metadata-json-lint/compare/3.0.3...4.0.0)
data/README.md CHANGED
@@ -11,7 +11,8 @@ The metadata-json-lint tool validates and lints `metadata.json` files in Puppet
11
11
 
12
12
  ## Compatibility
13
13
 
14
- metadata-json-lint is compatible with Ruby versions 2.0.0, 2.1.9, 2.3.1, and 2.4.1.
14
+ metadata-json-lint is tested on Ruby 2.7 to 3.3. The the authoritative source,
15
+ check the `required_ruby_version` attribute in the gemspec file.
15
16
 
16
17
  ## Installation
17
18
 
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'metadata-json-lint'
3
- s.version = '4.0.0'
3
+ s.version = '4.1.0'
4
4
  s.summary = 'metadata-json-lint /path/to/metadata.json'
5
5
  s.description = 'Utility to verify Puppet metadata.json files'
6
6
  s.authors = ['Vox Pupuli']
@@ -14,10 +14,10 @@ Gem::Specification.new do |s|
14
14
 
15
15
  s.required_ruby_version = '>= 2.7.0'
16
16
 
17
- s.add_runtime_dependency 'json-schema', '>= 2.8', '< 5.0'
17
+ s.add_runtime_dependency 'json-schema', '>= 2.8', '< 6.0'
18
18
  s.add_runtime_dependency 'semantic_puppet', '~> 1.0'
19
19
  s.add_runtime_dependency 'spdx-licenses', '~> 1.0'
20
20
  s.add_development_dependency 'rake', '~> 13.0', '>= 13.0.6'
21
21
  s.add_development_dependency 'rspec', '~> 3.12'
22
- s.add_development_dependency 'voxpupuli-rubocop', '~> 2.0'
22
+ s.add_development_dependency 'voxpupuli-rubocop', '~> 2.8.0'
23
23
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metadata-json-lint
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0
4
+ version: 4.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vox Pupuli
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-15 00:00:00.000000000 Z
11
+ date: 2024-08-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json-schema
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '2.8'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '5.0'
22
+ version: '6.0'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '2.8'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '5.0'
32
+ version: '6.0'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: semantic_puppet
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -98,14 +98,14 @@ dependencies:
98
98
  requirements:
99
99
  - - "~>"
100
100
  - !ruby/object:Gem::Version
101
- version: '2.0'
101
+ version: 2.8.0
102
102
  type: :development
103
103
  prerelease: false
104
104
  version_requirements: !ruby/object:Gem::Requirement
105
105
  requirements:
106
106
  - - "~>"
107
107
  - !ruby/object:Gem::Version
108
- version: '2.0'
108
+ version: 2.8.0
109
109
  description: Utility to verify Puppet metadata.json files
110
110
  email: voxpupuli@groups.io
111
111
  executables:
@@ -132,10 +132,10 @@ files:
132
132
  - lib/metadata-json-lint/version_requirement.rb
133
133
  - lib/metadata_json_lint.rb
134
134
  - metadata-json-lint.gemspec
135
+ - spec/metadata_json_lint/schema_spec.rb
136
+ - spec/metadata_json_lint/version_requirement_spec.rb
135
137
  - spec/metadata_json_lint_spec.rb
136
- - spec/schema_spec.rb
137
138
  - spec/spec_helper.rb
138
- - spec/version_requirement_spec.rb
139
139
  - tests/bad_license/Rakefile
140
140
  - tests/bad_license/expected
141
141
  - tests/bad_license/metadata.json
@@ -223,7 +223,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
223
223
  - !ruby/object:Gem::Version
224
224
  version: '0'
225
225
  requirements: []
226
- rubygems_version: 3.2.33
226
+ rubygems_version: 3.5.11
227
227
  signing_key:
228
228
  specification_version: 4
229
229
  summary: metadata-json-lint /path/to/metadata.json