ansible_tower_client 0.20.1 → 0.20.2

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: c8544b17b193a7505b5452faa90a79279fdb989046bd70c450f510ede064704e
4
- data.tar.gz: b338cb0c79843daf7b25083c95bce106a22333021860500f6bd07a578ba30d05
3
+ metadata.gz: 1feb80243276376bf97dde6659e9120ee50077d2c07f91daeb006ed63f95262f
4
+ data.tar.gz: 27dabdade9e2e6483cd8f7d46e575feaeef64ebbc4069d7009d68c9e7d5420d2
5
5
  SHA512:
6
- metadata.gz: 11514f0b355912240f8db68a22bc8d5b7c27c840255b34c97a8b851b36cc42cad147bf86f9cc447cf3e23ee9602e8780847819f2efb91e804277c3015b219bc9
7
- data.tar.gz: 0677ddd8d7649eed1c6c28d7269d90ab623eb8a8dead13c2afdf5520af71465bda8d2a755c7f153779242eee3580843b8aaf2a5f7c344a6992dd0ccd4e0a6fe7
6
+ metadata.gz: a1cc2ee34f52c11605806b2a99f8012aba5203364a8ca485d66e7ce8b78fc8ec741b1703e6bbb5465814586ecc2725ca829cd9c18113f9f152410882fb9c5ab4
7
+ data.tar.gz: 1e4459f11c5e1443b414e88b3f94c82d5975e8d0febb9d9e65c55648d4cc1971531e050ca7d173f2e4eb9a16ab8b82d81babfd1527b2ee913f6b556abf68eac2
@@ -5,6 +5,10 @@ This project adheres to [Semantic Versioning](http://semver.org/).
5
5
 
6
6
  ## [Unreleased]
7
7
 
8
+ ## [0.20.2] - 2019-08-19
9
+ ### Fixed
10
+ - Ensure #vault_password is never nil [(#132)](https://github.com/ansible/ansible_tower_client_ruby/pull/132)
11
+
8
12
  ## [0.20.1] - 2019-06-20
9
13
  ### Fixed
10
14
  - Only attempt to find a related job if there is a reference to one [(#131)](https://github.com/ansible/ansible_tower_client_ruby/pull/131)
@@ -122,7 +126,8 @@ This project adheres to [Semantic Versioning](http://semver.org/).
122
126
  ### Fixed
123
127
  - Adjusted project_spec to test on a Project [(#63)](https://github.com/ansible/ansible_tower_client_ruby/pull/63)
124
128
 
125
- [Unreleased]: https://github.com/ansible/ansible_tower_client_ruby/compare/v0.20.1...master
129
+ [Unreleased]: https://github.com/ansible/ansible_tower_client_ruby/compare/v0.20.2...master
130
+ [0.20.2]: https://github.com/ansible/ansible_tower_client_ruby/compare/v0.20.1...v0.20.2
126
131
  [0.20.1]: https://github.com/ansible/ansible_tower_client_ruby/compare/v0.20.0...v0.20.1
127
132
  [0.20.0]: https://github.com/ansible/ansible_tower_client_ruby/compare/v0.19.1...v0.20.0
128
133
  [0.19.1]: https://github.com/ansible/ansible_tower_client_ruby/compare/v0.19.0...v0.19.1
@@ -39,7 +39,10 @@ module AnsibleTowerClient
39
39
  end
40
40
 
41
41
  def vault_password
42
- @data['vault_password'] ||= inputs.vault_password.to_s
42
+ @data['vault_password'] ||= begin
43
+ has_vault_password = respond_to?(:inputs) && inputs.respond_to?(:vault_password)
44
+ (inputs.vault_password if has_vault_password).to_s
45
+ end
43
46
  end
44
47
  end
45
48
  end
@@ -1,3 +1,3 @@
1
1
  module AnsibleTowerClient
2
- VERSION = "0.20.1".freeze
2
+ VERSION = "0.20.2".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ansible_tower_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.20.1
4
+ version: 0.20.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brandon Dunne
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2019-06-20 00:00:00.000000000 Z
12
+ date: 2019-08-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport