metadata_json_deps 1.2.0 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/metadata_json_deps.rb +9 -2
  4. metadata +10 -16
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0d5cbd81f6a6b1281d13cd0b6f6ff249c9a935622c4f87401595fdb09a623440
4
- data.tar.gz: 9f6af49b04f2a84d6c59ed9a44b986861f4f6658c442b95bc9560b2e931c7bd8
3
+ metadata.gz: bd105aaf538c01e9f5fe8f2fd38be44df49aab7350f12c70f5fa79242bf091bb
4
+ data.tar.gz: 1f17a8518e2413f70b07c362f6dd47074c0d72cd67b5cd25713051b16c98a43e
5
5
  SHA512:
6
- metadata.gz: 44392f02833f18cdcdd0ea6837ab3c5fffc229516531fe9a9445918a4c9e6a2612a19891396f194ebe3d0ee2353bb9088d667f132b37f4089018b28cadefcafe
7
- data.tar.gz: a5efb27d3bc81ca6af968e66940c2b178db89e0e3a9f123185a0208dad934c691b4ffbf7bae70ace6043bf63ed9151d7f37373237a07ce836946023f625db850
6
+ metadata.gz: 89c9f778b9817330646bb4d94edb613ec4bfe31bd765088c55de0ddca8507b247bf2813ba1a1fe796f6c36fd9a602fb653c0c163725c8476b6005521d4088d40
7
+ data.tar.gz: a24903addcb8777ea77d9f80b88629c4353faf5501009c51146cbc2b395a2f4957db86e85c63b4156f91e7923899da969aaa04a6c01231ec8698945315085f69
data/README.md CHANGED
@@ -4,7 +4,7 @@ The metadata-json-deps tool validates dependencies in `metadata.json` files in P
4
4
 
5
5
  ## Compatibility
6
6
 
7
- metadata-json-deps is compatible with Ruby versions 2.4.0 and newer.
7
+ metadata-json-deps is compatible with Ruby versions 3.1 and newer.
8
8
 
9
9
  ## Installation
10
10
 
@@ -77,6 +77,12 @@ module MetadataJsonDeps
77
77
  [requirement.to_s, new]
78
78
  end
79
79
 
80
+ # @summary Run the application
81
+ # @param [Array[String]] filenames
82
+ # The filenames to run on
83
+ # @param [Boolean] verbose
84
+ # Whether or not to run in verbose mode
85
+ # @return [Integer] the exit code
80
86
  def self.run(filenames, verbose = false)
81
87
  forge = ForgeVersions.new
82
88
 
@@ -111,9 +117,10 @@ module MetadataJsonDeps
111
117
  end
112
118
  end
113
119
  end
114
-
115
- exit_code
116
120
  end
121
+
122
+ exit_code
117
123
  rescue Interrupt
124
+ 0
118
125
  end
119
126
  end
metadata CHANGED
@@ -1,35 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metadata_json_deps
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ewoud Kohl van Wijngaarden
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-07-04 00:00:00.000000000 Z
11
+ date: 2025-01-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: puppet_forge
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
18
- - !ruby/object:Gem::Version
19
- version: '2.2'
20
- - - "<"
17
+ - - "~>"
21
18
  - !ruby/object:Gem::Version
22
- version: '6'
19
+ version: '6.0'
23
20
  type: :runtime
24
21
  prerelease: false
25
22
  version_requirements: !ruby/object:Gem::Requirement
26
23
  requirements:
27
- - - ">="
28
- - !ruby/object:Gem::Version
29
- version: '2.2'
30
- - - "<"
24
+ - - "~>"
31
25
  - !ruby/object:Gem::Version
32
- version: '6'
26
+ version: '6.0'
33
27
  - !ruby/object:Gem::Dependency
34
28
  name: puppet_metadata
35
29
  requirement: !ruby/object:Gem::Requirement
@@ -39,7 +33,7 @@ dependencies:
39
33
  version: 0.3.0
40
34
  - - "<"
41
35
  - !ruby/object:Gem::Version
42
- version: '4'
36
+ version: '5'
43
37
  type: :runtime
44
38
  prerelease: false
45
39
  version_requirements: !ruby/object:Gem::Requirement
@@ -49,7 +43,7 @@ dependencies:
49
43
  version: 0.3.0
50
44
  - - "<"
51
45
  - !ruby/object:Gem::Version
52
- version: '4'
46
+ version: '5'
53
47
  - !ruby/object:Gem::Dependency
54
48
  name: rspec
55
49
  requirement: !ruby/object:Gem::Requirement
@@ -107,14 +101,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
107
101
  requirements:
108
102
  - - ">="
109
103
  - !ruby/object:Gem::Version
110
- version: 2.4.0
104
+ version: '3.1'
111
105
  required_rubygems_version: !ruby/object:Gem::Requirement
112
106
  requirements:
113
107
  - - ">="
114
108
  - !ruby/object:Gem::Version
115
109
  version: '0'
116
110
  requirements: []
117
- rubygems_version: 3.4.10
111
+ rubygems_version: 3.5.22
118
112
  signing_key:
119
113
  specification_version: 4
120
114
  summary: Check your Puppet metadata dependencies