rest_connection 1.0.5 → 1.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (78) hide show
  1. data/README.md +140 -0
  2. data/lib/rest_connection/rightscale/account.rb +1 -1
  3. data/lib/rest_connection/rightscale/alert_spec.rb +3 -0
  4. data/lib/rest_connection/rightscale/alert_spec_subject.rb +3 -0
  5. data/lib/rest_connection/rightscale/audit_entry.rb +3 -0
  6. data/lib/rest_connection/rightscale/backup.rb +1 -1
  7. data/lib/rest_connection/rightscale/child_account.rb +1 -1
  8. data/lib/rest_connection/rightscale/cloud.rb +1 -1
  9. data/lib/rest_connection/rightscale/cloud_account.rb +1 -1
  10. data/lib/rest_connection/rightscale/credential.rb +3 -0
  11. data/lib/rest_connection/rightscale/deployment.rb +3 -0
  12. data/lib/rest_connection/rightscale/ec2_ebs_snapshot.rb +3 -0
  13. data/lib/rest_connection/rightscale/ec2_ebs_volume.rb +3 -0
  14. data/lib/rest_connection/rightscale/ec2_elastic_ip.rb +3 -0
  15. data/lib/rest_connection/rightscale/ec2_security_group.rb +3 -0
  16. data/lib/rest_connection/rightscale/ec2_server_array.rb +34 -3
  17. data/lib/rest_connection/rightscale/ec2_ssh_key.rb +3 -0
  18. data/lib/rest_connection/rightscale/ec2_ssh_key_internal.rb +3 -0
  19. data/lib/rest_connection/rightscale/executable.rb +3 -0
  20. data/lib/rest_connection/rightscale/instance.rb +5 -3
  21. data/lib/rest_connection/rightscale/instance_type.rb +1 -1
  22. data/lib/rest_connection/rightscale/macro.rb +3 -0
  23. data/lib/rest_connection/rightscale/mc_audit_entry.rb +1 -1
  24. data/lib/rest_connection/rightscale/mc_datacenter.rb +1 -1
  25. data/lib/rest_connection/rightscale/mc_deployment.rb +1 -1
  26. data/lib/rest_connection/rightscale/mc_image.rb +1 -1
  27. data/lib/rest_connection/rightscale/mc_instance.rb +9 -2
  28. data/lib/rest_connection/rightscale/mc_instance_type.rb +1 -1
  29. data/lib/rest_connection/rightscale/mc_multi_cloud_image.rb +1 -1
  30. data/lib/rest_connection/rightscale/mc_multi_cloud_image_setting.rb +1 -1
  31. data/lib/rest_connection/rightscale/mc_security_group.rb +1 -1
  32. data/lib/rest_connection/rightscale/mc_server.rb +3 -3
  33. data/lib/rest_connection/rightscale/mc_server_array.rb +1 -1
  34. data/lib/rest_connection/rightscale/mc_server_template.rb +1 -1
  35. data/lib/rest_connection/rightscale/mc_server_template_multi_cloud_image.rb +1 -1
  36. data/lib/rest_connection/rightscale/mc_ssh_key.rb +1 -1
  37. data/lib/rest_connection/rightscale/mc_tag.rb +1 -1
  38. data/lib/rest_connection/rightscale/mc_volume.rb +1 -1
  39. data/lib/rest_connection/rightscale/mc_volume_attachment.rb +1 -1
  40. data/lib/rest_connection/rightscale/mc_volume_snapshot.rb +1 -1
  41. data/lib/rest_connection/rightscale/mc_volume_type.rb +1 -1
  42. data/lib/rest_connection/rightscale/monitoring_metric.rb +1 -1
  43. data/lib/rest_connection/rightscale/multi_cloud_image.rb +3 -0
  44. data/lib/rest_connection/rightscale/multi_cloud_image_cloud_setting_internal.rb +3 -0
  45. data/lib/rest_connection/rightscale/multi_cloud_image_internal.rb +3 -0
  46. data/lib/rest_connection/rightscale/permission.rb +1 -1
  47. data/lib/rest_connection/rightscale/right_script.rb +3 -0
  48. data/lib/rest_connection/rightscale/right_script_attachment_internal.rb +3 -0
  49. data/lib/rest_connection/rightscale/right_script_internal.rb +3 -1
  50. data/lib/rest_connection/rightscale/rightscale_api_base.rb +28 -8
  51. data/lib/rest_connection/rightscale/rightscale_api_gateway.rb +12 -0
  52. data/lib/rest_connection/rightscale/rightscale_api_internal.rb +8 -0
  53. data/lib/rest_connection/rightscale/rightscale_api_mc_input.rb +1 -1
  54. data/lib/rest_connection/rightscale/rightscale_api_mc_taggable.rb +1 -1
  55. data/lib/rest_connection/rightscale/rightscale_api_resources.rb +0 -1
  56. data/lib/rest_connection/rightscale/rs_internal.rb +1 -1
  57. data/lib/rest_connection/rightscale/s3_bucket.rb +3 -0
  58. data/lib/rest_connection/rightscale/security_group_rule.rb +1 -1
  59. data/lib/rest_connection/rightscale/server.rb +3 -0
  60. data/lib/rest_connection/rightscale/server_ec2_ebs_volume.rb +3 -0
  61. data/lib/rest_connection/rightscale/server_internal.rb +1 -1
  62. data/lib/rest_connection/rightscale/server_template.rb +3 -0
  63. data/lib/rest_connection/rightscale/server_template_internal.rb +3 -0
  64. data/lib/rest_connection/rightscale/session.rb +1 -1
  65. data/lib/rest_connection/rightscale/sqs_queue.rb +3 -0
  66. data/lib/rest_connection/rightscale/status.rb +3 -0
  67. data/lib/rest_connection/rightscale/tag.rb +3 -0
  68. data/lib/rest_connection/rightscale/task.rb +1 -1
  69. data/lib/rest_connection/rightscale/user.rb +1 -1
  70. data/lib/rest_connection/rightscale/vpc_dhcp_option.rb +3 -0
  71. data/lib/rest_connection/ssh_hax.rb +1 -1
  72. data/lib/rest_connection/version.rb +1 -1
  73. data/lib/rest_connection.rb +6 -0
  74. data/rest_connection.gemspec +2 -2
  75. metadata +43 -49
  76. data/Gemfile.lock +0 -43
  77. data/README.rdoc +0 -63
  78. data/lib/rest_connection/rightscale/ec2_server_array_internal.rb +0 -53
