ruby_vault 0.1.0.pre.10 → 0.1.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 +1 -1
- data/lib/ruby_vault/commands/login.rb +1 -3
- data/lib/ruby_vault/commands/write.rb +1 -2
- data/lib/ruby_vault/options/definitions.rb +20 -2
- data/lib/ruby_vault/options/sets.rb +12 -1
- data/lib/ruby_vault/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 827485ac0f9afd5e5581522bbcef75b68680e59e15dad4ebd45ecc119a3ab2a2
|
4
|
+
data.tar.gz: bebf3026f6145efa50c577c7439dd3d3a64c865c68b68c7a759f4189b96afe75
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4422bc463987541d2fb54efbe68303fa0a9cf0b52e5dcf0d5dfbfaafdba1c6bbfa4e1d9741d953cd5b824655a978f5706c5569fd12758614541a76ea126595a9
|
7
|
+
data.tar.gz: edf516e7d551912c5e8012b20fef525cda10f5b86732b387e5104f76ecd86d9924c718eebdbf06d497a8d123688d9ae53406d42b5b74501ec95f275e666a01c2
|
data/Gemfile.lock
CHANGED
@@ -2,14 +2,32 @@
|
|
2
2
|
|
3
3
|
module RubyVault
|
4
4
|
module Options
|
5
|
-
|
5
|
+
HTTP_DEFINITIONS = [
|
6
|
+
%w[
|
7
|
+
-address
|
8
|
+
-agent-address
|
9
|
+
-ca-cert
|
10
|
+
-ca-path
|
11
|
+
-client-cert
|
12
|
+
-client-key
|
13
|
+
-mfa
|
14
|
+
-namespace
|
15
|
+
-tls-server-name
|
16
|
+
-unlock-key
|
17
|
+
].map do |o|
|
18
|
+
definition(name: o, option_type: :standard, value_type: :string)
|
19
|
+
end
|
20
|
+
].flatten.freeze
|
21
|
+
|
22
|
+
OTHER_DEFINITIONS = [
|
6
23
|
# string options
|
7
24
|
%w[
|
8
25
|
-method
|
9
|
-
-address
|
10
26
|
].map do |o|
|
11
27
|
definition(name: o, option_type: :standard, value_type: :string)
|
12
28
|
end
|
13
29
|
].flatten.freeze
|
30
|
+
|
31
|
+
DEFINITIONS = (HTTP_DEFINITIONS + OTHER_DEFINITIONS).flatten.freeze
|
14
32
|
end
|
15
33
|
end
|
@@ -3,7 +3,18 @@
|
|
3
3
|
module RubyVault
|
4
4
|
module Options
|
5
5
|
module Sets
|
6
|
-
HTTP_OPTIONS = %w[
|
6
|
+
HTTP_OPTIONS = %w[
|
7
|
+
-address
|
8
|
+
-agent-address
|
9
|
+
-ca-cert
|
10
|
+
-ca-path
|
11
|
+
-client-cert
|
12
|
+
-client-key
|
13
|
+
-mfa
|
14
|
+
-namespace
|
15
|
+
-tls-server-name
|
16
|
+
-unlock-key
|
17
|
+
].freeze
|
7
18
|
end
|
8
19
|
end
|
9
20
|
end
|
data/lib/ruby_vault/version.rb
CHANGED