right_aws 1.9.0 → 3.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (70) hide show
  1. data/History.txt +164 -13
  2. data/Manifest.txt +28 -1
  3. data/README.txt +12 -10
  4. data/Rakefile +56 -29
  5. data/lib/acf/right_acf_interface.rb +343 -172
  6. data/lib/acf/right_acf_invalidations.rb +144 -0
  7. data/lib/acf/right_acf_origin_access_identities.rb +230 -0
  8. data/lib/acf/right_acf_streaming_interface.rb +229 -0
  9. data/lib/acw/right_acw_interface.rb +248 -0
  10. data/lib/as/right_as_interface.rb +698 -0
  11. data/lib/awsbase/right_awsbase.rb +755 -115
  12. data/lib/awsbase/support.rb +2 -78
  13. data/lib/awsbase/version.rb +9 -0
  14. data/lib/ec2/right_ec2.rb +274 -1294
  15. data/lib/ec2/right_ec2_ebs.rb +514 -0
  16. data/lib/ec2/right_ec2_images.rb +444 -0
  17. data/lib/ec2/right_ec2_instances.rb +797 -0
  18. data/lib/ec2/right_ec2_monitoring.rb +70 -0
  19. data/lib/ec2/right_ec2_placement_groups.rb +108 -0
  20. data/lib/ec2/right_ec2_reserved_instances.rb +243 -0
  21. data/lib/ec2/right_ec2_security_groups.rb +496 -0
  22. data/lib/ec2/right_ec2_spot_instances.rb +422 -0
  23. data/lib/ec2/right_ec2_tags.rb +139 -0
  24. data/lib/ec2/right_ec2_vpc.rb +598 -0
  25. data/lib/ec2/right_ec2_vpc2.rb +382 -0
  26. data/lib/ec2/right_ec2_windows_mobility.rb +84 -0
  27. data/lib/elb/right_elb_interface.rb +573 -0
  28. data/lib/emr/right_emr_interface.rb +728 -0
  29. data/lib/iam/right_iam_access_keys.rb +71 -0
  30. data/lib/iam/right_iam_groups.rb +195 -0
  31. data/lib/iam/right_iam_interface.rb +341 -0
  32. data/lib/iam/right_iam_mfa_devices.rb +67 -0
  33. data/lib/iam/right_iam_users.rb +251 -0
  34. data/lib/rds/right_rds_interface.rb +1657 -0
  35. data/lib/right_aws.rb +30 -13
  36. data/lib/route_53/right_route_53_interface.rb +641 -0
  37. data/lib/s3/right_s3.rb +108 -41
  38. data/lib/s3/right_s3_interface.rb +349 -118
  39. data/lib/sdb/active_sdb.rb +388 -54
  40. data/lib/sdb/right_sdb_interface.rb +323 -64
  41. data/lib/sns/right_sns_interface.rb +286 -0
  42. data/lib/sqs/right_sqs.rb +1 -2
  43. data/lib/sqs/right_sqs_gen2.rb +73 -17
  44. data/lib/sqs/right_sqs_gen2_interface.rb +146 -73
  45. data/lib/sqs/right_sqs_interface.rb +12 -22
  46. data/right_aws.gemspec +91 -0
  47. data/test/README.mdown +39 -0
  48. data/test/acf/test_right_acf.rb +11 -19
  49. data/test/awsbase/test_helper.rb +2 -0
  50. data/test/awsbase/test_right_awsbase.rb +11 -0
  51. data/test/ec2/test_right_ec2.rb +32 -1
  52. data/test/elb/test_helper.rb +2 -0
  53. data/test/elb/test_right_elb.rb +43 -0
  54. data/test/rds/test_helper.rb +2 -0
  55. data/test/rds/test_right_rds.rb +120 -0
  56. data/test/route_53/fixtures/a_record.xml +18 -0
  57. data/test/route_53/fixtures/alias_record.xml +18 -0
  58. data/test/route_53/test_helper.rb +2 -0
  59. data/test/route_53/test_right_route_53.rb +141 -0
  60. data/test/s3/test_right_s3.rb +176 -42
  61. data/test/s3/test_right_s3_stubbed.rb +6 -4
  62. data/test/sdb/test_active_sdb.rb +120 -19
  63. data/test/sdb/test_batch_put_attributes.rb +54 -0
  64. data/test/sdb/test_right_sdb.rb +71 -16
  65. data/test/sns/test_helper.rb +2 -0
  66. data/test/sns/test_right_sns.rb +153 -0
  67. data/test/sqs/test_right_sqs.rb +0 -6
  68. data/test/sqs/test_right_sqs_gen2.rb +104 -49
  69. data/test/ts_right_aws.rb +1 -0
  70. metadata +181 -22