@@ -21,6 +21,9 @@
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
  class MultiCloudImageCloudSettingInternal
25
28
  include RightScale::Api::Base
26
29
  extend RightScale::Api::BaseExtend
@@ -21,6 +21,9 @@
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
  class MultiCloudImageInternal
25
28
  include RightScale::Api::Base
26
29
  extend RightScale::Api::BaseExtend
@@ -22,7 +22,7 @@
22
22
  #++
23
23
 
24
24
  #
25
- # You must have Beta v1.5 API access to use these internal API calls.
25
+ # API 1.5
26
26
  #
27
27
 
28
28
  #
@@ -22,6 +22,9 @@
22
22
  #++
23
23
 
24
24
 
25
+ #
26
+ # API 1.0
27
+ #
25
28
  class RightScript
26
29
  include RightScale::Api::Base
27
30
  extend RightScale::Api::BaseExtend
@@ -24,6 +24,9 @@
24
24
  require 'rest-client'
25
25
  RestClient.log = ENV["REST_CONNECTION_LOG"] || "stdout"
26
26
 
27
+ #
28
+ # API 0.1
29
+ #
27
30
  class RightScriptAttachmentInternal
28
31
  include RightScale::Api::Base
29
32
  extend RightScale::Api::BaseExtend
@@ -21,7 +21,9 @@
21
21
  # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22
