hiera-vault 0.2.1 → 0.2.2

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,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- MTM1Yzc1NzVkODIyZGZiZjdlY2JlZTQ0ZTZlMzM0ODI2NWRiNGVjOQ==
5
- data.tar.gz: !binary |-
6
- ZDdmMGYwNDE5YzVkYzY1MDRjMzcxYmIyYWM1ZTE3MzMxZWQ2NDBlOQ==
2
+ SHA1:
3
+ metadata.gz: 7594b272fb22c5622f5ce0a7c8432f9ef195b363
4
+ data.tar.gz: b499f564c43026df1e69d35cfa55e28e7c0f7d41
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- MjU3NTc2NTAxMGEzMDg1NWRlZWRlMzhiNjNmODMwNTNlMjgwMTlhYmRlMjM2
10
- YjE4Y2I0ZGE2NDUxMDEwNzhjMWEzZDNhNDlkNjVmMmE1YmQyNWUyOWMyYzhj
11
- MzJjODdhN2NiMjFjY2Y4ZDE0N2VkMzMwN2IwYjkyMzEwMmFjMTg=
12
- data.tar.gz: !binary |-
13
- YmM5NmU2NmYxYzVjNjAwOWIyYzNlN2UzMDJiN2IwNzVlNDYzMTJiZmNmMWM5
14
- OGZiYTlmMjkxNDE4NjBkNWZkN2UyNzAxNDY0YmM4MzQyYjMxY2UyMTY4Nzcw
15
- MzllYjVlZTc5NzhmMGIyYWM3ZjI1MjYzNjc2MDVkZTJkYmI5M2M=
6
+ metadata.gz: e48f2058698bd962837cff10e0d7866479aae2ff6bf78efbcdbd6632878ed79b0fd37224b0972ecd0b7a785f2fc3311716385d00d5f2cf09c0932ad4774d3708
7
+ data.tar.gz: 6700c8a384b27242214a749f5d75d7c58cf0b6b6ac6c331eb4956c70da5e28f0ad49a190e61b1cb452636a804fe87659c6edc75ddc3bca285d88be45e5c0850c
@@ -28,10 +28,10 @@ class Hiera
28
28
  begin
29
29
  @vault = Vault::Client.new
30
30
  @vault.configure do |config|
31
- config.address = @config[:addr] if @config[:addr]
32
- config.token = @config[:token] if @config[:token]
33
- config.ssl_pem_file = @config[:ssl_pem_file] if @config[:ssl_pem_file]
34
- config.ssl_verify = @config[:ssl_verify] if @config[:ssl_verify]
31
+ config.address = @config[:addr] unless @config[:addr].nil?
32
+ config.token = @config[:token] unless @config[:token].nil?
33
+ config.ssl_pem_file = @config[:ssl_pem_file] unless @config[:ssl_pem_file].nil?
34
+ config.ssl_verify = @config[:ssl_verify] unless @config[:ssl_verify].nil?
35
35
  config.ssl_ca_cert = @config[:ssl_ca_cert] if config.respond_to? :ssl_ca_cert
36
36
  config.ssl_ca_path = @config[:ssl_ca_path] if config.respond_to? :ssl_ca_path
37
37
  config.ssl_ciphers = @config[:ssl_ciphers] if config.respond_to? :ssl_ciphers
metadata CHANGED
@@ -1,27 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hiera-vault
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Sokolowski
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-04-08 00:00:00.000000000 Z
11
+ date: 2017-08-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: vault
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0.4'
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
26
  version: '0.4'
27
27
  description: Hiera backend for looking up secrets stored in Vault
@@ -41,17 +41,17 @@ require_paths:
41
41
  - lib
42
42
  required_ruby_version: !ruby/object:Gem::Requirement
43
43
  requirements:
44
- - - ! '>='
44
+ - - ">="
45
45
  - !ruby/object:Gem::Version
46
46
  version: '0'
47
47
  required_rubygems_version: !ruby/object:Gem::Requirement
48
48
  requirements:
49
- - - ! '>='
49
+ - - ">="
50
50
  - !ruby/object:Gem::Version
51
51
  version: '0'
52
52
  requirements: []
53
53
  rubyforge_project:
54
- rubygems_version: 2.4.5
54
+ rubygems_version: 2.6.11
55
55
  signing_key:
56
56
  specification_version: 4
57
57
  summary: Module for using vault as a hiera backend