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 +4 -4
- data/.rspec +1 -0
- data/ansible_tower_client.gemspec +5 -2
- data/lib/ansible_tower_client/connection.rb +2 -1
- data/lib/ansible_tower_client/version.rb +1 -1
- metadata +11 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b661aecf7507f1da64436cf67b61e4e0206d3faf
|
4
|
+
data.tar.gz: 8fc70dd89e847c5b3eecf1fb3b6736febaf17b44
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fa62982d8a026f9d2248b35d8f641a2ae7a3c2c1f7997e1c709f49045f94afa02abc00098c1c5cbf2f43646961469d33e1bc3447684797944a02dd27d4f7a932
|
7
|
+
data.tar.gz: 48b856bc2f414f00ede7102ed6265970fc465a6154119702494db0a2c4eecd2e33c31302865667059160246490b6a174fdd218ac04dce8f72cb77b96fcce022e
|
data/.rspec
CHANGED
@@ -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
|
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)
|
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.
|
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-
|
12
|
+
date: 2016-07-22 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
|
-
name:
|
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:
|
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:
|
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:
|
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:
|
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:
|
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.
|
196
|
+
rubygems_version: 2.5.1
|
197
197
|
signing_key:
|
198
198
|
specification_version: 4
|
199
199
|
summary: Ansible Tower REST API wrapper gem
|