rest_connection 1.0.5 → 1.0.6
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.
- data/README.md +140 -0
- data/lib/rest_connection/rightscale/account.rb +1 -1
- data/lib/rest_connection/rightscale/alert_spec.rb +3 -0
- data/lib/rest_connection/rightscale/alert_spec_subject.rb +3 -0
- data/lib/rest_connection/rightscale/audit_entry.rb +3 -0
- data/lib/rest_connection/rightscale/backup.rb +1 -1
- data/lib/rest_connection/rightscale/child_account.rb +1 -1
- data/lib/rest_connection/rightscale/cloud.rb +1 -1
- data/lib/rest_connection/rightscale/cloud_account.rb +1 -1
- data/lib/rest_connection/rightscale/credential.rb +3 -0
- data/lib/rest_connection/rightscale/deployment.rb +3 -0
- data/lib/rest_connection/rightscale/ec2_ebs_snapshot.rb +3 -0
- data/lib/rest_connection/rightscale/ec2_ebs_volume.rb +3 -0
- data/lib/rest_connection/rightscale/ec2_elastic_ip.rb +3 -0
- data/lib/rest_connection/rightscale/ec2_security_group.rb +3 -0
- data/lib/rest_connection/rightscale/ec2_server_array.rb +34 -3
- data/lib/rest_connection/rightscale/ec2_ssh_key.rb +3 -0
- data/lib/rest_connection/rightscale/ec2_ssh_key_internal.rb +3 -0
- data/lib/rest_connection/rightscale/executable.rb +3 -0
- data/lib/rest_connection/rightscale/instance.rb +5 -3
- data/lib/rest_connection/rightscale/instance_type.rb +1 -1
- data/lib/rest_connection/rightscale/macro.rb +3 -0
- data/lib/rest_connection/rightscale/mc_audit_entry.rb +1 -1
- data/lib/rest_connection/rightscale/mc_datacenter.rb +1 -1
- data/lib/rest_connection/rightscale/mc_deployment.rb +1 -1
- data/lib/rest_connection/rightscale/mc_image.rb +1 -1
- data/lib/rest_connection/rightscale/mc_instance.rb +9 -2
- data/lib/rest_connection/rightscale/mc_instance_type.rb +1 -1
- data/lib/rest_connection/rightscale/mc_multi_cloud_image.rb +1 -1
- data/lib/rest_connection/rightscale/mc_multi_cloud_image_setting.rb +1 -1
- data/lib/rest_connection/rightscale/mc_security_group.rb +1 -1
- data/lib/rest_connection/rightscale/mc_server.rb +3 -3
- data/lib/rest_connection/rightscale/mc_server_array.rb +1 -1
- data/lib/rest_connection/rightscale/mc_server_template.rb +1 -1
- data/lib/rest_connection/rightscale/mc_server_template_multi_cloud_image.rb +1 -1
- data/lib/rest_connection/rightscale/mc_ssh_key.rb +1 -1
- data/lib/rest_connection/rightscale/mc_tag.rb +1 -1
- data/lib/rest_connection/rightscale/mc_volume.rb +1 -1
- data/lib/rest_connection/rightscale/mc_volume_attachment.rb +1 -1
- data/lib/rest_connection/rightscale/mc_volume_snapshot.rb +1 -1
- data/lib/rest_connection/rightscale/mc_volume_type.rb +1 -1
- data/lib/rest_connection/rightscale/monitoring_metric.rb +1 -1
- data/lib/rest_connection/rightscale/multi_cloud_image.rb +3 -0
- data/lib/rest_connection/rightscale/multi_cloud_image_cloud_setting_internal.rb +3 -0
- data/lib/rest_connection/rightscale/multi_cloud_image_internal.rb +3 -0
- data/lib/rest_connection/rightscale/permission.rb +1 -1
- data/lib/rest_connection/rightscale/right_script.rb +3 -0
- data/lib/rest_connection/rightscale/right_script_attachment_internal.rb +3 -0
- data/lib/rest_connection/rightscale/right_script_internal.rb +3 -1
- data/lib/rest_connection/rightscale/rightscale_api_base.rb +28 -8
- data/lib/rest_connection/rightscale/rightscale_api_gateway.rb +12 -0
- data/lib/rest_connection/rightscale/rightscale_api_internal.rb +8 -0
- data/lib/rest_connection/rightscale/rightscale_api_mc_input.rb +1 -1
- data/lib/rest_connection/rightscale/rightscale_api_mc_taggable.rb +1 -1
- data/lib/rest_connection/rightscale/rightscale_api_resources.rb +0 -1
- data/lib/rest_connection/rightscale/rs_internal.rb +1 -1
- data/lib/rest_connection/rightscale/s3_bucket.rb +3 -0
- data/lib/rest_connection/rightscale/security_group_rule.rb +1 -1
- data/lib/rest_connection/rightscale/server.rb +3 -0
- data/lib/rest_connection/rightscale/server_ec2_ebs_volume.rb +3 -0
- data/lib/rest_connection/rightscale/server_internal.rb +1 -1
- data/lib/rest_connection/rightscale/server_template.rb +3 -0
- data/lib/rest_connection/rightscale/server_template_internal.rb +3 -0
- data/lib/rest_connection/rightscale/session.rb +1 -1
- data/lib/rest_connection/rightscale/sqs_queue.rb +3 -0
- data/lib/rest_connection/rightscale/status.rb +3 -0
- data/lib/rest_connection/rightscale/tag.rb +3 -0
- data/lib/rest_connection/rightscale/task.rb +1 -1
- data/lib/rest_connection/rightscale/user.rb +1 -1
- data/lib/rest_connection/rightscale/vpc_dhcp_option.rb +3 -0
- data/lib/rest_connection/ssh_hax.rb +1 -1
- data/lib/rest_connection/version.rb +1 -1
- data/lib/rest_connection.rb +6 -0
- data/rest_connection.gemspec +2 -2
- metadata +43 -49
- data/Gemfile.lock +0 -43
- data/README.rdoc +0 -63
- data/lib/rest_connection/rightscale/ec2_server_array_internal.rb +0 -53
|
@@ -23,9 +23,15 @@
|
|
|
23
23
|
|
|
24
24
|
require 'active_support/inflector'
|
|
25
25
|
|
|
26
|
+
|
|
26
27
|
module RightScale
|
|
27
28
|
module Api
|
|
29
|
+
|
|
30
|
+
# TODO: move this to McAuditEntry
|
|
28
31
|
DATETIME_FMT = "%Y/%m/%d %H:%M:%S +0000"
|
|
32
|
+
|
|
33
|
+
# Every supported AWS cloud must be hardcoded here.
|
|
34
|
+
# FIXME: Once this list exceeds 10 entries, must also update cloud_id logic elsewhere!
|
|
29
35
|
AWS_CLOUDS = [
|
|
30
36
|
{"cloud_id" => 1, "name" => "AWS US-East"},
|
|
31
37
|
{"cloud_id" => 2, "name" => "AWS EU"},
|
|
@@ -38,6 +44,7 @@ module RightScale
|
|
|
38
44
|
]
|
|
39
45
|
|
|
40
46
|
BASE_COOKIE_REFRESH = proc do
|
|
47
|
+
# Refresh cookie by logging in again
|
|
41
48
|
def refresh_cookie
|
|
42
49
|
# login
|
|
43
50
|
@cookie = nil
|
|
@@ -51,7 +58,7 @@ module RightScale
|
|
|
51
58
|
end
|
|
52
59
|
|
|
53
60
|
# Pass no arguments to reset to the default configuration,
|
|
54
|
-
# pass a hash to update the settings for all API
|
|
61
|
+
# pass a hash to update the settings for all API versions
|
|
55
62
|
def self.update_connection_settings(*settings)
|
|
56
63
|
if settings.size > 1
|
|
57
64
|
raise ArgumentError.new("wrong number of arguments (#{settings.size} for 1)")
|
|
@@ -68,7 +75,12 @@ module RightScale
|
|
|
68
75
|
true
|
|
69
76
|
end
|
|
70
77
|
|
|
71
|
-
#
|
|
78
|
+
# Active API version probing
|
|
79
|
+
# TODO: probe passively instead
|
|
80
|
+
# TODO: move this logic to a separate file
|
|
81
|
+
|
|
82
|
+
# Checks for API 0.1 access
|
|
83
|
+
# Requires an account with internal API access on a legacy cluster
|
|
72
84
|
def self.api0_1?
|
|
73
85
|
if class_variable_defined?("@@api0_1")
|
|
74
86
|
return @@api0_1 unless @@api0_1.nil?
|
|
@@ -77,9 +89,12 @@ module RightScale
|
|
|
77
89
|
@@api0_1 = true
|
|
78
90
|
rescue RestConnection::Errors::Forbidden
|
|
79
91
|
@@api0_1 = false
|
|
92
|
+
rescue RestConnection::Errors::UnprocessableEntity
|
|
93
|
+
@@api0_1 = false
|
|
80
94
|
end
|
|
81
95
|
|
|
82
|
-
#
|
|
96
|
+
# Checks for API 1.0 access
|
|
97
|
+
# Should always succeed
|
|
83
98
|
def self.api1_0?
|
|
84
99
|
if class_variable_defined?("@@api1_0")
|
|
85
100
|
return @@api1_0 unless @@api1_0.nil?
|
|
@@ -90,7 +105,8 @@ module RightScale
|
|
|
90
105
|
@@api1_0 = false
|
|
91
106
|
end
|
|
92
107
|
|
|
93
|
-
# Check for API 1.5
|
|
108
|
+
# Check for API 1.5 access
|
|
109
|
+
# Should always succeed
|
|
94
110
|
def self.api1_5?
|
|
95
111
|
if class_variable_defined?("@@api1_5")
|
|
96
112
|
return @@api1_5 unless @@api1_5.nil?
|
|
@@ -102,6 +118,8 @@ module RightScale
|
|
|
102
118
|
end
|
|
103
119
|
|
|
104
120
|
module BaseConnection
|
|
121
|
+
|
|
122
|
+
# Config for API 1.0
|
|
105
123
|
def connection(*opts)
|
|
106
124
|
@@connection ||= RestConnection::Connection.new(*opts)
|
|
107
125
|
settings = @@connection.settings
|
|
@@ -128,6 +146,7 @@ module RightScale
|
|
|
128
146
|
def resource_singular_name
|
|
129
147
|
self.to_s.underscore
|
|
130
148
|
end
|
|
149
|
+
|
|
131
150
|
# matches using result of block match expression
|
|
132
151
|
# ex: Server.find_by(:nickname) { |n| n =~ /production/ }
|
|
133
152
|
def find_by(attrib, &block)
|
|
@@ -161,10 +180,11 @@ module RightScale
|
|
|
161
180
|
self.find_by(:nickname) { |n| n == nickname }
|
|
162
181
|
end
|
|
163
182
|
|
|
164
|
-
# the
|
|
165
|
-
#
|
|
166
|
-
#
|
|
167
|
-
#
|
|
183
|
+
# Retrieves one or more resources of the same type.
|
|
184
|
+
#
|
|
185
|
+
# @param [Integer|Symbol|String] href should be one of the following: resource id, :all, :first, :last, resource href
|
|
186
|
+
# @param [Hash] additional_params if href is an integer, will be part of retrieve request
|
|
187
|
+
# @param [Block] block if href is a symbol, will be used inside select block to refine results
|
|
168
188
|
def find(href, additional_params={}, &block)
|
|
169
189
|
if href.is_a?(Integer)
|
|
170
190
|
return self.new(connection.get(self.resource_plural_name + "/#{href}", additional_params))
|
|
@@ -21,8 +21,16 @@
|
|
|
21
21
|
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
22
22
|
#++
|
|
23
23
|
|
|
24
|
+
#
|
|
25
|
+
# API 1.5
|
|
26
|
+
#
|
|
27
|
+
|
|
24
28
|
module RightScale
|
|
25
29
|
module Api
|
|
30
|
+
|
|
31
|
+
#
|
|
32
|
+
# Refresh cookie by logging in again
|
|
33
|
+
#
|
|
26
34
|
GATEWAY_COOKIE_REFRESH = proc do
|
|
27
35
|
def refresh_cookie
|
|
28
36
|
# login
|
|
@@ -48,6 +56,10 @@ module RightScale
|
|
|
48
56
|
end
|
|
49
57
|
|
|
50
58
|
module GatewayConnection
|
|
59
|
+
|
|
60
|
+
#
|
|
61
|
+
# Config for API 1.5
|
|
62
|
+
#
|
|
51
63
|
def connection(*opts)
|
|
52
64
|
@@gateway_connection ||= RestConnection::Connection.new(*opts)
|
|
53
65
|
settings = @@gateway_connection.settings
|
|
@@ -21,9 +21,17 @@
|
|
|
21
21
|
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
22
22
|
#++
|
|
23
23
|
|
|
24
|
+
#
|
|
25
|
+
# API 0.1
|
|
26
|
+
#
|
|
24
27
|
module RightScale
|
|
25
28
|
module Api
|
|
26
29
|
module InternalConnection
|
|
30
|
+
|
|
31
|
+
#
|
|
32
|
+
# Config for API 0.1
|
|
33
|
+
# Only works for legacy clusters
|
|
34
|
+
#
|
|
27
35
|
def connection(*opts)
|
|
28
36
|
@@little_brother_connection ||= RestConnection::Connection.new(*opts)
|
|
29
37
|
settings = @@little_brother_connection.settings
|
|
@@ -73,7 +73,6 @@ require 'rest_connection/rightscale/right_script'
|
|
|
73
73
|
require 'rest_connection/rightscale/multi_cloud_image_cloud_setting_internal'
|
|
74
74
|
require 'rest_connection/rightscale/multi_cloud_image_internal'
|
|
75
75
|
require 'rest_connection/rightscale/multi_cloud_image'
|
|
76
|
-
require 'rest_connection/rightscale/ec2_server_array_internal'
|
|
77
76
|
require 'rest_connection/rightscale/ec2_server_array'
|
|
78
77
|
require 'rest_connection/rightscale/mc_server_array'
|
|
79
78
|
require 'rest_connection/rightscale/security_group_rule'
|
|
@@ -78,7 +78,7 @@ module SshHax
|
|
|
78
78
|
# Test for ability to connect; Net::SSH.start sometimes hangs under certain server-side sshd configs
|
|
79
79
|
test_ssh = ""
|
|
80
80
|
[5, 15, 60].each { |timeout_max|
|
|
81
|
-
test_ssh = `ssh -o \"BatchMode=yes\" -o \"StrictHostKeyChecking=no\" -o \"ConnectTimeout #{timeout_max}\" rightscale@#{host_dns} -C \"exit\" 2>&1`.chomp
|
|
81
|
+
test_ssh = `ssh -ttq -o \"BatchMode=yes\" -o \"StrictHostKeyChecking=no\" -o \"ConnectTimeout #{timeout_max}\" rightscale@#{host_dns} -C \"exit\" 2>&1`.chomp
|
|
82
82
|
break if test_ssh =~ /permission denied/i or test_ssh.empty?
|
|
83
83
|
}
|
|
84
84
|
raise test_ssh unless test_ssh =~ /permission denied/i or test_ssh.empty?
|
data/lib/rest_connection.rb
CHANGED
|
@@ -32,6 +32,10 @@ require 'logger'
|
|
|
32
32
|
require 'highline/import'
|
|
33
33
|
require 'nokogiri'
|
|
34
34
|
|
|
35
|
+
#
|
|
36
|
+
# REST connection config and error definitions.
|
|
37
|
+
#
|
|
38
|
+
|
|
35
39
|
module RestConnection
|
|
36
40
|
class Connection
|
|
37
41
|
# Settings is a hash of options for customizing the connection.
|
|
@@ -250,6 +254,8 @@ module RestConnection
|
|
|
250
254
|
end
|
|
251
255
|
end
|
|
252
256
|
|
|
257
|
+
# Logs a message at info level to stdout or log file
|
|
258
|
+
# FIXME: don't lazy initialize
|
|
253
259
|
def logger(message)
|
|
254
260
|
init_message = "Initializing Logging using "
|
|
255
261
|
if @@logger.nil?
|
data/rest_connection.gemspec
CHANGED
|
@@ -18,8 +18,8 @@ It currently has support for RightScale API 1.0 and 1.5.
|
|
|
18
18
|
s.test_files = `git ls-files spec config`.split(' ')
|
|
19
19
|
s.rubygems_version = '1.8.24'
|
|
20
20
|
|
|
21
|
-
s.add_runtime_dependency 'activesupport'
|
|
22
|
-
s.add_runtime_dependency 'net-ssh'
|
|
21
|
+
s.add_runtime_dependency 'activesupport'
|
|
22
|
+
s.add_runtime_dependency 'net-ssh'
|
|
23
23
|
s.add_runtime_dependency 'json'
|
|
24
24
|
s.add_runtime_dependency 'highline'
|
|
25
25
|
s.add_runtime_dependency 'rest-client'
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rest_connection
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 27
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 1
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 1.0.
|
|
9
|
+
- 6
|
|
10
|
+
version: 1.0.6
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- RightScale, Inc.
|
|
@@ -15,42 +15,38 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2013-
|
|
18
|
+
date: 2013-04-20 00:00:00 Z
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|
|
21
|
-
|
|
21
|
+
prerelease: false
|
|
22
22
|
version_requirements: &id001 !ruby/object:Gem::Requirement
|
|
23
23
|
none: false
|
|
24
24
|
requirements:
|
|
25
|
-
- - "
|
|
25
|
+
- - ">="
|
|
26
26
|
- !ruby/object:Gem::Version
|
|
27
|
-
hash:
|
|
27
|
+
hash: 3
|
|
28
28
|
segments:
|
|
29
|
-
-
|
|
30
|
-
|
|
31
|
-
- 10
|
|
32
|
-
version: 2.3.10
|
|
33
|
-
type: :runtime
|
|
29
|
+
- 0
|
|
30
|
+
version: "0"
|
|
34
31
|
requirement: *id001
|
|
35
|
-
|
|
32
|
+
name: activesupport
|
|
33
|
+
type: :runtime
|
|
36
34
|
- !ruby/object:Gem::Dependency
|
|
37
|
-
|
|
35
|
+
prerelease: false
|
|
38
36
|
version_requirements: &id002 !ruby/object:Gem::Requirement
|
|
39
37
|
none: false
|
|
40
38
|
requirements:
|
|
41
|
-
- - "
|
|
39
|
+
- - ">="
|
|
42
40
|
- !ruby/object:Gem::Version
|
|
43
41
|
hash: 3
|
|
44
42
|
segments:
|
|
45
|
-
-
|
|
46
|
-
|
|
47
|
-
- 4
|
|
48
|
-
version: 2.1.4
|
|
49
|
-
type: :runtime
|
|
43
|
+
- 0
|
|
44
|
+
version: "0"
|
|
50
45
|
requirement: *id002
|
|
51
|
-
|
|
46
|
+
name: net-ssh
|
|
47
|
+
type: :runtime
|
|
52
48
|
- !ruby/object:Gem::Dependency
|
|
53
|
-
|
|
49
|
+
prerelease: false
|
|
54
50
|
version_requirements: &id003 !ruby/object:Gem::Requirement
|
|
55
51
|
none: false
|
|
56
52
|
requirements:
|
|
@@ -60,11 +56,11 @@ dependencies:
|
|
|
60
56
|
segments:
|
|
61
57
|
- 0
|
|
62
58
|
version: "0"
|
|
63
|
-
type: :runtime
|
|
64
59
|
requirement: *id003
|
|
65
|
-
|
|
60
|
+
name: json
|
|
61
|
+
type: :runtime
|
|
66
62
|
- !ruby/object:Gem::Dependency
|
|
67
|
-
|
|
63
|
+
prerelease: false
|
|
68
64
|
version_requirements: &id004 !ruby/object:Gem::Requirement
|
|
69
65
|
none: false
|
|
70
66
|
requirements:
|
|
@@ -74,11 +70,11 @@ dependencies:
|
|
|
74
70
|
segments:
|
|
75
71
|
- 0
|
|
76
72
|
version: "0"
|
|
77
|
-
type: :runtime
|
|
78
73
|
requirement: *id004
|
|
79
|
-
|
|
74
|
+
name: highline
|
|
75
|
+
type: :runtime
|
|
80
76
|
- !ruby/object:Gem::Dependency
|
|
81
|
-
|
|
77
|
+
prerelease: false
|
|
82
78
|
version_requirements: &id005 !ruby/object:Gem::Requirement
|
|
83
79
|
none: false
|
|
84
80
|
requirements:
|
|
@@ -88,11 +84,11 @@ dependencies:
|
|
|
88
84
|
segments:
|
|
89
85
|
- 0
|
|
90
86
|
version: "0"
|
|
91
|
-
type: :runtime
|
|
92
87
|
requirement: *id005
|
|
93
|
-
|
|
88
|
+
name: rest-client
|
|
89
|
+
type: :runtime
|
|
94
90
|
- !ruby/object:Gem::Dependency
|
|
95
|
-
|
|
91
|
+
prerelease: false
|
|
96
92
|
version_requirements: &id006 !ruby/object:Gem::Requirement
|
|
97
93
|
none: false
|
|
98
94
|
requirements:
|
|
@@ -102,11 +98,11 @@ dependencies:
|
|
|
102
98
|
segments:
|
|
103
99
|
- 0
|
|
104
100
|
version: "0"
|
|
105
|
-
type: :runtime
|
|
106
101
|
requirement: *id006
|
|
107
|
-
|
|
102
|
+
name: nokogiri
|
|
103
|
+
type: :runtime
|
|
108
104
|
- !ruby/object:Gem::Dependency
|
|
109
|
-
|
|
105
|
+
prerelease: false
|
|
110
106
|
version_requirements: &id007 !ruby/object:Gem::Requirement
|
|
111
107
|
none: false
|
|
112
108
|
requirements:
|
|
@@ -118,11 +114,11 @@ dependencies:
|
|
|
118
114
|
- 8
|
|
119
115
|
- 7
|
|
120
116
|
version: 0.8.7
|
|
121
|
-
type: :development
|
|
122
117
|
requirement: *id007
|
|
123
|
-
|
|
118
|
+
name: rake
|
|
119
|
+
type: :development
|
|
124
120
|
- !ruby/object:Gem::Dependency
|
|
125
|
-
|
|
121
|
+
prerelease: false
|
|
126
122
|
version_requirements: &id008 !ruby/object:Gem::Requirement
|
|
127
123
|
none: false
|
|
128
124
|
requirements:
|
|
@@ -132,11 +128,11 @@ dependencies:
|
|
|
132
128
|
segments:
|
|
133
129
|
- 0
|
|
134
130
|
version: "0"
|
|
135
|
-
type: :development
|
|
136
131
|
requirement: *id008
|
|
137
|
-
|
|
132
|
+
name: bundler
|
|
133
|
+
type: :development
|
|
138
134
|
- !ruby/object:Gem::Dependency
|
|
139
|
-
|
|
135
|
+
prerelease: false
|
|
140
136
|
version_requirements: &id009 !ruby/object:Gem::Requirement
|
|
141
137
|
none: false
|
|
142
138
|
requirements:
|
|
@@ -148,11 +144,11 @@ dependencies:
|
|
|
148
144
|
- 3
|
|
149
145
|
- 0
|
|
150
146
|
version: 1.3.0
|
|
151
|
-
type: :development
|
|
152
147
|
requirement: *id009
|
|
153
|
-
|
|
148
|
+
name: rspec
|
|
149
|
+
type: :development
|
|
154
150
|
- !ruby/object:Gem::Dependency
|
|
155
|
-
|
|
151
|
+
prerelease: false
|
|
156
152
|
version_requirements: &id010 !ruby/object:Gem::Requirement
|
|
157
153
|
none: false
|
|
158
154
|
requirements:
|
|
@@ -162,9 +158,9 @@ dependencies:
|
|
|
162
158
|
segments:
|
|
163
159
|
- 0
|
|
164
160
|
version: "0"
|
|
165
|
-
type: :development
|
|
166
161
|
requirement: *id010
|
|
167
|
-
|
|
162
|
+
name: ruby-debug
|
|
163
|
+
type: :development
|
|
168
164
|
description: "\n\
|
|
169
165
|
The rest_connection gem simplifies the use of RESTful APIs.\n\
|
|
170
166
|
It currently has support for RightScale API 1.0 and 1.5.\n "
|
|
@@ -179,9 +175,8 @@ extra_rdoc_files: []
|
|
|
179
175
|
files:
|
|
180
176
|
- .gitignore
|
|
181
177
|
- Gemfile
|
|
182
|
-
- Gemfile.lock
|
|
183
178
|
- LICENSE
|
|
184
|
-
- README.
|
|
179
|
+
- README.md
|
|
185
180
|
- Rakefile
|
|
186
181
|
- config/rest_api_config.yaml.sample
|
|
187
182
|
- examples/README.txt
|
|
@@ -211,7 +206,6 @@ files:
|
|
|
211
206
|
- lib/rest_connection/rightscale/ec2_elastic_ip.rb
|
|
212
207
|
- lib/rest_connection/rightscale/ec2_security_group.rb
|
|
213
208
|
- lib/rest_connection/rightscale/ec2_server_array.rb
|
|
214
|
-
- lib/rest_connection/rightscale/ec2_server_array_internal.rb
|
|
215
209
|
- lib/rest_connection/rightscale/ec2_ssh_key.rb
|
|
216
210
|
- lib/rest_connection/rightscale/ec2_ssh_key_internal.rb
|
|
217
211
|
- lib/rest_connection/rightscale/executable.rb
|
|
@@ -316,7 +310,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
316
310
|
requirements: []
|
|
317
311
|
|
|
318
312
|
rubyforge_project:
|
|
319
|
-
rubygems_version: 1.8.
|
|
313
|
+
rubygems_version: 1.8.15
|
|
320
314
|
signing_key:
|
|
321
315
|
specification_version: 3
|
|
322
316
|
summary: A Modular RESTful API library.
|