ansible_tower_client 0.9.0 → 0.10.0

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
  SHA1:
3
- metadata.gz: 896d323fc2671c16502283d4b204add759b44be8
4
- data.tar.gz: e60d7359bea8308e11e7ac0ec48a55a35fac3017
3
+ metadata.gz: 3b193455d85ca3339c34fa6a5c81ceef256f6c6f
4
+ data.tar.gz: 32d45db82bdbde5e1eaab49268d042920b7b6818
5
5
  SHA512:
6
- metadata.gz: 00bd6ae711a991636077343e28cb0fa93a6cde69a92eac1f7e8f092d0f889baa16343c6780e28d137df867973f080b02c38757a55bfd9f18cba0889c6326a60c
7
- data.tar.gz: f5446e95ab58a1def3e0128e6b96739cc4ac900ab63c1f50f6409b310f9aa0feac47a63e5ebde9bb03b93daeef0adacd68af070107d7bd0456b380a483b94364
6
+ metadata.gz: 8a3b6a6ab60cb681edcf7cf2209c4956c91c086831817f521a017970fd2b7e65aaec505503e269a2ae1489bd0cd2424c4d337f4196a2470ba9f39eaeb53a647d
7
+ data.tar.gz: fd1af49c0c8e8bc629888064af9c5601f0d047a1eaa5600a711a58aa1373c30127d0e12297a2a37c922bb0c581bc0b5ddf30c426bbd5fd0849712409bbd425b8
data/CHANGELOG.md CHANGED
@@ -5,9 +5,13 @@ This project adheres to [Semantic Versioning](http://semver.org/).
5
5
 
6
6
  ## [Unreleased]
7
7
 
8
+ ## [0.10.0] - 2017-03-23
9
+ ### Added
10
+ - Allow formatted stdout, default to plain text [(#80)](https://github.com/ansible/ansible_tower_client_ruby/pull/80)
11
+
8
12
  ## [0.9.0] - 2017-03-02
9
13
  ### Added
10
- - Expose Plays off of an Job [(#77)](https://github.com/ansible/ansible_tower_client_ruby/pull/77)
14
+ - Expose Plays off of a Job [(#77)](https://github.com/ansible/ansible_tower_client_ruby/pull/77)
11
15
  - Expose JobEvent [(#77)](https://github.com/ansible/ansible_tower_client_ruby/pull/77)
12
16
  - Expose Organization [(#79)](https://github.com/ansible/ansible_tower_client_ruby/pull/79)
13
17
 
@@ -8,10 +8,10 @@ module AnsibleTowerClient
8
8
  Collection.new(api, api.job_play_class).find_all_by_url(related["job_plays"])
9
9
  end
10
10
 
11
- def stdout
11
+ def stdout(format = 'txt')
12
12
  out_url = related['stdout']
13
13
  return unless out_url
14
- api.get("#{out_url}?format=txt").body
14
+ api.get("#{out_url}?format=#{format}").body
15
15
  end
16
16
  end
17
17
  end
@@ -1,3 +1,3 @@
1
1
  module AnsibleTowerClient
2
- VERSION = "0.9.0".freeze
2
+ VERSION = "0.10.0".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.9.0
4
+ version: 0.10.0
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-03-02 00:00:00.000000000 Z
12
+ date: 2017-03-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
@@ -190,7 +190,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
190
190
  version: '0'
191
191
  requirements: []
192
192
  rubyforge_project:
193
- rubygems_version: 2.5.2
193
+ rubygems_version: 2.5.1
194
194
  signing_key:
195
195
  specification_version: 4
196
196
  summary: Ansible Tower REST API wrapper gem