right_api_client 1.6.2 → 1.6.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 28ccc87f7f444e4e7a6d0a72695b5dc28ea9b313
4
- data.tar.gz: 03f48d1c21be4aa93b53311c8562e65302820782
3
+ metadata.gz: c5e4b13b5e3ab18821d25be5c18982f25da7163c
4
+ data.tar.gz: 0f1085648ad8d7cc2e6391084281ea1180c70dd8
5
5
  SHA512:
6
- metadata.gz: bd0bfe56b67ec25ce8ac83b8f455f329b14a7204a3140d45c5cfd1dcdd0a381777e5b760b1334941e305c5e8d2f8e295cc1f35713ac4c61ba458fd6e60bea815
7
- data.tar.gz: 76ec1794e9eadd8ceb99c3430748402e30f045752b8614a9b225151ad39d7fc0ffe8e00102b9c34e156251f31046f3e353bb8fa7dbd95643255b44a8a8bc8a00
6
+ metadata.gz: 497e77af413cb07e220b4b76afaa84a623a4424f66c82ae8179018032b259e85e086eaccd781445ca0788f966416c2ea2429c412543260de8fecec3d0cd9baee
7
+ data.tar.gz: 805c20b39474712d127aa9e6b7853ad953bc4ee1c401c3a0a5086549fdafa122789e62392b459c59f32e2a9b22a9536ba7c11a4a1c3cde410f070ac93c7665d6
@@ -3,6 +3,9 @@
3
3
  ## Next
4
4
  - Your info here
5
5
 
6
+ ## 1.6.3
7
+ - \#109 Update json version requirement for ruby2.4 compatibility
8
+
6
9
  ## 1.6.2
7
10
  - \#108 Raise a specific error if the API returns an empty 200 response
8
11
  - \#106 Bump mime-types version to resolve dependencies with fog-azure-rm gem
data/Gemfile CHANGED
@@ -1,13 +1,13 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
3
  # Runtime dependencies that should appear in the gemspec.
4
- gem 'json', '~> 1.0'
4
+ gem 'json', '~> 2'
5
5
  gem 'mime-types', '~> 2.0'
6
6
  gem 'rest-client', '~> 1.6'
7
7
 
8
8
  # Development dependencies that should appear in the gemspec.
9
9
  group :development do
10
- gem 'rake'
10
+ gem 'rake', '< 12.0'
11
11
  gem 'rspec', '~> 2.9'
12
12
  gem 'flexmock'
13
13
  gem 'coveralls', :require => false
data/README.md CHANGED
@@ -112,8 +112,9 @@ HTTP calls can sometimes fail. To enable retrying idempotent requests automatica
112
112
  Multiple accounts can be managed by using the api\_url and account\_id attributes on the client.
113
113
 
114
114
  The api\_url attribute allows users to modify the shard which the client is being used to connect to.
115
- This should not be required as the client will find the correct shard using the account id but is
116
- included for completeness.
115
+ This should not be required as the client will find the correct shard using the account id (except
116
+ when using a refresh\_token for authorization; in this case api\_url must be set to your shard
117
+ address).
117
118
 
118
119
  Example:
119
120
 
@@ -244,8 +245,8 @@ you will get a 403 Permission Denied error.
244
245
 
245
246
  ## RightLink10 and Instance Facing Calls:
246
247
  Having RightLink10 installed on an instance allows 'instance facing calls' via a local
