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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c75d41bc2ac065aa831462f3b651b1eb201db0620b3f284df11a9314f617d30b
4
- data.tar.gz: 95f48c3de6961c6153fed0ae8aeb903c9bddbf746605372550082c7da598a1a0
3
+ metadata.gz: 827485ac0f9afd5e5581522bbcef75b68680e59e15dad4ebd45ecc119a3ab2a2
4
+ data.tar.gz: bebf3026f6145efa50c577c7439dd3d3a64c865c68b68c7a759f4189b96afe75
5
5
  SHA512:
6
- metadata.gz: 9858f8bbee18b9b15bb074dd607f70462fbe7daf20e77aaf568a4ec87a4d31a8f084d68bc7e5ecbc765934a83316a36ac1187f4695dce4c40ed1c1da9141f500
7
- data.tar.gz: 248d5b79ef60cd562f578763dc246e2b767b5e254293d4ee76c8fff7b43561840ca25b343191642572f33464d9f37e48f5b5568c6d20fea740806ff6fb17062e
6
+ metadata.gz: 4422bc463987541d2fb54efbe68303fa0a9cf0b52e5dcf0d5dfbfaafdba1c6bbfa4e1d9741d953cd5b824655a978f5706c5569fd12758614541a76ea126595a9
7
+ data.tar.gz: edf516e7d551912c5e8012b20fef525cda10f5b86732b387e5104f76ecd86d9924c718eebdbf06d497a8d123688d9ae53406d42b5b74501ec95f275e666a01c2
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ruby_vault (0.1.0.pre.10)
4
+ ruby_vault (0.1.0.pre.11)
5
5
  immutable-struct (~> 2.4)
6
6
  lino (~> 3.0)
7
7
 
@@ -12,9 +12,7 @@ module RubyVault
12
12
 
13
13
  # @!visibility private
14
14
  def options
15
- super
16
- .concat(Options::Sets::HTTP_OPTIONS)
17
- .concat(['-method'])
15
+ super + Options::Sets::HTTP_OPTIONS + ['-method']
18
16
  end
19
17
 
20
18
  def arguments(parameters)
@@ -12,8 +12,7 @@ module RubyVault
12
12
 
13
13
  # @!visibility private
14
14
  def options
15
- super
16
- .concat(Options::Sets::HTTP_OPTIONS)
15
+ super + Options::Sets::HTTP_OPTIONS
17
16
  end
18
17
 
19
18
  # @!visibility private
@@ -2,14 +2,32 @@
2
2
 
3
3
  module RubyVault
4
4
  module Options
5
- DEFINITIONS = [
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[-address].freeze
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RubyVault
4
- VERSION = '0.1.0.pre.10'
4
+ VERSION = '0.1.0.pre.11'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby_vault
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.pre.10
4
+ version: 0.1.0.pre.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - InfraBlocks Maintainers