data/test/ts_right_aws.rb CHANGED
@@ -12,3 +12,4 @@ require 'sqs/test_right_sqs.rb'
12
12
  require 'sqs/test_right_sqs_gen2.rb'
13
13
  require 'sdb/test_right_sdb.rb'
14
14
  require 'acf/test_right_acf.rb'
15
+ require 'sns/test_right_sns.rb'
metadata CHANGED
@@ -1,7 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: right_aws
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.0
4
+ hash: 3
5
+ prerelease:
6
+ segments:
7
+ - 3
8
+ - 1
9
+ - 0
10
+ version: 3.1.0
5
11
  platform: ruby
6
12
  authors:
7
13
  - RightScale, Inc.
@@ -9,90 +15,243 @@ autorequire:
9
15
  bindir: bin
10
16
  cert_chain: []
11
17
 
12
- date: 2008-11-21 00:00:00 -08:00
13
- default_executable:
18
+ date: 2013-06-13 00:00:00 Z
14
19
  dependencies:
15
20
  - !ruby/object:Gem::Dependency
16
21
  name: right_http_connection
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
24
+ none: false
25
+ requirements:
26
+ - - ">="
27
+ - !ruby/object:Gem::Version
28
+ hash: 21
29
+ segments:
30
+ - 1
31
+ - 2
32
+ - 5
33
+ version: 1.2.5
17
34
  type: :runtime
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
35
+ version_requirements: *id001
36
+ - !ruby/object:Gem::Dependency
37
+ name: rake
38
+ prerelease: false
39
+ requirement: &id002 !ruby/object:Gem::Requirement
40
+ none: false
20
41
  requirements:
21
42
  - - ">="
22
43
  - !ruby/object:Gem::Version
