right_api_client 1.5.7 → 1.5.8

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.rdoc CHANGED
@@ -1,5 +1,8 @@
1
1
  = right_api_client - CHANGELOG.rdoc
2
2
 
3
+ == right_api_client - 1.5.8
4
+ Fix invalid gemspec by downgrading to Ruby 1.9.2 when building gem.
5
+
3
6
  == right_api_client - 1.5.7
4
7
  Enforce Ruby 1.9 interpreter.
5
8
  Remove the default 60 second timeout on requests.
@@ -24,6 +24,7 @@ module RightApi
24
24
  attr_reader :cookies, :instance_token
25
25
 
26
26
  def initialize(args)
27
+ raise 'This API client is only compatible with Ruby 1.9 and upwards.' if (RUBY_VERSION < '1.9')
27
28
  @api_url, @api_version = DEFAULT_API_URL, API_VERSION
28
29
  # Initializing all instance variables from hash
29
30
  args.each { |key,value|
@@ -31,7 +32,7 @@ module RightApi
31
32
  } if args.is_a? Hash
32
33
 
33
34
  raise 'This API client is only compatible with the RightScale API 1.5 and upwards.' if (Float(@api_version) < 1.5)
34
- @rest_client = RestClient::Resource.new(@api_url)
35
+ @rest_client = RestClient::Resource.new(@api_url, :timeout => -1)
35
36
 
36
37
  # There are three options for login: credentials, instance token, or if the user already
37
38
  # has the cookies they can just use those. See config/login.yml.example for more info.
@@ -2,7 +2,7 @@
2
2
  module RightApi
3
3
  class Client
4
4
  API_VERSION = '1.5'
5
- CLIENT_VERSION = '7'
5
+ CLIENT_VERSION = '8'
6
6
  VERSION = "#{API_VERSION}.#{CLIENT_VERSION}"
7
7
  end
8
8
  end
@@ -1,6 +1,6 @@
1
1
  ruby do
2
- version 'ruby-1.9.3-p125'
3
- rubygems '1.8.11'
2
+ version 'ruby-1.9.2-p290'
3
+ rubygems '1.8.17'
4
4
  gemset 'right_api_client'
5
5
  end
6
6
  bundler do
metadata CHANGED
@@ -1,103 +1,107 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: right_api_client
3
- version: !ruby/object:Gem::Version
4
- version: 1.5.7
3
+ version: !ruby/object:Gem::Version
5
4
  prerelease:
5
+ version: 1.5.8
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - RightScale, Inc.
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-03-02 00:00:00.000000000 Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
12
+
13
+ date: 2012-03-06 00:00:00 Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
15
16
  name: json
16
- requirement: &70359216704580 !ruby/object:Gem::Requirement
17
+ prerelease: false
18
+ requirement: &id001 !ruby/object:Gem::Requirement
17
19
  none: false
18
- requirements:
19
- - - ! '>='
20
- - !ruby/object:Gem::Version
21
- version: '0'
20
+ requirements:
21
+ - - ">="
22
+ - !ruby/object:Gem::Version
23
+ version: "0"
22
24
  type: :runtime
23
- prerelease: false
24
- version_requirements: *70359216704580
25
- - !ruby/object:Gem::Dependency
25
+ version_requirements: *id001
26
+ - !ruby/object:Gem::Dependency
26
27
  name: rest-client
27
- requirement: &70359216704080 !ruby/object:Gem::Requirement
28
+ prerelease: false
29
+ requirement: &id002 !ruby/object:Gem::Requirement
28
30
  none: false
29
- requirements:
30
- - - =
31
- - !ruby/object:Gem::Version
31
+ requirements:
32
+ - - "="
33
+ - !ruby/object:Gem::Version
32
34
  version: 1.6.7
33
35
  type: :runtime
34
- prerelease: false
35
- version_requirements: *70359216704080
36
- - !ruby/object:Gem::Dependency
36
+ version_requirements: *id002
37
+ - !ruby/object:Gem::Dependency
37
38
  name: rake
38
- requirement: &70359216703580 !ruby/object:Gem::Requirement
39
+ prerelease: false
40
+ requirement: &id003 !ruby/object:Gem::Requirement
39
41
  none: false
40
- requirements:
41
- - - =
42
- - !ruby/object:Gem::Version
42
+ requirements:
43
+ - - "="
44
+ - !ruby/object:Gem::Version
43
45
  version: 0.8.7
44
46
  type: :development
45
- prerelease: false
46
- version_requirements: *70359216703580
47
- - !ruby/object:Gem::Dependency
47
+ version_requirements: *id003
48
+ - !ruby/object:Gem::Dependency
48
49
  name: rspec
49
- requirement: &70359216703120 !ruby/object:Gem::Requirement
50
+ prerelease: false
51
+ requirement: &id004 !ruby/object:Gem::Requirement
50
52
  none: false
