ruby_easy_rsa 0.2.0.pre.6 → 0.2.0.pre.7

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: 83be89f01f04e1303768f190cff9ad9b7547d7a6b02e3ea4bea4b7eec4045ac5
4
- data.tar.gz: 6ffd6200e865ba3068a4ecc08dd2206a85c3c0b4a653ebcf4530c2c034313da2
3
+ metadata.gz: 0ce9d45885d9c0236d943fc8473c484c7714faf56d29965700bb1834283a1804
4
+ data.tar.gz: c5012987c4df9b6ab8c4d141c06d10080fe6875119684163bad833760788d275
5
5
  SHA512:
6
- metadata.gz: 1cfe9fcbf78cdbb22509bf712d55027f90465143c93e476ce17970b997a748136b8a57297dfa86143b4320f887b6fca2bd871702f1cd71ce796ec35378554c3f
7
- data.tar.gz: e8112afd40cbd9483480d359d81f189d8d02cdbebd70e6eea782e374fed0fdb8ae98edcc0b46c05ed347af35ad36b375ff348bbfaebbf403f6467b6d5693a02b
6
+ metadata.gz: 9f5ac119b5cc91e124a3b21eefd5f9487879eb13f7bc6ac382847b97c8391dd059749d80af7585bde5a0a603dcc66d6b2c2641f273f7d4fc294e6d595dcf583e
7
+ data.tar.gz: 99920f96ba7c782bc31a149270ae87a6157775fce154e26312f0992fb73ac3576a21c1986e6cac73f4c2a71e846b3c0c4194d38ccca05acfca19651e7b5d7140
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ruby_easy_rsa (0.2.0.pre.6)
4
+ ruby_easy_rsa (0.2.0.pre.7)
5
5
  lino (= 1.2.0.pre.2)
6
6
 
7
7
  GEM
@@ -5,6 +5,7 @@ require_relative 'commands/gen_req'
5
5
  require_relative 'commands/sign_req'
6
6
  require_relative 'commands/build_client_full'
7
7
  require_relative 'commands/build_server_full'
8
+ require_relative 'commands/revoke'
8
9
 
9
10
  module RubyEasyRSA
10
11
  module Commands
@@ -0,0 +1,23 @@
1
+ require 'lino'
2
+
3
+ require_relative 'base'
4
+ require_relative 'mixins/global_config'
5
+ require_relative 'mixins/ssl_config'
6
+
7
+ module RubyEasyRSA
8
+ module Commands
9
+ class Revoke < Base
10
+ include Mixins::GlobalConfig
11
+ include Mixins::SSLConfig
12
+
13
+ def configure_command(builder, opts)
14
+ filename_base = opts[:filename_base]
15
+
16
+ builder = builder.with_subcommand('revoke')
17
+ builder = builder.with_argument(filename_base)
18
+ builder = super(builder, opts)
19
+ builder
20
+ end
21
+ end
22
+ end
23
+ end
@@ -1,3 +1,3 @@
1
1
  module RubyEasyRSA
2
- VERSION = '0.2.0.pre.6'
2
+ VERSION = '0.2.0.pre.7'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby_easy_rsa
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0.pre.6
4
+ version: 0.2.0.pre.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Toby Clemson
@@ -173,6 +173,7 @@ files:
173
173
  - lib/ruby_easy_rsa/commands/mixins/netscape_extensions_config.rb
174
174
  - lib/ruby_easy_rsa/commands/mixins/ssl_config.rb
175
175
  - lib/ruby_easy_rsa/commands/mixins/sub_ca_config.rb
176
+ - lib/ruby_easy_rsa/commands/revoke.rb
176
177
  - lib/ruby_easy_rsa/commands/sign_req.rb
177
178
  - lib/ruby_easy_rsa/version.rb
178
179
  - ruby_easy_rsa.gemspec