23
- version: 1.2.1
24
- version:
25
- description: "== DESCRIPTION: The RightScale AWS gems have been designed to provide a robust, fast, and secure interface to Amazon EC2, EBS, S3, SQS, SDB, and CloudFront. These gems have been used in production by RightScale since late 2006 and are being maintained to track enhancements made by Amazon. The RightScale AWS gems comprise: - RightAws::Ec2 -- interface to Amazon EC2 (Elastic Compute Cloud) and the associated EBS (Elastic Block Store) - RightAws::S3 and RightAws::S3Interface -- interface to Amazon S3 (Simple Storage Service) - RightAws::Sqs and RightAws::SqsInterface -- interface to first-generation Amazon SQS (Simple Queue Service) (API version 2007-05-01) - RightAws::SqsGen2 and RightAws::SqsGen2Interface -- interface to second-generation Amazon SQS (Simple Queue Service) (API version 2008-01-01) - RightAws::SdbInterface and RightAws::ActiveSdb -- interface to Amazon SDB (SimpleDB) - RightAws::AcfInterface -- interface to Amazon CloudFront, a content distribution service == FEATURES:"
44
+ hash: 3
45
+ segments:
46
+ - 0
47
+ version: "0"
48
+ type: :development
49
+ version_requirements: *id002
50
+ - !ruby/object:Gem::Dependency
51
+ name: rcov
52
+ prerelease: false
53
+ requirement: &id003 !ruby/object:Gem::Requirement
54
+ none: false
55
+ requirements:
56
+ - - ">="
57
+ - !ruby/object:Gem::Version
58
+ hash: 3
59
+ segments:
60
+ - 0
61
+ version: "0"
62
+ type: :development
63
+ version_requirements: *id003
64
+ description: |
65
+ == DESCRIPTION:
66
+
67
+ The RightScale AWS gems have been designed to provide a robust, fast, and secure interface to Amazon EC2, EBS, S3, SQS, SDB, and CloudFront.
68
+ These gems have been used in production by RightScale since late 2006 and are being maintained to track enhancements made by Amazon.
69
+ The RightScale AWS gems comprise:
70
+
71
+ - RightAws::Ec2 -- interface to Amazon EC2 (Elastic Compute Cloud) and the
72
+ associated EBS (Elastic Block Store)
73
+ - RightAws::S3 and RightAws::S3Interface -- interface to Amazon S3 (Simple Storage Service)
74
+ - RightAws::Sqs and RightAws::SqsInterface -- interface to first-generation Amazon SQS (Simple Queue Service) (API version 2007-05-01)
75
+ - RightAws::SqsGen2 and RightAws::SqsGen2Interface -- interface to second-generation Amazon SQS (Simple Queue Service) (API version 2008-01-01)
76
+ - RightAws::SdbInterface and RightAws::ActiveSdb -- interface to Amazon SDB (SimpleDB)
77
+ - RightAws::AcfInterface -- interface to Amazon CloudFront, a content distribution service
78
+
79
+ == FEATURES:
80
+
81
+ - Full programmmatic access to EC2, EBS, S3, SQS, SDB, and CloudFront.
82
+ - Complete error handling: all operations check for errors and report complete
83
+ error information by raising an AwsError.
84
+ - Persistent HTTP connections with robust network-level retry layer using
85
+ RightHttpConnection). This includes socket timeouts and retries.
86
+ - Robust HTTP-level retry layer. Certain (user-adjustable) HTTP errors returned
87
+ by Amazon's services are classified as temporary errors.
88
+ These errors are automaticallly retried using exponentially increasing intervals.
89
+ The number of retries is user-configurable.
90
+ - Fast REXML-based parsing of responses (as fast as a pure Ruby solution allows).
91
+ - Uses libxml (if available) for faster response parsing.
92
+ - Support for large S3 list operations. Buckets and key subfolders containing
93
+ many (> 1000) keys are listed in entirety. Operations based on list (like
94
+ bucket clear) work on arbitrary numbers of keys.
95
+ - Support for streaming GETs from S3, and streaming PUTs to S3 if the data source is a file.
96
+ - Support for single-threaded usage, multithreaded usage, as well as usage with multiple
97
+ AWS accounts.
98
+ - Support for both first- and second-generation SQS (API versions 2007-05-01
99
+ and 2008-01-01). These versions of SQS are not compatible.
100
+ - Support for signature versions 0 and 1 on SQS, SDB, and EC2.
101
+ - Interoperability with any cloud running Eucalyptus (http://eucalyptus.cs.ucsb.edu)
102
+ - Test suite (requires AWS account to do "live" testing).
103
+
26
104
  email: support@rightscale.com
27
105
  executables: []
28
106
 
29
107
  extensions: []
30
108
 
31
109
  extra_rdoc_files:
32
- - History.txt
33
- - Manifest.txt
34
110
  - README.txt
35
111
  files:
36
112
  - History.txt
37
113
  - Manifest.txt
38
114
  - README.txt
39
115
  - Rakefile
116
+ - lib/acf/right_acf_interface.rb
117
+ - lib/acf/right_acf_invalidations.rb
118
+ - lib/acf/right_acf_origin_access_identities.rb
119
+ - lib/acf/right_acf_streaming_interface.rb
120
+ - lib/acw/right_acw_interface.rb
121
+ - lib/as/right_as_interface.rb
40
122
  - lib/awsbase/benchmark_fix.rb
41
123
  - lib/awsbase/right_awsbase.rb
42
124
  - lib/awsbase/support.rb
125
+ - lib/awsbase/version.rb
43
126
  - lib/ec2/right_ec2.rb
127
+ - lib/ec2/right_ec2_ebs.rb
128
+ - lib/ec2/right_ec2_images.rb
129
+ - lib/ec2/right_ec2_instances.rb
130
+ - lib/ec2/right_ec2_monitoring.rb
131
+ - lib/ec2/right_ec2_placement_groups.rb
132
+ - lib/ec2/right_ec2_reserved_instances.rb
133
+ - lib/ec2/right_ec2_security_groups.rb
134
+ - lib/ec2/right_ec2_spot_instances.rb
135
+ - lib/ec2/right_ec2_tags.rb
136
+ - lib/ec2/right_ec2_vpc.rb
137
+ - lib/ec2/right_ec2_vpc2.rb
138
+ - lib/ec2/right_ec2_windows_mobility.rb
139
+ - lib/elb/right_elb_interface.rb
140
+ - lib/emr/right_emr_interface.rb
141
+ - lib/iam/right_iam_access_keys.rb
142
+ - lib/iam/right_iam_groups.rb
143
+ - lib/iam/right_iam_interface.rb
144
+ - lib/iam/right_iam_mfa_devices.rb
145
+ - lib/iam/right_iam_users.rb
146
+ - lib/rds/right_rds_interface.rb
44
147
  - lib/right_aws.rb
148
+ - lib/route_53/right_route_53_interface.rb
45
149
  - lib/s3/right_s3.rb
46
150
  - lib/s3/right_s3_interface.rb
47
151
  - lib/sdb/active_sdb.rb
48
152
  - lib/sdb/right_sdb_interface.rb
153
+ - lib/sns/right_sns_interface.rb
49
154
  - lib/sqs/right_sqs.rb
50
155
  - lib/sqs/right_sqs_gen2.rb
51
156
  - lib/sqs/right_sqs_gen2_interface.rb
52
157
  - lib/sqs/right_sqs_interface.rb
53
- - lib/acf/right_acf_interface.rb
158
+ - right_aws.gemspec
159
+ - test/README.mdown
160
+ - test/acf/test_helper.rb
161
+ - test/acf/test_right_acf.rb
162
+ - test/awsbase/test_helper.rb
163
+ - test/awsbase/test_right_awsbase.rb
54
164
  - test/ec2/test_helper.rb
55
165
  - test/ec2/test_right_ec2.rb
166
+ - test/elb/test_helper.rb
167
+ - test/elb/test_right_elb.rb
56
168
  - test/http_connection.rb
169
+ - test/rds/test_helper.rb
170
+ - test/rds/test_right_rds.rb
171
+ - test/route_53/fixtures/a_record.xml
172
+ - test/route_53/fixtures/alias_record.xml
173
+ - test/route_53/test_helper.rb
174
+ - test/route_53/test_right_route_53.rb
57
175
  - test/s3/test_helper.rb
58
176
  - test/s3/test_right_s3.rb
59
177
  - test/s3/test_right_s3_stubbed.rb
60
178
  - test/sdb/test_active_sdb.rb
179
+ - test/sdb/test_batch_put_attributes.rb
61
180
  - test/sdb/test_helper.rb
62
181
  - test/sdb/test_right_sdb.rb
182
+ - test/sns/test_helper.rb
183
+ - test/sns/test_right_sns.rb
63
184
  - test/sqs/test_helper.rb
64
185
  - test/sqs/test_right_sqs.rb
65
186
  - test/sqs/test_right_sqs_gen2.rb
66
187
  - test/test_credentials.rb
67
188
  - test/ts_right_aws.rb
68
- - test/acf/test_helper.rb
69
- - test/acf/test_right_acf.rb
70
- has_rdoc: true
71
189
  homepage:
190
+ licenses: []
191
+
72
192
  post_install_message:
73
193
  rdoc_options:
74
194
  - --main
75
195
  - README.txt
196
+ - --title
197
+ - ""
76
198
  require_paths:
77
199
  - lib
78
200
  required_ruby_version: !ruby/object:Gem::Requirement
201
+ none: false
79
202
  requirements:
80
203
  - - ">="
81
204
  - !ruby/object:Gem::Version
82
- version: "0"
83
- version:
205
+ hash: 57
206
+ segments:
207
+ - 1
208
+ - 8
209
+ - 7
210
+ version: 1.8.7
84
211
  required_rubygems_version: !ruby/object:Gem::Requirement
212
+ none: false
85
213
  requirements:
86
214
  - - ">="
87
215
  - !ruby/object:Gem::Version
216
+ hash: 3
217
+ segments:
218
+ - 0
88
219
  version: "0"
89
- version:
90
- requirements: []
91
-
220
+ requirements:
221
+ - libxml-ruby >= 0.5.2.0 is encouraged
92
222
  rubyforge_project: rightaws
93
- rubygems_version: 1.3.1
223
+ rubygems_version: 1.8.5
94
224
  signing_key:
95
- specification_version: 2
96
- summary: Interface classes for the Amazon EC2, SQS, and S3 Web Services
225
+ specification_version: 3
226
+ summary: The RightScale AWS gems have been designed to provide a robust, fast, and secure interface to Amazon EC2, EBS, S3, SQS, SDB, and CloudFront.
97
227
  test_files:
228
+ - test/acf/test_helper.rb
229
+ - test/acf/test_right_acf.rb
230
+ - test/awsbase/test_helper.rb
231
+ - test/awsbase/test_right_awsbase.rb
232
+ - test/ec2/test_helper.rb
233
+ - test/ec2/test_right_ec2.rb
234
+ - test/elb/test_helper.rb
235
+ - test/elb/test_right_elb.rb
236
+ - test/http_connection.rb
237
+ - test/rds/test_helper.rb
238
+ - test/rds/test_right_rds.rb
239
+ - test/README.mdown
240
+ - test/route_53/fixtures/a_record.xml
241
+ - test/route_53/fixtures/alias_record.xml
242
+ - test/route_53/test_helper.rb
243
+ - test/route_53/test_right_route_53.rb
244
+ - test/s3/test_helper.rb
245
+ - test/s3/test_right_s3.rb
246
+ - test/s3/test_right_s3_stubbed.rb
247
+ - test/sdb/test_active_sdb.rb
248
+ - test/sdb/test_batch_put_attributes.rb
249
+ - test/sdb/test_helper.rb
250
+ - test/sdb/test_right_sdb.rb
251
+ - test/sns/test_helper.rb
252
+ - test/sns/test_right_sns.rb
253
+ - test/sqs/test_helper.rb
254
+ - test/sqs/test_right_sqs.rb
255
+ - test/sqs/test_right_sqs_gen2.rb
256
+ - test/test_credentials.rb
98
257
  - test/ts_right_aws.rb