reaper-man 0.1.14 → 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: 2f6e383df0c05dff73c3c314a8e1df0471fef8d0f2ef0e3e758a9d220e5bcaf2
4
- data.tar.gz: 5e5dd37437cbd180f05e92e8f24985b33fa05ad396e12e0915c2873fbbb2b965
3
+ metadata.gz: 538565d4610b0f9feba63b3fc4e9640a1a6efdac9b2c37a7614755017949c244
4
+ data.tar.gz: 552759d6bfb52eb86fa57cbd4f18d82505606f86dd85cd32f71a12b98c2e6ab6
5
5
  SHA512:
6
- metadata.gz: 8496ede386ed21e5c1c486bd0c6937165d9cd7c7cd1ba273feb77c338647536c2ccc5793828e8abc9eaed67ac01cbafb9e0f2ad1e1535bd7996ee5e1daafd0e7
7
- data.tar.gz: 89779d1c699ece075ce7b1ae53107f2d105f731f08c829f7182bcb9ab51c412658e9adb9ce0ba098d11de0e2dde0aa1c405b3595f1054dc3fc4d5f1cd3270b05
6
+ metadata.gz: 7e213ea9fe3453c9951df4d764cd4853b4d62887ff7f6bf2b85641831584756f9d637441674218c7b973bbd926a899e831c4d724f41ac3743efdc9a4e6fc5e20
7
+ data.tar.gz: 31779b627ab2de28b8f0365f85c14c2dec215d30dc34c8c8f5fb75cc62463b68dfd6b98cb9d4ff1d19ec02631f26008aa3d7c654467efa14b1431022e1932261
data/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ # v0.1.17
2
+ * [enhancement] Add global debug flag
3
+ * [enhancement] Validate path for package list
4
+
5
+ # v0.1.16
6
+ * [enhancement] Update Ruby version constraints
7
+
1
8
  # v0.1.14
2
9
  * [fix] Ignore undefined dependencies during repo generation
3
10
 
data/README.md CHANGED
@@ -44,7 +44,7 @@ or remove a specific version
44
44
  ### Create a repository
45
45
 
46
46
  ```
47
- > reaper-man repo create --packages-file registry.json --package-system apt --output-directory /tmp/test-repo
47
+ > reaper-man repo generate --packages-file registry.json --package-system apt --output-directory /tmp/test-repo
48
48
  ```
49
49
 
50
50
  This can also be used to update an existing repository structure.
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.14")
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.2", "< 2.6"
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.14
4
+ version: 0.1.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Roberts
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-10-26 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
@@ -155,20 +155,19 @@ 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.2'
160
+ version: '2.7'
161
161
  - - "<"
162
162
  - !ruby/object:Gem::Version
163
- version: '2.6'
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
- rubyforge_project:
171
- rubygems_version: 2.7.6
170
+ rubygems_version: 3.5.0.dev
172
171
  signing_key:
173
172
  specification_version: 4
174
173
  summary: Reap packages