247
- [reverse proxy](http://docs.rightscale.com/rl10/reference/rl10_local_and_proxied_http_requests.html). To use
248
- the reverse proxy on the instance, you will only need to provide the following parameter:
248
+ [proxy](http://docs.rightscale.com/rl10/reference/rl10_local_and_proxied_http_requests.html). To use
249
+ the proxy on the instance, you will only need to provide the following parameter:
249
250
 
250
251
  - ```:rl10``` Set this to ```true```
251
252
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.6.2
1
+ 1.6.3
@@ -34,6 +34,7 @@
34
34
  # Please be careful! This is a user-specific OAuth 2.0 refresh token representing a grant with unrestricted scope.
35
35
  # Anyone who possesses it can login to RightScale's API and perform requests on this account with all of your permissions.
36
36
  # For more information, consult http://support.rightscale.com/12-Guides/03-Rightscale_API/OAuth
37
+ # Note that api_url must be set to your shard when refresh_token is used.
37
38
  # ex: @client = RightApi::Client.new(:api_url => "https://us-x.rightscale.com", :account_id => <account_id>, :refresh_token => <token>)
38
39
  :refresh_token: my_token_string
39
40
 
@@ -2,16 +2,16 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: right_api_client 1.6.2 ruby lib
5
+ # stub: right_api_client 1.6.3 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "right_api_client"
9
- s.version = "1.6.2"
9
+ s.version = "1.6.3"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib"]
13
13
  s.authors = ["RightScale, Inc."]
14
- s.date = "2016-11-02"
14
+ s.date = "2017-01-12"
15
15
  s.description = "\nThe right_api_client gem simplifies the use of RightScale's MultiCloud API.\nIt provides a simple object model of the API resources, and handles all of the\nfine details involved in making HTTP calls and translating their responses.\n"
16
16
  s.email = "rubygems@rightscale.com"
17
17
  s.executables = ["console", "setup"]
@@ -63,29 +63,29 @@ Gem::Specification.new do |s|
63
63
  s.specification_version = 4
64
64
 
65
65
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
66
- s.add_runtime_dependency(%q<json>, ["~> 1.0"])
66
+ s.add_runtime_dependency(%q<json>, ["~> 2"])
67
67
  s.add_runtime_dependency(%q<mime-types>, ["~> 2.0"])
68
68
  s.add_runtime_dependency(%q<rest-client>, ["~> 1.6"])
69
- s.add_development_dependency(%q<rake>, [">= 0"])
69
+ s.add_development_dependency(%q<rake>, ["< 12.0"])
70
70
  s.add_development_dependency(%q<rspec>, ["~> 2.9"])
71
71
  s.add_development_dependency(%q<flexmock>, [">= 0"])
72
72
  s.add_development_dependency(%q<coveralls>, [">= 0"])
73
73
  s.add_development_dependency(%q<pry>, [">= 0"])
74
74
  else
75
- s.add_dependency(%q<json>, ["~> 1.0"])
75
+ s.add_dependency(%q<json>, ["~> 2"])
76
76
  s.add_dependency(%q<mime-types>, ["~> 2.0"])
77
77
  s.add_dependency(%q<rest-client>, ["~> 1.6"])
78
- s.add_dependency(%q<rake>, [">= 0"])
78
+ s.add_dependency(%q<rake>, ["< 12.0"])
79
79
  s.add_dependency(%q<rspec>, ["~> 2.9"])
80
80
  s.add_dependency(%q<flexmock>, [">= 0"])
81
81
  s.add_dependency(%q<coveralls>, [">= 0"])
82
82
  s.add_dependency(%q<pry>, [">= 0"])
83
83
  end
84
84
  else
85
- s.add_dependency(%q<json>, ["~> 1.0"])
85
+ s.add_dependency(%q<json>, ["~> 2"])
86
86
  s.add_dependency(%q<mime-types>, ["~> 2.0"])
87
87
  s.add_dependency(%q<rest-client>, ["~> 1.6"])
88
- s.add_dependency(%q<rake>, [">= 0"])
88
+ s.add_dependency(%q<rake>, ["< 12.0"])
89
89
  s.add_dependency(%q<rspec>, ["~> 2.9"])
90
90
  s.add_dependency(%q<flexmock>, [">= 0"])
91
91
  s.add_dependency(%q<coveralls>, [">= 0"])
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: right_api_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.2
4
+ version: 1.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - RightScale, Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-02 00:00:00.000000000 Z
11
+ date: 2017-01-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.0'
19
+ version: '2'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '1.0'
26
+ version: '2'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: mime-types
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -56,16 +56,16 @@ dependencies:
56
56
  name: rake
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ">="
59
+ - - "<"
60
60
  - !ruby/object:Gem::Version
61
- version: '0'
61
+ version: '12.0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ">="
66
+ - - "<"
67
67
  - !ruby/object:Gem::Version
68
- version: '0'
68
+ version: '12.0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rspec
71
71
  requirement: !ruby/object:Gem::Requirement