ansible_tower_client 0.12.1 → 0.12.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -0
- data/CHANGELOG.md +6 -1
- data/lib/ansible_tower_client/base_model.rb +4 -3
- data/lib/ansible_tower_client/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7b60ec7c40a5ee45a48ff8ee5d27695d9e470169
|
4
|
+
data.tar.gz: d7d90bf6956a581e0e646d902f543972d8827308
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2856f389c86256e3480beff31f411f4bc74a54e0699cc80424770b935bd77e3b8cbc48b7a9c073b09fee1b058cf9967e2069fb3f3e68a1b578d5f077cd43c871
|
7
|
+
data.tar.gz: 19d45289db416b18c2a311dfd8c8e386facd4af6beeb2ae89cf260a61bb261ef4c13e6ed010cfe792abb26b1799e2cf6d4a9e84e6ac90a41efc46b4f2d00ee3e
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -5,6 +5,10 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|
5
5
|
|
6
6
|
## [Unreleased]
|
7
7
|
|
8
|
+
## [0.12.2] - 2017-05-08
|
9
|
+
### Fixed
|
10
|
+
- Check before update attribute of basemodel [(#93)](https://github.com/ansible/ansible_tower_client_ruby/pull/93)
|
11
|
+
|
8
12
|
## [0.12.1] - 2017-04-24
|
9
13
|
### Fixed
|
10
14
|
- Fix setting organization on Credential [(#92)](https://github.com/ansible/ansible_tower_client_ruby/pull/92)
|
@@ -58,7 +62,8 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|
58
62
|
### Fixed
|
59
63
|
- Adjusted project_spec to test on a Project [(#63)](https://github.com/ansible/ansible_tower_client_ruby/pull/63)
|
60
64
|
|
61
|
-
[Unreleased]: https://github.com/ansible/ansible_tower_client_ruby/compare/v0.12.
|
65
|
+
[Unreleased]: https://github.com/ansible/ansible_tower_client_ruby/compare/v0.12.2...master
|
66
|
+
[0.12.2]: https://github.com/ansible/ansible_tower_client_ruby/compare/v0.12.1...v0.12.2
|
62
67
|
[0.12.1]: https://github.com/ansible/ansible_tower_client_ruby/compare/v0.12.0...v0.12.1
|
63
68
|
[0.12.0]: https://github.com/ansible/ansible_tower_client_ruby/compare/v0.11.0...v0.12.0
|
64
69
|
[0.11.0]: https://github.com/ansible/ansible_tower_client_ruby/compare/v0.10.0...v0.11.0
|
@@ -82,10 +82,11 @@ module AnsibleTowerClient
|
|
82
82
|
def update_attributes!(attributes)
|
83
83
|
@api.patch(url, attributes.to_json)
|
84
84
|
attributes.each do |method_name, value|
|
85
|
-
|
86
|
-
|
85
|
+
invoke_name = "#{override_raw_attributes[method_name] || method_name}="
|
86
|
+
if respond_to?(invoke_name)
|
87
|
+
send(invoke_name, value)
|
87
88
|
else
|
88
|
-
|
89
|
+
AnsibleTowerClient.logger.warn("Unknown attribute/method: #{invoke_name}. Skip updating it ...")
|
89
90
|
end
|
90
91
|
end
|
91
92
|
true
|
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.12.
|
4
|
+
version: 0.12.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: 2017-
|
12
|
+
date: 2017-05-08 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|