ansible_tower_client 0.3.0 → 0.3.1

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: f17e37f15be38fac17b1390b9ad60ef854b457df
4
- data.tar.gz: ada9722dc153f60e6fdc07b4de9e905e63fb4ccc
3
+ metadata.gz: b661aecf7507f1da64436cf67b61e4e0206d3faf
4
+ data.tar.gz: 8fc70dd89e847c5b3eecf1fb3b6736febaf17b44
5
5
  SHA512:
6
- metadata.gz: 1b64e64a6f44d0db7db90890a0c7a88d34112b01a941aa676ea67f7bfe6c419d1f9dbb807fa494c1e609396d49a2b8115c8d82cb9323e9de33067da928579542
7
- data.tar.gz: 6e2364801b7ea833a6a353bae1983371fe3726f21f67dd67f14a18e6e0131133d205513e048b1d2458f57ed857769f8edf2ab352023c4c69556beb409e22d599
6
+ metadata.gz: fa62982d8a026f9d2248b35d8f641a2ae7a3c2c1f7997e1c709f49045f94afa02abc00098c1c5cbf2f43646961469d33e1bc3447684797944a02dd27d4f7a932
7
+ data.tar.gz: 48b856bc2f414f00ede7102ed6265970fc465a6154119702494db0a2c4eecd2e33c31302865667059160246490b6a174fdd218ac04dce8f72cb77b96fcce022e
data/.rspec CHANGED
@@ -1,2 +1,3 @@
1
1
  --format documentation
2
2
  --color
3
+ --require spec_helper
@@ -19,10 +19,13 @@ Gem::Specification.new do |spec|
19
19
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
20
  spec.require_paths = ["lib"]
21
21
 
22
+ # HACK: Rails 5 dropped support for Ruby < 2.2.2
23
+ active_support_version = "< 5" if Gem::Version.new(RUBY_VERSION) <= Gem::Version.new("2.2.2")
24
+ spec.add_runtime_dependency "activesupport", active_support_version
25
+
22
26
  spec.add_runtime_dependency "faraday"
23
27
  spec.add_runtime_dependency "faraday_middleware"
24
- spec.add_runtime_dependency "more_core_extensions"
25
- spec.add_runtime_dependency 'activesupport', '>= 1.2.0'
28
+ spec.add_runtime_dependency "more_core_extensions", "~> 3.0.0"
26
29
 
27
30
  spec.add_development_dependency "bundler", "~> 1.10"
28
31
  spec.add_development_dependency "byebug"
@@ -13,7 +13,8 @@ module AnsibleTowerClient
13
13
  require 'ansible_tower_client/middleware/raise_tower_error'
14
14
  Faraday::Response.register_middleware :raise_tower_error => -> { Middleware::RaiseTowerError }
15
15
  @connection = Faraday.new(options[:base_url], :ssl => {:verify => verify_ssl}) do |f|
16
- f.use FaradayMiddleware::FollowRedirects, :limit => 3, :standards_compliant => true
16
+ f.use(FaradayMiddleware::EncodeJson)
17
+ f.use(FaradayMiddleware::FollowRedirects, :limit => 3, :standards_compliant => true)
17
18
  f.request(:url_encoded)
18
19
  f.response(:raise_tower_error)
19
20
  f.adapter(Faraday.default_adapter)
@@ -1,3 +1,3 @@
1
1
  module AnsibleTowerClient
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
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.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brandon Dunne
@@ -9,10 +9,10 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2016-05-24 00:00:00.000000000 Z
12
+ date: 2016-07-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
- name: faraday
15
+ name: activesupport
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
18
  - - ">="
@@ -26,7 +26,7 @@ dependencies:
26
26
  - !ruby/object:Gem::Version
27
27
  version: '0'
28
28
  - !ruby/object:Gem::Dependency
29
- name: faraday_middleware
29
+ name: faraday
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
32
  - - ">="
@@ -40,7 +40,7 @@ dependencies:
40
40
  - !ruby/object:Gem::Version
41
41
  version: '0'
42
42
  - !ruby/object:Gem::Dependency
43
- name: more_core_extensions
43
+ name: faraday_middleware
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
46
  - - ">="
@@ -54,19 +54,19 @@ dependencies:
54
54
  - !ruby/object:Gem::Version
55
55
  version: '0'
56
56
  - !ruby/object:Gem::Dependency
57
- name: activesupport
57
+ name: more_core_extensions
58
58
  requirement: !ruby/object:Gem::Requirement
59
59
  requirements:
60
- - - ">="
60
+ - - "~>"
61
61
  - !ruby/object:Gem::Version
62
- version: 1.2.0
62
+ version: 3.0.0
63
63
  type: :runtime
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
- - - ">="
67
+ - - "~>"
68
68
  - !ruby/object:Gem::Version
69
- version: 1.2.0
69
+ version: 3.0.0
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: bundler
72
72
  requirement: !ruby/object:Gem::Requirement
@@ -193,7 +193,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
193
193
  version: '0'
194
194
  requirements: []
195
195
  rubyforge_project:
196
- rubygems_version: 2.6.3
196
+ rubygems_version: 2.5.1
197
197
  signing_key:
198
198
  specification_version: 4
199
199
  summary: Ansible Tower REST API wrapper gem