51
- requirements:
52
- - - =
53
- - !ruby/object:Gem::Version
53
+ requirements:
54
+ - - "="
55
+ - !ruby/object:Gem::Version
54
56
  version: 1.3.0
55
57
  type: :development
56
- prerelease: false
57
- version_requirements: *70359216703120
58
- - !ruby/object:Gem::Dependency
58
+ version_requirements: *id004
59
+ - !ruby/object:Gem::Dependency
59
60
  name: flexmock
60
- requirement: &70359216702660 !ruby/object:Gem::Requirement
61
+ prerelease: false
62
+ requirement: &id005 !ruby/object:Gem::Requirement
61
63
  none: false
62
- requirements:
63
- - - =
64
- - !ruby/object:Gem::Version
64
+ requirements:
65
+ - - "="
66
+ - !ruby/object:Gem::Version
65
67
  version: 0.8.7
66
68
  type: :development
67
- prerelease: false
68
- version_requirements: *70359216702660
69
- - !ruby/object:Gem::Dependency
69
+ version_requirements: *id005
70
+ - !ruby/object:Gem::Dependency
70
71
  name: simplecov
71
- requirement: &70359216702200 !ruby/object:Gem::Requirement
72
+ prerelease: false
73
+ requirement: &id006 !ruby/object:Gem::Requirement
72
74
  none: false
73
- requirements:
74
- - - =
75
- - !ruby/object:Gem::Version
75
+ requirements:
76
+ - - "="
77
+ - !ruby/object:Gem::Version
76
78
  version: 0.4.2
77
79
  type: :development
78
- prerelease: false
79
- version_requirements: *70359216702200
80
- - !ruby/object:Gem::Dependency
80
+ version_requirements: *id006
81
+ - !ruby/object:Gem::Dependency
81
82
  name: bundler
82
- requirement: &70359216701820 !ruby/object:Gem::Requirement
83
+ prerelease: false
84
+ requirement: &id007 !ruby/object:Gem::Requirement
83
85
  none: false
84
- requirements:
85
- - - ! '>='
86
- - !ruby/object:Gem::Version
87
- version: '0'
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: "0"
88
90
  type: :development
89
- prerelease: false
90
- version_requirements: *70359216701820
91
- description: ! "\nThe right_api_client gem simplifies the use of RightScale's MultiCloud
92
- API. It provides\na simple object model of the API resources, and handles all of
93
- the fine details involved\nin making HTTP calls and translating their responses.\n
94
- \ "
95
- email:
91
+ version_requirements: *id007
92
+ description: "\n\
93
+ The right_api_client gem simplifies the use of RightScale's MultiCloud API. It provides\n\
94
+ a simple object model of the API resources, and handles all of the fine details involved\n\
95
+ in making HTTP calls and translating their responses.\n "
96
+ email:
96
97
  - rubygems@rightscale.com
97
98
  executables: []
99
+
98
100
  extensions: []
101
+
99
102
  extra_rdoc_files: []
100
- files:
103
+
104
+ files:
101
105
  - .gitignore
102
106
  - CHANGELOG.rdoc
103
107
  - Gemfile
@@ -125,29 +129,32 @@ files:
125
129
  - spec/spec_helper.rb
126
130
  homepage: https://github.com/rightscale/right_api_client
127
131
  licenses: []
132
+
128
133
  post_install_message:
129
134
  rdoc_options: []
130
- require_paths:
135
+
136
+ require_paths:
131
137
  - lib
132
- required_ruby_version: !ruby/object:Gem::Requirement
138
+ required_ruby_version: !ruby/object:Gem::Requirement
133
139
  none: false
134
- requirements:
135
- - - ! '>='
136
- - !ruby/object:Gem::Version
137
- version: '0'
138
- required_rubygems_version: !ruby/object:Gem::Requirement
140
+ requirements:
141
+ - - ">="
142
+ - !ruby/object:Gem::Version
143
+ version: "0"
144
+ required_rubygems_version: !ruby/object:Gem::Requirement
139
145
  none: false
140
- requirements:
141
- - - ! '>='
142
- - !ruby/object:Gem::Version
143
- version: '0'
146
+ requirements:
147
+ - - ">="
148
+ - !ruby/object:Gem::Version
149
+ version: "0"
144
150
  requirements: []
151
+
145
152
  rubyforge_project:
146
- rubygems_version: 1.8.11
153
+ rubygems_version: 1.8.17
147
154
  signing_key:
148
155
  specification_version: 3
149
156
  summary: RightScale MultiCloud API HTTP Client
150
- test_files:
157
+ test_files:
151
158
  - config/login.yml.example
152
159
  - spec/audit_entries_spec.rb
153
160
  - spec/client_spec.rb