ruby_vault 0.1.0.pre.5 → 0.1.0.pre.8

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fb03f600d2c47bd04285941594a82ef4f3e0db9b8fc7e5092326f96fbaca5e9e
4
- data.tar.gz: 0b83a87b3ab6690737170e14aab376e83ef519df45d25c75c49fc86789b85be9
3
+ metadata.gz: 62110930e607942954617c3b3e015156866f2166158844da80cf957c0a0d3438
4
+ data.tar.gz: 52b02d0f04119342946a6ec40f5397999e07ddb645616de73be9f3f71e63fa05
5
5
  SHA512:
6
- metadata.gz: 120ebda0f8284dfbd8fb8995554953725022f60aa8ccb114e060bfaca71c836e19907c2954f15f41876c9ea8ecd51bb22910aecf9d8472025850a7c383fbad78
7
- data.tar.gz: dd6e94ffb5afeeffba98af0b8df0e9c992c772ea62b5524032862f9249c74959767d3985d37da1354116f1ea7243963878b2e3d824c457521f70ae3be8f69613
6
+ metadata.gz: cc1c0353c34ebd42bf666ff1e0b978772876d95850dea6dacafa74deac7b31e70454f0c92694b4c19b59e6ace81030d44eb44f61f8bb2e8895c31e160779c8c1
7
+ data.tar.gz: d40b78ab8bc8253b8511d3dc573e5f7868b4108c3006f4b5feeeb74604a25c2adf0d4d35b7d4e838ef34e63c068f1548f91819023c9046f16207ade8cf06ca3c
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ruby_vault (0.1.0.pre.5)
4
+ ruby_vault (0.1.0.pre.8)
5
5
  immutable-struct (~> 2.4)
6
6
  lino (~> 3.0)
7
7
 
@@ -125,7 +125,7 @@ GEM
125
125
  rubocop-ast (>= 1.19.1, < 2.0)
126
126
  ruby-progressbar (~> 1.7)
127
127
  unicode-display_width (>= 1.4.0, < 3.0)
128
- rubocop-ast (1.19.1)
128
+ rubocop-ast (1.20.1)
129
129
  parser (>= 3.1.1.0)
130
130
  rubocop-rake (0.6.0)
131
131
  rubocop (~> 1.0)
@@ -146,6 +146,7 @@ GEM
146
146
  simplecov-html (0.12.3)
147
147
  simplecov_json_formatter (0.1.4)
148
148
  sshkey (2.0.0)
149
+ terminal-notifier-guard (1.7.0)
149
150
  thor (1.2.1)
150
151
  tzinfo (2.0.5)
151
152
  concurrent-ruby (~> 1.0)
@@ -177,6 +178,7 @@ DEPENDENCIES
177
178
  rubocop-rspec
178
179
  ruby_vault!
179
180
  simplecov
181
+ terminal-notifier-guard
180
182
  yard
181
183
 
182
184
  BUNDLED WITH
@@ -12,9 +12,13 @@ module RubyVault
12
12
 
13
13
  # @!visibility private
14
14
  def options
15
- %w[
16
- -method
17
- ] + super
15
+ super
16
+ .concat(Options::Sets::HTTP_OPTIONS)
17
+ .concat(['-method'])
18
+ end
19
+
20
+ def arguments(parameters)
21
+ [parameters[:auth]]
18
22
  end
19
23
  end
20
24
  end
@@ -12,7 +12,9 @@ module RubyVault
12
12
 
13
13
  # @!visibility private
14
14
  def options
15
- %w[] + super
15
+ %w[
16
+ address
17
+ ] + super
16
18
  end
17
19
 
18
20
  # @!visibility private
@@ -6,6 +6,7 @@ module RubyVault
6
6
  # string options
7
7
  %w[
8
8
  -method
9
+ -address
9
10
  ].map do |o|
10
11
  definition(name: o, option_type: :standard, value_type: :string)
11
12
  end
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ module RubyVault
4
+ module Options
5
+ module Sets
6
+ HTTP_OPTIONS = %w[-address].freeze
7
+ end
8
+ end
9
+ end
@@ -5,6 +5,7 @@ require_relative 'options/types'
5
5
  require_relative 'options/values'
6
6
  require_relative 'options/definition'
7
7
  require_relative 'options/factory'
8
+ require_relative 'options/sets'
8
9
 
9
10
  module RubyVault
10
11
  module Options
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RubyVault
4
- VERSION = '0.1.0.pre.5'
4
+ VERSION = '0.1.0.pre.8'
5
5
  end
data/ruby_vault.gemspec CHANGED
@@ -56,6 +56,7 @@ Gem::Specification.new do |spec|
56
56
  spec.add_development_dependency 'rubocop-rake'
57
57
  spec.add_development_dependency 'rubocop-rspec'
58
58
  spec.add_development_dependency 'simplecov'
59
+ spec.add_development_dependency 'terminal-notifier-guard'
59
60
  spec.add_development_dependency 'yard'
60
61
 
61
62
  spec.metadata['rubygems_mfa_required'] = 'false'
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.5
4
+ version: 0.1.0.pre.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - InfraBlocks Maintainers
@@ -248,6 +248,20 @@ dependencies:
248
248
  - - ">="
249
249
  - !ruby/object:Gem::Version
250
250
  version: '0'
251
+ - !ruby/object:Gem::Dependency
252
+ name: terminal-notifier-guard
253
+ requirement: !ruby/object:Gem::Requirement
254
+ requirements:
255
+ - - ">="
256
+ - !ruby/object:Gem::Version
257
+ version: '0'
258
+ type: :development
259
+ prerelease: false
260
+ version_requirements: !ruby/object:Gem::Requirement
261
+ requirements:
262
+ - - ">="
263
+ - !ruby/object:Gem::Version
264
+ version: '0'
251
265
  - !ruby/object:Gem::Dependency
252
266
  name: yard
253
267
  requirement: !ruby/object:Gem::Requirement
@@ -290,6 +304,7 @@ files:
290
304
  - lib/ruby_vault/options/definitions.rb
291
305
  - lib/ruby_vault/options/factory.rb
292
306
  - lib/ruby_vault/options/name.rb
307
+ - lib/ruby_vault/options/sets.rb
293
308
  - lib/ruby_vault/options/types.rb
294
309
  - lib/ruby_vault/options/types/flag.rb
295
310
  - lib/ruby_vault/options/types/standard.rb