metadata-json-lint 4.2.0 → 4.2.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b60ce6545987408a2b495837f6817aec37c8caf185ed8d607ecc2067421e4604
4
- data.tar.gz: b945326563aa3db151f3c11dc52bb8a3aca36920d541dc3a23a2ed1bb0c85ee3
3
+ metadata.gz: 618157af48848153bddab21052da6d58df6f5c88af598b1722a3e0d76d2e1817
4
+ data.tar.gz: a55aca8b94ff158854a4a8997de5d6639323a5da7b83d47c0e16a09a6c206438
5
5
  SHA512:
6
- metadata.gz: 6248271c94ffdaa61d9236884c01af123114f14850885f09d7699ebeaa639f262fc476834781b80c6ae413ef434b8cec269368f63a54681f8c39ad178a1a640f
7
- data.tar.gz: 61690474cee73b0fc0f14a32dd9c87d3a82ea682a3754e695acc4c87d261093f531ad0407a95d91d68d317ba8c5cd409bb9d80ff8c995a90d40b35240fe7cdb6
6
+ metadata.gz: 5960265ab1a4e15345c5c17a60f4eddf1ccc4a1ba21c7c58dd4a695a1dacff7251acc3cac09eaee3a3b8e540533d8cf431de1d9253cd207752176b027ad9b433
7
+ data.tar.gz: 70d54d7bb0d4a686b630815bb63b8d7b7681030c13de32e67a96fbc41d5a72e7167c2e4dabfbffd719c03e520be3c9fe3cd92577be4575fee04a3d23e800718d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## [4.2.1](https://github.com/voxpupuli/metadata-json-lint/tree/4.2.1) (2025-02-23)
4
+
5
+ [Full Changelog](https://github.com/voxpupuli/metadata-json-lint/compare/4.2.0...4.2.1)
6
+
7
+ **Fixed bugs:**
8
+
9
+ - Update test for new json 2.10.0 release [\#159](https://github.com/voxpupuli/metadata-json-lint/pull/159) ([bastelfreak](https://github.com/bastelfreak))
10
+
11
+ **Merged pull requests:**
12
+
13
+ - Add test for openvox requirement [\#148](https://github.com/voxpupuli/metadata-json-lint/pull/148) ([bastelfreak](https://github.com/bastelfreak))
14
+
3
15
  ## [4.2.0](https://github.com/voxpupuli/metadata-json-lint/tree/4.2.0) (2025-01-24)
4
16
 
5
17
  [Full Changelog](https://github.com/voxpupuli/metadata-json-lint/compare/4.1.0...4.2.0)
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'metadata-json-lint'
3
- s.version = '4.2.0'
3
+ s.version = '4.2.1'
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']
@@ -8,6 +8,27 @@ describe MetadataJsonLint do
8
8
  it { expect { described_class.validate_requirements!(requirements) }.not_to raise_error }
9
9
  end
10
10
 
11
+ context 'with openvox' do
12
+ let :requirements do
13
+ [
14
+ { 'name' => 'openvox', 'version_requirement' => '>= 7.0.0 < 9.0.0' },
15
+ ]
16
+ end
17
+
18
+ it { expect { described_class.validate_requirements!(requirements) }.not_to raise_error }
19
+ end
20
+
21
+ context 'with openvox and puppet' do
22
+ let :requirements do
23
+ [
24
+ { 'name' => 'puppet', 'version_requirement' => '>= 6.0.0 < 8.0.0' },
25
+ { 'name' => 'openvox', 'version_requirement' => '>= 7.0.0 < 9.0.0' },
26
+ ]
27
+ end
28
+
29
+ it { expect { described_class.validate_requirements!(requirements) }.not_to raise_error }
30
+ end
31
+
11
32
  context 'with pe' do
12
33
  let :requirements do
13
34
  [
@@ -1 +1 @@
1
- Error: Unable to parse metadata.json:.* unexpected token at
1
+ Error: Unable to parse metadata.json:
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metadata-json-lint
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.2.0
4
+ version: 4.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vox Pupuli
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-01-24 00:00:00.000000000 Z
10
+ date: 2025-02-23 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: json-schema