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 +4 -4
- data/CHANGELOG.md +7 -0
- data/README.md +1 -1
- data/bin/reaper-man +1 -0
- data/lib/reaper-man/package_list.rb +3 -0
- data/lib/reaper-man/version.rb +1 -1
- data/reaper-man.gemspec +1 -1
- metadata +6 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 538565d4610b0f9feba63b3fc4e9640a1a6efdac9b2c37a7614755017949c244
|
4
|
+
data.tar.gz: 552759d6bfb52eb86fa57cbd4f18d82505606f86dd85cd32f71a12b98c2e6ab6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7e213ea9fe3453c9951df4d764cd4853b4d62887ff7f6bf2b85641831584756f9d637441674218c7b973bbd926a899e831c4d724f41ac3743efdc9a4e6fc5e20
|
7
|
+
data.tar.gz: 31779b627ab2de28b8f0365f85c14c2dec215d30dc34c8c8f5fb75cc62463b68dfd6b98cb9d4ff1d19ec02631f26008aa3d7c654467efa14b1431022e1932261
|
data/CHANGELOG.md
CHANGED
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
|
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
|
data/lib/reaper-man/version.rb
CHANGED
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 = "
|
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.
|
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:
|
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.
|
160
|
+
version: '2.7'
|
161
161
|
- - "<"
|
162
162
|
- !ruby/object:Gem::Version
|
163
|
-
version: '
|
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
|
-
|
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
|