mprm 0.9.0 → 0.9.1

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
  SHA1:
3
- metadata.gz: f52e3b7d9d1d577ec71b4586c8662444c8bdc480
4
- data.tar.gz: 2d9eb4be9a2e97efe3e5498ec6033763bb3677d4
3
+ metadata.gz: 0ab3ea9081a8ea621873be84748d748bbba0c979
4
+ data.tar.gz: 7652f68162e8a830e06515f2f47558c3be3d70c6
5
5
  SHA512:
6
- metadata.gz: 7c8389587a9d105b8cccf6d8f679e27658c805d207471542ffab4b897b5b22a150de32feff41e38c6b8b875c7a58b5c01ff2d02b2e7dfda7fe3c61d4760d9eb6
7
- data.tar.gz: ba89fb38852568b28012f0272cae23a1ca74ee7032ce7bda50b34d4eae88ca2af8f561ecda7e3986e81b4c10048ddb1eb9a83a004cd8173ce25745716aea4207
6
+ metadata.gz: 641abbb7903fec70eea0729dea5cb31ad370c4997eb352dd965022f29cebc9451118444394b1fd7be838e5f2fe9ab19601189622afbe5d7e155cfc84327e57ce
7
+ data.tar.gz: c6f55e7081a470808ada6b18f3423624a72f3b2bad244318cb86c9d8cbe74f6793a2f5c48d5be838ca9a520b0a264396b1ea0e4b07ad0db5128b719d06902a09
data/bin/mprm CHANGED
@@ -14,7 +14,6 @@ class Main < Clamp::Command
14
14
  option ["-o", "--origin"], "ORIGIN", "Origin for generated repository [DEB ONLY]"
15
15
  option ["--nocache"], :flag, "Don't cache md5 sums [DEB ONLY]"
16
16
  option ["-d", "--directory"], "DIRECTORY", "Move packages from directory to target", :default => false
17
- option ["-e", "--recent"], :flag, "Snapshot the most recent unique packages", :default => false
18
17
  option ["-k", "--gpg"], "GPG KEY", "Sign release files with this GPG key", :default => false
19
18
  option ["-x", "--gpg_passphrase"], "GPG PASSPHRASE", "Passphrase for GPG key", :default => false
20
19
  option ["-n", "--gpg_sign_algorithm"], "GPG SIGN ALGORITHM", "Digest algorithm to use for signing (e.g SHA1, SHA512, etc)", :default => "sha256"
@@ -30,10 +29,6 @@ class Main < Clamp::Command
30
29
  exit
31
30
  end
32
31
 
33
- if recent? && !snapshot
34
- raise "--snapshot is required for --recent"
35
- end
36
-
37
32
  if type == "deb" && !component
38
33
  raise "--deb option required for the --component option!"
39
34
  end
@@ -45,29 +40,14 @@ class Main < Clamp::Command
45
40
  r.path = path
46
41
  r.label = label
47
42
  r.origin = origin
48
- unless upload.nil?
49
- r.upload = upload
50
- end
51
43
  unless gpg.nil?
52
44
  r.gpg = gpg
53
45
  r.gpg_passphrase = gpg_passphrase
54
46
  r.gpg_sign_algorithm = gpg_sign_algorithm
55
47
  end
56
- unless accesskey.nil?
57
- r.accesskey = accesskey
58
- end
59
- unless secretkey.nil?
60
- r.secretkey = secretkey
61
- end
62
- unless snapshot.nil?
63
- r.snapshot = snapshot
64
- end
65
48
  unless component.nil?
66
49
  r.component = component
67
50
  end
68
- if recent?
69
- r.recent = recent?
70
- end
71
51
  unless directory.nil?
72
52
  r.directory = directory
73
53
  end
@@ -16,10 +16,7 @@ module MPRM
16
16
  attr_accessor :gpg
17
17
  attr_accessor :gpg_passphrase
18
18
  attr_accessor :gpg_sign_algorithm
19
- attr_accessor :secretkey
20
- attr_accessor :accesskey
21
19
  attr_accessor :directory
22
- attr_accessor :recent
23
20
  attr_accessor :nocache
24
21
 
25
22
  def create
@@ -1,3 +1,3 @@
1
1
  module PRM
2
- VERSION = "0.9.0"
2
+ VERSION = "0.9.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mprm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brett Gailey