ruby_easy_rsa 0.2.0.pre.10 → 0.6.0.pre.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +11 -11
- data/lib/ruby_easy_rsa.rb +16 -0
- data/lib/ruby_easy_rsa/version.rb +1 -1
- data/ruby_easy_rsa.gemspec +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a379658d6fb6c0ec54828c03f950f2997373ef201458fc707aa7915c7fe1a94a
|
4
|
+
data.tar.gz: e874dda15a3eb89e818b8b4e6434a251a5cfad2b873b30297f645ef27527a17e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 12ffb1384acec2d4c6994c30a4242321b544a12ccf266342c6afbb8e25b2542aa6b98c8a4ee4d7ebfbc02a2db4006e2f8ce5b388712dec80db25ed59913769fd
|
7
|
+
data.tar.gz: 03521dac31fd36e878ef11184df98af272bcec0a191e5d0c9ff402c31681a1c8588659637acfcf2935164a182ab7a46b49a4b1789ef14d438cbb85813a9b9814
|
data/Gemfile.lock
CHANGED
@@ -1,18 +1,18 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
ruby_easy_rsa (0.
|
5
|
-
lino (
|
4
|
+
ruby_easy_rsa (0.6.0.pre.1)
|
5
|
+
lino (~> 1.3)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
activesupport (6.0.
|
10
|
+
activesupport (6.0.3.1)
|
11
11
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
12
12
|
i18n (>= 0.7, < 2)
|
13
13
|
minitest (~> 5.1)
|
14
14
|
tzinfo (~> 1.1)
|
15
|
-
zeitwerk (~> 2.2)
|
15
|
+
zeitwerk (~> 2.2, >= 2.2.2)
|
16
16
|
addressable (2.7.0)
|
17
17
|
public_suffix (>= 2.0.2, < 5.0)
|
18
18
|
colored2 (3.1.2)
|
@@ -26,16 +26,16 @@ GEM
|
|
26
26
|
concurrent-ruby (~> 1.0)
|
27
27
|
i18n (1.8.2)
|
28
28
|
concurrent-ruby (~> 1.0)
|
29
|
-
lino (1.
|
29
|
+
lino (1.3.0)
|
30
30
|
hamster (~> 3.0)
|
31
31
|
open4 (~> 1.3)
|
32
|
-
minitest (5.14.
|
32
|
+
minitest (5.14.1)
|
33
33
|
multipart-post (2.1.1)
|
34
34
|
octokit (4.18.0)
|
35
35
|
faraday (>= 0.9)
|
36
36
|
sawyer (~> 0.8.0, >= 0.5.3)
|
37
37
|
open4 (1.3.4)
|
38
|
-
public_suffix (4.0.
|
38
|
+
public_suffix (4.0.5)
|
39
39
|
rake (13.0.1)
|
40
40
|
rake_circle_ci (0.7.0)
|
41
41
|
colored2 (~> 3.1)
|
@@ -58,15 +58,15 @@ GEM
|
|
58
58
|
rspec-core (~> 3.9.0)
|
59
59
|
rspec-expectations (~> 3.9.0)
|
60
60
|
rspec-mocks (~> 3.9.0)
|
61
|
-
rspec-core (3.9.
|
62
|
-
rspec-support (~> 3.9.
|
63
|
-
rspec-expectations (3.9.
|
61
|
+
rspec-core (3.9.2)
|
62
|
+
rspec-support (~> 3.9.3)
|
63
|
+
rspec-expectations (3.9.2)
|
64
64
|
diff-lcs (>= 1.2.0, < 2.0)
|
65
65
|
rspec-support (~> 3.9.0)
|
66
66
|
rspec-mocks (3.9.1)
|
67
67
|
diff-lcs (>= 1.2.0, < 2.0)
|
68
68
|
rspec-support (~> 3.9.0)
|
69
|
-
rspec-support (3.9.
|
69
|
+
rspec-support (3.9.3)
|
70
70
|
sawyer (0.8.2)
|
71
71
|
addressable (>= 2.3.5)
|
72
72
|
faraday (> 0.8, < 2.0)
|
data/lib/ruby_easy_rsa.rb
CHANGED
@@ -47,10 +47,18 @@ module RubyEasyRSA
|
|
47
47
|
Commands::BuildServerFull.new.execute(opts)
|
48
48
|
end
|
49
49
|
|
50
|
+
def build_client_server_full(opts = {})
|
51
|
+
Commands::BuildClientServerFull.new.execute(opts)
|
52
|
+
end
|
53
|
+
|
50
54
|
def revoke(opts = {})
|
51
55
|
Commands::Revoke.new.execute(opts)
|
52
56
|
end
|
53
57
|
|
58
|
+
def renew(opts = {})
|
59
|
+
Commands::Renew.new.execute(opts)
|
60
|
+
end
|
61
|
+
|
54
62
|
def gen_crl(opts = {})
|
55
63
|
Commands::GenCRL.new.execute(opts)
|
56
64
|
end
|
@@ -67,6 +75,10 @@ module RubyEasyRSA
|
|
67
75
|
Commands::ShowCert.new.execute(opts)
|
68
76
|
end
|
69
77
|
|
78
|
+
def show_ca(opts = {})
|
79
|
+
Commands::ShowCA.new.execute(opts)
|
80
|
+
end
|
81
|
+
|
70
82
|
def import_req(opts = {})
|
71
83
|
Commands::ImportReq.new.execute(opts)
|
72
84
|
end
|
@@ -86,6 +98,10 @@ module RubyEasyRSA
|
|
86
98
|
def set_ec_pass(opts = {})
|
87
99
|
Commands::SetECPass.new.execute(opts)
|
88
100
|
end
|
101
|
+
|
102
|
+
def upgrade(opts = {})
|
103
|
+
Commands::Upgrade.new.execute(opts)
|
104
|
+
end
|
89
105
|
end
|
90
106
|
extend ClassMethods
|
91
107
|
|
data/ruby_easy_rsa.gemspec
CHANGED
@@ -24,7 +24,7 @@ Gem::Specification.new do |spec|
|
|
24
24
|
|
25
25
|
spec.required_ruby_version = '>= 2.6'
|
26
26
|
|
27
|
-
spec.add_dependency 'lino', '1.
|
27
|
+
spec.add_dependency 'lino', '~> 1.3'
|
28
28
|
|
29
29
|
spec.add_development_dependency 'bundler', '~> 2.1'
|
30
30
|
spec.add_development_dependency 'rake', '~> 13.0'
|
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby_easy_rsa
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0.pre.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Toby Clemson
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-05-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: lino
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.
|
19
|
+
version: '1.3'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 1.
|
26
|
+
version: '1.3'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|