metadata_json_deps 1.2.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 +5 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0d5cbd81f6a6b1281d13cd0b6f6ff249c9a935622c4f87401595fdb09a623440
4
- data.tar.gz: 9f6af49b04f2a84d6c59ed9a44b986861f4f6658c442b95bc9560b2e931c7bd8
3
+ metadata.gz: b04cd767d5b34fabad45b7df93b6a3c35b525e6002a6396129a49c0cbbf5b594
4
+ data.tar.gz: 76c608b940a190f859ac6b0955839f829845a4ab5c31a8539e777feb67351afd
5
5
  SHA512:
6
- metadata.gz: 44392f02833f18cdcdd0ea6837ab3c5fffc229516531fe9a9445918a4c9e6a2612a19891396f194ebe3d0ee2353bb9088d667f132b37f4089018b28cadefcafe
7
- data.tar.gz: a5efb27d3bc81ca6af968e66940c2b178db89e0e3a9f123185a0208dad934c691b4ffbf7bae70ace6043bf63ed9151d7f37373237a07ce836946023f625db850
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.2.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-07-04 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
@@ -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.4.10
117
+ rubygems_version: 3.4.19
118
118
  signing_key:
119
119
  specification_version: 4
120
120
  summary: Check your Puppet metadata dependencies