22
  #++
23
23
 
24
-
24
+ #
25
+ # API 0.1
26
+ #
25
27
  class RightScriptInternal
26
28
  include RightScale::Api::Base
27
29
  extend RightScale::Api::BaseExtend
@@ -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 Versions
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
- # Check for API 0.1 Access
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
- # Check for API 1.0 Access
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 Beta Access
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 argument can be
165
- # 1) takes href (URI),
166
- # 2) or id (Integer)
167
- # 3) or symbol :all, :first, :last
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
@@ -22,7 +22,7 @@
22
22
  #++
23
23
 
24
24
  #
25
- # You must have Beta v1.5 API access to use these internal API calls.
25
+ # API 1.5
26
26
  #
27
27
  module RightScale
28
28
  module Api
@@ -22,7 +22,7 @@
22
22
  #++
23
23
 
24
24
  #
25
- # You must have Beta v1.5 API access to use these internal API calls.
25
+ # API 1.5
26
26
  #
27
27
  module RightScale
28
28
  module Api
@@ -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'
@@ -22,7 +22,7 @@
22
22
  #++
23
23
 
24
24
  #
25
- # You must have special API access to use these internal API calls.
25
+ # API 0.1
26
26
  #
27
27
  class RsInternal
28
28
  include RightScale::Api::Base
@@ -21,6 +21,9 @@
21
21
  # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22
22
  #++
23
23
 
24
+ #
25
+ # API 1.0
26
+ #
24
27
  class S3Bucket
25
28
  include RightScale::Api::Base
26
29
  extend RightScale::Api::BaseExtend
@@ -22,7 +22,7 @@
22
22
  #++
23
23
 
24
24
  #
25
- # You must have Beta v1.5 API access to use these internal API calls.
25
+ # API 1.5
26
26
  #
27
27
  class SecurityGroupRule
28
28
  include RightScale::Api::Gateway
@@ -21,6 +21,9 @@
21
21
  # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22
22
  #++
23
23
 
24
+ #
25
+ # API 1.0
26
+ #
24
27
  class Server
25
28
  include RightScale::Api::Base
26
29
  extend RightScale::Api::BaseExtend
@@ -21,6 +21,9 @@
21
21
  # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22
22
  #++
23
23
 
24
+ #
25
+ # API 1.0
26
+ #
24
27
  class ServerEc2EbsVolume
25
28
  include RightScale::Api::Base
26
29
  extend RightScale::Api::BaseExtend
@@ -22,7 +22,7 @@
22
22
  #++
23
23
 
24
24
  #
25
- # You must have special API access to use these internal API calls.
25
+ # API 0.1
26
26
  #
27
27
  class ServerInternal
28
28
  include RightScale::Api::Base
@@ -21,6 +21,9 @@
21
21
  # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22
22
  #++
23
23
 
24
+ #
25
+ # API 1.0
26
+ #
24
27
  class ServerTemplate
25
28
  include RightScale::Api::Base
26
29
  extend RightScale::Api::BaseExtend
@@ -21,6 +21,9 @@
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
  class ServerTemplateInternal
25
28
  include RightScale::Api::Base
26
29
  extend RightScale::Api::BaseExtend
@@ -22,7 +22,7 @@
22
22
  #++
23
23
 
24
24
  #
25
- # You must have Beta v1.5 API access to use these internal API calls.
25
+ # API 1.5
26
26
  #
27
27
  class Session
28
28
  include RightScale::Api::Gateway
@@ -21,6 +21,9 @@
21
21
  # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22
22
  #++
23
23
 
24
+ #
25
+ # API 1.0
26
+ #
24
27
  class SqsQueue
25
28
  include RightScale::Api::Base
26
29
  extend RightScale::Api::BaseExtend
@@ -26,6 +26,9 @@
26
26
 
27
27
  #This is the v4 image only work status api.
