rake_easy_rsa 0.2.0.pre.9 → 0.2.0.pre.10

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: 57d21741dbc6e7ee89ffe8dba3b97767b0a92ed7a6f80238a7bfa0324f7331f0
4
- data.tar.gz: 9178fcb4ed75c95ec2ec2b142e1529ccb81923acfc991ef1e2a5659c207e3540
3
+ metadata.gz: 8b6ec4947a55dc8358fcebe23c1032818d053f1f6ae12c8b8f213d20390c935d
4
+ data.tar.gz: 031f5dd35591d3de6fe1eecbbbe3f57b09ec77fbd5a037de81d826e61de867fd
5
5
  SHA512:
6
- metadata.gz: 8e739d3ccf0d0806eee3f67101d89442e1c727ec05b489db5cfe23a53c407d3558e6aff9b9aae37cb575b1cc9c958ee66ab32e93ba33152cf5184a70d27a19b0
7
- data.tar.gz: 74dabc82285806dfae393c5426ebdb1982ece3051170152dd1622fb42afb9ec2d83887321907c4b35a1161721d147cafecf31480499c8c4b24a9a401288d8ccf
6
+ metadata.gz: f63dff6eca2a44dd03a4b31153f687984d991369fdcd2ca9fcfb09197fe0eaac2e2a9fd0fc8b7cd1d36da2ffb40e78070fb18bcd7a2b2867be89cf125a1eedaf
7
+ data.tar.gz: 2473ed256dbb8162435e0c1987bc6072446f39a7755c7a3d78ae5e2c98cf9ba4caafe47c00ebef529acde3b271b920a3b899a024d35c4160315019d36dc0ecc0
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rake_easy_rsa (0.2.0.pre.9)
4
+ rake_easy_rsa (0.2.0.pre.10)
5
5
  rake_dependencies (~> 2, < 3)
6
6
  rake_factory (>= 0.23, < 1)
7
7
  ruby_easy_rsa (= 0.2.0.pre.11)
@@ -12,15 +12,19 @@ module RakeEasyRSA
12
12
  include Mixins::SSLParameters
13
13
 
14
14
  default_name :revoke
15
- default_argument_names [:filename_base]
16
- default_description "Revoke a certificate of the PKI"
15
+ default_argument_names [:filename_base, :reason]
16
+ default_description 'Revoke a certificate of the PKI'
17
+
18
+ parameter :reason, default: 'unspecified'
17
19
 
18
20
  action do |t, args|
19
21
  puts "Revoking certificate '#{args.filename_base}'... "
22
+ reason = args.reason || t.reason
20
23
  RubyEasyRSA.revoke(
21
24
  t.parameter_values.merge(
25
+ reason: reason,
22
26
  filename_base: args.filename_base))
23
- puts "Done."
27
+ puts 'Done.'
24
28
  end
25
29
  end
26
30
  end
@@ -1,3 +1,3 @@
1
1
  module RakeEasyRSA
2
- VERSION = '0.2.0.pre.9'
2
+ VERSION = '0.2.0.pre.10'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rake_easy_rsa
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0.pre.9
4
+ version: 0.2.0.pre.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Toby Clemson