metadata_json_deps 1.1.0 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/metadata_json_deps.rb +9 -2
  3. metadata +7 -7
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6c6840a3a6e17518cfef0344bf3c5cc0108f15d737283f2a9079b226102cffad
4
- data.tar.gz: 356bcd12f1b3f663fe34bd49065939e99312411fd23f19e9053cdd54768a24de
3
+ metadata.gz: b04cd767d5b34fabad45b7df93b6a3c35b525e6002a6396129a49c0cbbf5b594
4
+ data.tar.gz: 76c608b940a190f859ac6b0955839f829845a4ab5c31a8539e777feb67351afd
5
5
  SHA512:
6
- metadata.gz: 1a90c6e2465c768669076fab95b4874923ee746ef29ea6163947906e0cfec8c042768e54de9f89a9aa836f4b97eeede3e982490a8652a763d21778a2be1d1fb7
7
- data.tar.gz: 3e38f96adb93132466817b9413a296ba3dd2c8f8d4950755578e19183d66691ad971d2ac7aa47f0163a55754e37085209662e29de90296955600a2b32c0636b8
6
+ metadata.gz: 7d7e84f54f3a046d256e503b13c95a2d92a2277aeed5c0aa26761315b47eef4505f0e6361832b1a7bb2b8a45c4ede0358482f8a8790126f13eaf52ba82d57008
7
+ data.tar.gz: bc5cbe5abe2d26b526b4716358e155bc2a861507a8645866c17feb4efbd9555a521662790d297baf69cc6632e2f3a73362955f5fb9b53e878e367c42bdae0adf
@@ -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,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metadata_json_deps
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.3.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-05-26 00:00:00.000000000 Z
11
+ date: 2024-07-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: puppet_forge
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '2.2'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '5'
22
+ version: '6'
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.2'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '5'
32
+ version: '6'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: puppet_metadata
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -39,7 +39,7 @@ dependencies:
39
39
  version: 0.3.0
40
40
  - - "<"
41
41
  - !ruby/object:Gem::Version
42
- version: '4'
42
+ version: '5'
43
43
  type: :runtime
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
@@ -49,7 +49,7 @@ dependencies:
49
49
  version: 0.3.0
50
50
  - - "<"
51
51
  - !ruby/object:Gem::Version
52
- version: '4'
52
+ version: '5'
53
53
  - !ruby/object:Gem::Dependency
54
54
  name: rspec
55
55
  requirement: !ruby/object:Gem::Requirement
@@ -114,7 +114,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
114
114
  - !ruby/object:Gem::Version
115
115
  version: '0'
116
116
  requirements: []
117
- rubygems_version: 3.3.26
117
+ rubygems_version: 3.4.19
118
118
  signing_key:
119
119
  specification_version: 4
120
120
  summary: Check your Puppet metadata dependencies