28
28
  # was used by Server#run_script (depricating..)
29
+ #
30
+ # API 1.0
31
+ #
29
32
  class Status
30
33
  include RightScale::Api::Base
31
34
  extend RightScale::Api::BaseExtend
@@ -21,6 +21,9 @@
21
21
  # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22
22
  #++
23
23
 
24
+ #
25
+ # API 1.0
26
+ #
24
27
  class Tag
25
28
  include RightScale::Api::Base
26
29
  extend RightScale::Api::BaseExtend
@@ -22,7 +22,7 @@
22
22
  #++
23
23
 
24
24
  #
25
- # You must have Beta v1.5 API access to use these internal API calls.
25
+ # API 1.5
26
26
  #
27
27
  class Task
28
28
  include RightScale::Api::Gateway
@@ -22,7 +22,7 @@
22
22
  #++
23
23
 
24
24
  #
25
- # You must have Beta v1.5 API access to use these internal API calls.
25
+ # API 1.5
26
26
  #
27
27
 
28
28
  #
@@ -21,6 +21,9 @@
21
21
  # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22
22
  #++
23
23
 
24
+ #
25
+ # API 1.0
26
+ #
24
27
  class VpcDhcpOption
25
28
  include RightScale::Api::Base
26
29
  extend RightScale::Api::BaseExtend
@@ -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?
@@ -1,4 +1,4 @@
1
1
  # This gem is versioned with the usual X.Y.Z notation
2
2
  module RestConnection
3
- VERSION = '1.0.5'
3
+ VERSION = '1.0.6'
4
4
  end
@@ -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?
@@ -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', '2.3.10'
22
- s.add_runtime_dependency 'net-ssh', '2.1.4'
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: 29
4
+ hash: 27
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 5
10
- version: 1.0.5
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-01-03 00:00:00 Z
18
+ date: 2013-04-20 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
- name: activesupport
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: 23
27
+ hash: 3
28
28
  segments:
29
- - 2
30
- - 3
31
- - 10
32
- version: 2.3.10
33
- type: :runtime
29
+ - 0
30
+ version: "0"
34
31
  requirement: *id001
35
- prerelease: false
32
+ name: activesupport
33
+ type: :runtime
36
34
  - !ruby/object:Gem::Dependency
37
- name: net-ssh
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
- - 2
46
- - 1
47
- - 4
48
- version: 2.1.4
49
- type: :runtime
43
+ - 0
44
+ version: "0"
50
45
  requirement: *id002
51
- prerelease: false
46
+ name: net-ssh
47
+ type: :runtime
52
48
  - !ruby/object:Gem::Dependency
53
- name: json
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
- prerelease: false
60
+ name: json
61
+ type: :runtime
66
62
  - !ruby/object:Gem::Dependency
67
- name: highline
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
- prerelease: false
74
+ name: highline
75
+ type: :runtime
80
76
  - !ruby/object:Gem::Dependency
81
- name: rest-client
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
- prerelease: false
88
+ name: rest-client
89
+ type: :runtime
94
90
  - !ruby/object:Gem::Dependency
95
- name: nokogiri
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
- prerelease: false
102
+ name: nokogiri
103
+ type: :runtime
108
104
  - !ruby/object:Gem::Dependency
109
- name: rake
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
- prerelease: false
118
+ name: rake
119
+ type: :development
124
120
  - !ruby/object:Gem::Dependency
125
- name: bundler
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
- prerelease: false
132
+ name: bundler
133
+ type: :development
138
134
  - !ruby/object:Gem::Dependency
139
- name: rspec
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
- prerelease: false
148
+ name: rspec
149
+ type: :development
154
150
  - !ruby/object:Gem::Dependency
155
- name: ruby-debug
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
- prerelease: false
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.rdoc
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.24
313
+ rubygems_version: 1.8.15
320
314
  signing_key:
321
315
  specification_version: 3
322
316
  summary: A Modular RESTful API library.