reaper-man 0.1.16 → 0.1.17

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2bbf13ad88d42d664d1a59174b7472b3516974f4fbca42741509128d8d118660
4
- data.tar.gz: 8ad4195b8ae031277e3e8a8f67324360d2ddb941ef04ed21acd1a13a193495b6
3
+ metadata.gz: 538565d4610b0f9feba63b3fc4e9640a1a6efdac9b2c37a7614755017949c244
4
+ data.tar.gz: 552759d6bfb52eb86fa57cbd4f18d82505606f86dd85cd32f71a12b98c2e6ab6
5
5
  SHA512:
6
- metadata.gz: 94e65fc9f9f4067498ba42c64d0db8bb56f1a4958cd0a322a2940efebf259f2a4486550a954c723294594ac8002ce23874f0bb21f10c47713eeaf4dbd8dad794
7
- data.tar.gz: 4843d2d153f323c5c5f72cba8c22fe9bf06b92b6befec7fb2f8d51f3bb2c23af1372281761bb4db9f3a65b4b4408c864b7c779c9bd97ad77a8568eac68913744
6
+ metadata.gz: 7e213ea9fe3453c9951df4d764cd4853b4d62887ff7f6bf2b85641831584756f9d637441674218c7b973bbd926a899e831c4d724f41ac3743efdc9a4e6fc5e20
7
+ data.tar.gz: 31779b627ab2de28b8f0365f85c14c2dec215d30dc34c8c8f5fb75cc62463b68dfd6b98cb9d4ff1d19ec02631f26008aa3d7c654467efa14b1431022e1932261
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # v0.1.17
2
+ * [enhancement] Add global debug flag
3
+ * [enhancement] Validate path for package list
4
+
1
5
  # v0.1.16
2
6
  * [enhancement] Update Ruby version constraints
3
7
 
data/bin/reaper-man CHANGED
@@ -11,6 +11,7 @@ Bogo::Cli::Setup.define do
11
11
  end
12
12
 
13
13
  common_options = lambda do
14
+ on :d, :debug, 'Enable debug output'
14
15
  on :c, :config=, 'Path to configuration file'
15
16
  on :k, :'signing-key=', 'Path to key for signing generated files'
16
17
  on :t, :'signing-type=', 'Signing type name'
@@ -48,6 +48,9 @@ module ReaperMan
48
48
  # @param path [String] path to package list
49
49
  # @param args [Hash] configuration
50
50
  def initialize(path, args = {})
51
+ if path.nil? || path.empty?
52
+ raise ArgumentError, "Path is required"
53
+ end
51
54
  @path = path
52
55
  @options = args.dup
53
56
  @content = Smash.new
@@ -1,4 +1,4 @@
1
1
  module ReaperMan
2
2
  # current library version
3
- VERSION = Gem::Version.new("0.1.16")
3
+ VERSION = Gem::Version.new("0.1.17")
4
4
  end
data/reaper-man.gemspec CHANGED
@@ -9,7 +9,7 @@ Gem::Specification.new do |s|
9
9
  s.homepage = "https://github.com/spox/reaper-man"
10
10
  s.description = "Grow code, reap packages"
11
11
  s.require_path = "lib"
12
- s.required_ruby_version = "~> 2.6", "< 2.8"
12
+ s.required_ruby_version = ">= 2.7", "< 4"
13
13
  s.add_runtime_dependency "bogo-cli"
14
14
  s.add_runtime_dependency "childprocess"
15
15
  s.add_runtime_dependency "xml-simple"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: reaper-man
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.16
4
+ version: 0.1.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Roberts
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-07-22 00:00:00.000000000 Z
11
+ date: 2023-05-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bogo-cli
@@ -149,26 +149,26 @@ files:
149
149
  homepage: https://github.com/spox/reaper-man
150
150
  licenses: []
151
151
  metadata: {}
152
- post_install_message:
152
+ post_install_message:
153
153
  rdoc_options: []
154
154
  require_paths:
155
155
  - lib
156
156
  required_ruby_version: !ruby/object:Gem::Requirement
157
157
  requirements:
158
- - - "~>"
158
+ - - ">="
159
159
  - !ruby/object:Gem::Version
160
- version: '2.6'
160
+ version: '2.7'
161
161
  - - "<"
162
162
  - !ruby/object:Gem::Version
163
- version: '2.8'
163
+ version: '4'
164
164
  required_rubygems_version: !ruby/object:Gem::Requirement
165
165
  requirements:
166
166
  - - ">="
167
167
  - !ruby/object:Gem::Version
168
168
  version: '0'
169
169
  requirements: []
170
- rubygems_version: 3.1.2
171
- signing_key:
170
+ rubygems_version: 3.5.0.dev
171
+ signing_key:
172
172
  specification_version: 4
173
173
  summary: Reap packages
174
174
  test_files: []