rake_easy_rsa 0.2.0.pre.10 → 0.2.0.pre.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -3
- data/lib/rake_easy_rsa/mixins/easy_rsa_ensure_prerequisite.rb +17 -0
- data/lib/rake_easy_rsa/tasks/ca/create.rb +2 -0
- data/lib/rake_easy_rsa/tasks/certificate/renew.rb +2 -0
- data/lib/rake_easy_rsa/tasks/certificate/revoke.rb +2 -0
- data/lib/rake_easy_rsa/tasks/client/create.rb +2 -0
- data/lib/rake_easy_rsa/tasks/crl/generate.rb +2 -0
- data/lib/rake_easy_rsa/tasks/dh/generate.rb +2 -0
- data/lib/rake_easy_rsa/tasks/initialise.rb +2 -0
- data/lib/rake_easy_rsa/tasks/server/create.rb +2 -0
- data/lib/rake_easy_rsa/version.rb +1 -1
- data/rake_easy_rsa.gemspec +1 -1
- metadata +6 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0abca8c3203252c621132c64af656c029347802993d729e724825a03db5761b2
|
4
|
+
data.tar.gz: cc73683657eaf950d938fdd1f8f4af34458b7d0f9b9c72a41e6d4444c82ec290
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: db42ed38ba040e17823b1d978575756983cf4d4eb65d7622188b2286e167aa8ee79e115ce3c447f719ca7b1b79b244161db567fa9afc41267e8378d6969c813a
|
7
|
+
data.tar.gz: 0e81e5a0e4b359775d651389bcb58afa11521452056c6afb644e8906a4bf343f3468a18009761ffc019b76a23df825cb9fedf7003ae758bbc1963a86ceb964b8
|
data/Gemfile.lock
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
rake_easy_rsa (0.2.0.pre.
|
4
|
+
rake_easy_rsa (0.2.0.pre.11)
|
5
5
|
rake_dependencies (~> 2, < 3)
|
6
6
|
rake_factory (>= 0.23, < 1)
|
7
|
-
ruby_easy_rsa (
|
7
|
+
ruby_easy_rsa (~> 0.3)
|
8
8
|
semantic (~> 1.6.1)
|
9
9
|
|
10
10
|
GEM
|
@@ -78,7 +78,7 @@ GEM
|
|
78
78
|
diff-lcs (>= 1.2.0, < 2.0)
|
79
79
|
rspec-support (~> 3.9.0)
|
80
80
|
rspec-support (3.9.2)
|
81
|
-
ruby_easy_rsa (0.
|
81
|
+
ruby_easy_rsa (0.3.0)
|
82
82
|
lino (= 1.2.0.pre.2)
|
83
83
|
rubyzip (2.3.0)
|
84
84
|
sawyer (0.8.2)
|
@@ -0,0 +1,17 @@
|
|
1
|
+
require 'rake_factory'
|
2
|
+
|
3
|
+
module RakeEasyRSA
|
4
|
+
module Mixins
|
5
|
+
module EasyRSAEnsurePrerequisite
|
6
|
+
def self.included(base)
|
7
|
+
super(base)
|
8
|
+
base.class_eval do
|
9
|
+
parameter :ensure_task_name, default: :'easy_rsa:ensure'
|
10
|
+
default_prerequisites RakeFactory::DynamicValue.new { |t|
|
11
|
+
[t.ensure_task_name]
|
12
|
+
}
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -6,6 +6,7 @@ require_relative '../../mixins/ssl_parameters'
|
|
6
6
|
require_relative '../../mixins/algorithm_parameters'
|
7
7
|
require_relative '../../mixins/encrypt_key_parameters'
|
8
8
|
require_relative '../../mixins/gitkeep_parameters'
|
9
|
+
require_relative '../../mixins/easy_rsa_ensure_prerequisite'
|
9
10
|
|
10
11
|
module RakeEasyRSA
|
11
12
|
module Tasks
|
@@ -16,6 +17,7 @@ module RakeEasyRSA
|
|
16
17
|
include Mixins::AlgorithmParameters
|
17
18
|
include Mixins::EncryptKeyParameters
|
18
19
|
include Mixins::GitkeepParameters
|
20
|
+
include Mixins::EasyRSAEnsurePrerequisite
|
19
21
|
|
20
22
|
default_name :create
|
21
23
|
default_description "Create the CA certificate for the PKI"
|
@@ -4,6 +4,7 @@ require 'ruby_easy_rsa'
|
|
4
4
|
require_relative '../../mixins/global_parameters'
|
5
5
|
require_relative '../../mixins/ssl_parameters'
|
6
6
|
require_relative '../../mixins/encrypt_key_parameters'
|
7
|
+
require_relative '../../mixins/easy_rsa_ensure_prerequisite'
|
7
8
|
|
8
9
|
module RakeEasyRSA
|
9
10
|
module Tasks
|
@@ -12,6 +13,7 @@ module RakeEasyRSA
|
|
12
13
|
include Mixins::GlobalParameters
|
13
14
|
include Mixins::SSLParameters
|
14
15
|
include Mixins::EncryptKeyParameters
|
16
|
+
include Mixins::EasyRSAEnsurePrerequisite
|
15
17
|
|
16
18
|
default_name :renew
|
17
19
|
default_argument_names [:filename_base]
|
@@ -3,6 +3,7 @@ require 'ruby_easy_rsa'
|
|
3
3
|
|
4
4
|
require_relative '../../mixins/global_parameters'
|
5
5
|
require_relative '../../mixins/ssl_parameters'
|
6
|
+
require_relative '../../mixins/easy_rsa_ensure_prerequisite'
|
6
7
|
|
7
8
|
module RakeEasyRSA
|
8
9
|
module Tasks
|
@@ -10,6 +11,7 @@ module RakeEasyRSA
|
|
10
11
|
class Revoke < RakeFactory::Task
|
11
12
|
include Mixins::GlobalParameters
|
12
13
|
include Mixins::SSLParameters
|
14
|
+
include Mixins::EasyRSAEnsurePrerequisite
|
13
15
|
|
14
16
|
default_name :revoke
|
15
17
|
default_argument_names [:filename_base, :reason]
|
@@ -5,6 +5,7 @@ require_relative '../../mixins/global_parameters'
|
|
5
5
|
require_relative '../../mixins/ssl_parameters'
|
6
6
|
require_relative '../../mixins/algorithm_parameters'
|
7
7
|
require_relative '../../mixins/encrypt_key_parameters'
|
8
|
+
require_relative '../../mixins/easy_rsa_ensure_prerequisite'
|
8
9
|
|
9
10
|
module RakeEasyRSA
|
10
11
|
module Tasks
|
@@ -14,6 +15,7 @@ module RakeEasyRSA
|
|
14
15
|
include Mixins::SSLParameters
|
15
16
|
include Mixins::AlgorithmParameters
|
16
17
|
include Mixins::EncryptKeyParameters
|
18
|
+
include Mixins::EasyRSAEnsurePrerequisite
|
17
19
|
|
18
20
|
default_name :create
|
19
21
|
default_argument_names [:filename_base]
|
@@ -3,6 +3,7 @@ require 'ruby_easy_rsa'
|
|
3
3
|
|
4
4
|
require_relative '../../mixins/global_parameters'
|
5
5
|
require_relative '../../mixins/ssl_parameters'
|
6
|
+
require_relative '../../mixins/easy_rsa_ensure_prerequisite'
|
6
7
|
|
7
8
|
module RakeEasyRSA
|
8
9
|
module Tasks
|
@@ -10,6 +11,7 @@ module RakeEasyRSA
|
|
10
11
|
class Generate < RakeFactory::Task
|
11
12
|
include Mixins::GlobalParameters
|
12
13
|
include Mixins::SSLParameters
|
14
|
+
include Mixins::EasyRSAEnsurePrerequisite
|
13
15
|
|
14
16
|
default_name :generate
|
15
17
|
default_description(
|
@@ -3,6 +3,7 @@ require 'ruby_easy_rsa'
|
|
3
3
|
|
4
4
|
require_relative '../../mixins/global_parameters'
|
5
5
|
require_relative '../../mixins/ssl_parameters'
|
6
|
+
require_relative '../../mixins/easy_rsa_ensure_prerequisite'
|
6
7
|
|
7
8
|
module RakeEasyRSA
|
8
9
|
module Tasks
|
@@ -10,6 +11,7 @@ module RakeEasyRSA
|
|
10
11
|
class Generate < RakeFactory::Task
|
11
12
|
include Mixins::GlobalParameters
|
12
13
|
include Mixins::SSLParameters
|
14
|
+
include Mixins::EasyRSAEnsurePrerequisite
|
13
15
|
|
14
16
|
default_name :generate
|
15
17
|
default_description(
|
@@ -4,6 +4,7 @@ require 'ruby_easy_rsa'
|
|
4
4
|
require_relative '../mixins/global_parameters'
|
5
5
|
require_relative '../mixins/ssl_parameters'
|
6
6
|
require_relative '../mixins/gitkeep_parameters'
|
7
|
+
require_relative '../mixins/easy_rsa_ensure_prerequisite'
|
7
8
|
|
8
9
|
module RakeEasyRSA
|
9
10
|
module Tasks
|
@@ -11,6 +12,7 @@ module RakeEasyRSA
|
|
11
12
|
include Mixins::GlobalParameters
|
12
13
|
include Mixins::SSLParameters
|
13
14
|
include Mixins::GitkeepParameters
|
15
|
+
include Mixins::EasyRSAEnsurePrerequisite
|
14
16
|
|
15
17
|
default_name :initialise
|
16
18
|
default_description "Initialise the PKI working directory"
|
@@ -5,6 +5,7 @@ require_relative '../../mixins/global_parameters'
|
|
5
5
|
require_relative '../../mixins/ssl_parameters'
|
6
6
|
require_relative '../../mixins/algorithm_parameters'
|
7
7
|
require_relative '../../mixins/encrypt_key_parameters'
|
8
|
+
require_relative '../../mixins/easy_rsa_ensure_prerequisite'
|
8
9
|
|
9
10
|
module RakeEasyRSA
|
10
11
|
module Tasks
|
@@ -14,6 +15,7 @@ module RakeEasyRSA
|
|
14
15
|
include Mixins::SSLParameters
|
15
16
|
include Mixins::AlgorithmParameters
|
16
17
|
include Mixins::EncryptKeyParameters
|
18
|
+
include Mixins::EasyRSAEnsurePrerequisite
|
17
19
|
|
18
20
|
default_name :create
|
19
21
|
default_argument_names [:filename_base]
|
data/rake_easy_rsa.gemspec
CHANGED
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
|
|
25
25
|
|
26
26
|
spec.add_dependency 'rake_dependencies', '~> 2', '< 3'
|
27
27
|
spec.add_dependency 'rake_factory', '>= 0.23', '< 1'
|
28
|
-
spec.add_dependency 'ruby_easy_rsa', '0.
|
28
|
+
spec.add_dependency 'ruby_easy_rsa', '~> 0.3'
|
29
29
|
spec.add_dependency 'semantic', '~> 1.6.1'
|
30
30
|
|
31
31
|
spec.add_development_dependency 'bundler', '~> 2.1'
|
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.
|
4
|
+
version: 0.2.0.pre.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Toby Clemson
|
@@ -54,16 +54,16 @@ dependencies:
|
|
54
54
|
name: ruby_easy_rsa
|
55
55
|
requirement: !ruby/object:Gem::Requirement
|
56
56
|
requirements:
|
57
|
-
- -
|
57
|
+
- - "~>"
|
58
58
|
- !ruby/object:Gem::Version
|
59
|
-
version: 0.
|
59
|
+
version: '0.3'
|
60
60
|
type: :runtime
|
61
61
|
prerelease: false
|
62
62
|
version_requirements: !ruby/object:Gem::Requirement
|
63
63
|
requirements:
|
64
|
-
- -
|
64
|
+
- - "~>"
|
65
65
|
- !ruby/object:Gem::Version
|
66
|
-
version: 0.
|
66
|
+
version: '0.3'
|
67
67
|
- !ruby/object:Gem::Dependency
|
68
68
|
name: semantic
|
69
69
|
requirement: !ruby/object:Gem::Requirement
|
@@ -255,6 +255,7 @@ files:
|
|
255
255
|
- go
|
256
256
|
- lib/rake_easy_rsa.rb
|
257
257
|
- lib/rake_easy_rsa/mixins/algorithm_parameters.rb
|
258
|
+
- lib/rake_easy_rsa/mixins/easy_rsa_ensure_prerequisite.rb
|
258
259
|
- lib/rake_easy_rsa/mixins/encrypt_key_parameters.rb
|
259
260
|
- lib/rake_easy_rsa/mixins/gitkeep_parameters.rb
|
260
261
|
- lib/rake_easy_rsa/mixins/global_parameters.rb
|