poolparty 1.6.6 → 1.6.7

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.
Files changed (67) hide show
  1. data/VERSION.yml +2 -3
  2. data/lib/poolparty/chef_solo.rb +0 -1
  3. metadata +12 -69
  4. data/vendor/gems/amazon-ec2/ChangeLog +0 -304
  5. data/vendor/gems/amazon-ec2/LICENSE +0 -66
  6. data/vendor/gems/amazon-ec2/README.rdoc +0 -359
  7. data/vendor/gems/amazon-ec2/README_dev.rdoc +0 -10
  8. data/vendor/gems/amazon-ec2/Rakefile +0 -70
  9. data/vendor/gems/amazon-ec2/VERSION +0 -1
  10. data/vendor/gems/amazon-ec2/amazon-ec2.gemspec +0 -142
  11. data/vendor/gems/amazon-ec2/bin/ec2-gem-example.rb +0 -137
  12. data/vendor/gems/amazon-ec2/bin/ec2-gem-profile.rb +0 -10
  13. data/vendor/gems/amazon-ec2/bin/ec2sh +0 -62
  14. data/vendor/gems/amazon-ec2/bin/setup.rb +0 -29
  15. data/vendor/gems/amazon-ec2/deps.rip +0 -1
  16. data/vendor/gems/amazon-ec2/lib/AWS/Autoscaling/autoscaling.rb +0 -273
  17. data/vendor/gems/amazon-ec2/lib/AWS/Autoscaling.rb +0 -70
  18. data/vendor/gems/amazon-ec2/lib/AWS/Cloudwatch/monitoring.rb +0 -80
  19. data/vendor/gems/amazon-ec2/lib/AWS/Cloudwatch.rb +0 -32
  20. data/vendor/gems/amazon-ec2/lib/AWS/EC2/availability_zones.rb +0 -29
  21. data/vendor/gems/amazon-ec2/lib/AWS/EC2/console.rb +0 -25
  22. data/vendor/gems/amazon-ec2/lib/AWS/EC2/devpay.rb +0 -18
  23. data/vendor/gems/amazon-ec2/lib/AWS/EC2/elastic_ips.rb +0 -86
  24. data/vendor/gems/amazon-ec2/lib/AWS/EC2/image_attributes.rb +0 -133
  25. data/vendor/gems/amazon-ec2/lib/AWS/EC2/images.rb +0 -117
  26. data/vendor/gems/amazon-ec2/lib/AWS/EC2/instances.rb +0 -249
  27. data/vendor/gems/amazon-ec2/lib/AWS/EC2/keypairs.rb +0 -47
  28. data/vendor/gems/amazon-ec2/lib/AWS/EC2/products.rb +0 -21
  29. data/vendor/gems/amazon-ec2/lib/AWS/EC2/security_groups.rb +0 -164
  30. data/vendor/gems/amazon-ec2/lib/AWS/EC2/snapshots.rb +0 -80
  31. data/vendor/gems/amazon-ec2/lib/AWS/EC2/volumes.rb +0 -100
  32. data/vendor/gems/amazon-ec2/lib/AWS/EC2.rb +0 -33
  33. data/vendor/gems/amazon-ec2/lib/AWS/ELB/load_balancers.rb +0 -178
  34. data/vendor/gems/amazon-ec2/lib/AWS/ELB.rb +0 -71
  35. data/vendor/gems/amazon-ec2/lib/AWS/RDS/rds.rb +0 -522
  36. data/vendor/gems/amazon-ec2/lib/AWS/RDS.rb +0 -73
  37. data/vendor/gems/amazon-ec2/lib/AWS/exceptions.rb +0 -200
  38. data/vendor/gems/amazon-ec2/lib/AWS/responses.rb +0 -21
  39. data/vendor/gems/amazon-ec2/lib/AWS.rb +0 -304
  40. data/vendor/gems/amazon-ec2/perftools/ec2prof +0 -0
  41. data/vendor/gems/amazon-ec2/perftools/ec2prof-results.dot +0 -132
  42. data/vendor/gems/amazon-ec2/perftools/ec2prof-results.txt +0 -100
  43. data/vendor/gems/amazon-ec2/perftools/ec2prof.symbols +0 -102
  44. data/vendor/gems/amazon-ec2/test/test_Autoscaling_groups.rb +0 -337
  45. data/vendor/gems/amazon-ec2/test/test_EC2.rb +0 -68
  46. data/vendor/gems/amazon-ec2/test/test_EC2_availability_zones.rb +0 -49
  47. data/vendor/gems/amazon-ec2/test/test_EC2_console.rb +0 -54
  48. data/vendor/gems/amazon-ec2/test/test_EC2_elastic_ips.rb +0 -144
  49. data/vendor/gems/amazon-ec2/test/test_EC2_image_attributes.rb +0 -238
  50. data/vendor/gems/amazon-ec2/test/test_EC2_images.rb +0 -229
  51. data/vendor/gems/amazon-ec2/test/test_EC2_instances.rb +0 -611
  52. data/vendor/gems/amazon-ec2/test/test_EC2_keypairs.rb +0 -123
  53. data/vendor/gems/amazon-ec2/test/test_EC2_products.rb +0 -48
  54. data/vendor/gems/amazon-ec2/test/test_EC2_responses.rb +0 -53
  55. data/vendor/gems/amazon-ec2/test/test_EC2_s3_xmlsimple.rb +0 -80
  56. data/vendor/gems/amazon-ec2/test/test_EC2_security_groups.rb +0 -205
  57. data/vendor/gems/amazon-ec2/test/test_EC2_snapshots.rb +0 -83
  58. data/vendor/gems/amazon-ec2/test/test_EC2_volumes.rb +0 -142
  59. data/vendor/gems/amazon-ec2/test/test_ELB_load_balancers.rb +0 -239
  60. data/vendor/gems/amazon-ec2/test/test_RDS.rb +0 -354
  61. data/vendor/gems/amazon-ec2/test/test_helper.rb +0 -23
  62. data/vendor/gems/amazon-ec2/wsdl/2007-08-29.ec2.wsdl +0 -1269
  63. data/vendor/gems/amazon-ec2/wsdl/2008-02-01.ec2.wsdl +0 -1614
  64. data/vendor/gems/amazon-ec2/wsdl/2008-05-05.ec2.wsdl +0 -2052
  65. data/vendor/gems/amazon-ec2/wsdl/2008-12-01.ec2.wsdl +0 -2354
  66. data/vendor/gems/amazon-ec2/wsdl/2009-10-31.ec2.wsdl +0 -4261
  67. data/vendor/gems/amazon-ec2/wsdl/2009-11-30.ec2.wsdl +0 -4668
data/VERSION.yml CHANGED
@@ -1,5 +1,4 @@
1
1
  ---
2
- :minor: 6
3
- :patch: 6
2
+ :patch: 7
4
3
  :major: 1
5
- :build:
4
+ :minor: 6
@@ -17,7 +17,6 @@ module PoolParty
17
17
  puts "Copying the chef-repo into the base directory from #{repo}"
18
18
 
19
19
  FileUtils.mkdir_p base_directory
20
- FileUtils.mkdir_p roles_dir # Why do we need this??!?
21
20
  if File.directory?(repo)
22
21
  if File.exist?(base_directory)
23
22
  # First remove the directory
metadata CHANGED
@@ -1,7 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: poolparty
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.6
4
+ prerelease: false
5
+ segments:
6
+ - 1
7
+ - 6
8
+ - 7
9
+ version: 1.6.7
5
10
  platform: ruby
6
11
  authors:
7
12
  - Ari Lerner
@@ -11,7 +16,7 @@ autorequire:
11
16
  bindir: bin
12
17
  cert_chain: []
13
18
 
14
- date: 2010-03-22 00:00:00 -07:00
19
+ date: 2010-03-23 00:00:00 -07:00
15
20
  default_executable:
16
21
  dependencies: []
17
22
 
@@ -313,70 +318,6 @@ files:
313
318
  - test/lib/poolparty/rds_test.rb
314
319
  - test/test_helper.rb
315
320
  - test/test_methods.rb
316
- - vendor/gems/amazon-ec2/ChangeLog
317
- - vendor/gems/amazon-ec2/LICENSE
318
- - vendor/gems/amazon-ec2/README.rdoc
319
- - vendor/gems/amazon-ec2/README_dev.rdoc
320
- - vendor/gems/amazon-ec2/Rakefile
321
- - vendor/gems/amazon-ec2/VERSION
322
- - vendor/gems/amazon-ec2/amazon-ec2.gemspec
323
- - vendor/gems/amazon-ec2/bin/ec2-gem-example.rb
324
- - vendor/gems/amazon-ec2/bin/ec2-gem-profile.rb
325
- - vendor/gems/amazon-ec2/bin/ec2sh
326
- - vendor/gems/amazon-ec2/bin/setup.rb
327
- - vendor/gems/amazon-ec2/deps.rip
328
- - vendor/gems/amazon-ec2/lib/AWS.rb
329
- - vendor/gems/amazon-ec2/lib/AWS/Autoscaling.rb
330
- - vendor/gems/amazon-ec2/lib/AWS/Autoscaling/autoscaling.rb
331
- - vendor/gems/amazon-ec2/lib/AWS/Cloudwatch.rb
332
- - vendor/gems/amazon-ec2/lib/AWS/Cloudwatch/monitoring.rb
333
- - vendor/gems/amazon-ec2/lib/AWS/EC2.rb
334
- - vendor/gems/amazon-ec2/lib/AWS/EC2/availability_zones.rb
335
- - vendor/gems/amazon-ec2/lib/AWS/EC2/console.rb
336
- - vendor/gems/amazon-ec2/lib/AWS/EC2/devpay.rb
337
- - vendor/gems/amazon-ec2/lib/AWS/EC2/elastic_ips.rb
338
- - vendor/gems/amazon-ec2/lib/AWS/EC2/image_attributes.rb
339
- - vendor/gems/amazon-ec2/lib/AWS/EC2/images.rb
340
- - vendor/gems/amazon-ec2/lib/AWS/EC2/instances.rb
341
- - vendor/gems/amazon-ec2/lib/AWS/EC2/keypairs.rb
342
- - vendor/gems/amazon-ec2/lib/AWS/EC2/products.rb
343
- - vendor/gems/amazon-ec2/lib/AWS/EC2/security_groups.rb
344
- - vendor/gems/amazon-ec2/lib/AWS/EC2/snapshots.rb
345
- - vendor/gems/amazon-ec2/lib/AWS/EC2/volumes.rb
346
- - vendor/gems/amazon-ec2/lib/AWS/ELB.rb
347
- - vendor/gems/amazon-ec2/lib/AWS/ELB/load_balancers.rb
348
- - vendor/gems/amazon-ec2/lib/AWS/RDS.rb
349
- - vendor/gems/amazon-ec2/lib/AWS/RDS/rds.rb
350
- - vendor/gems/amazon-ec2/lib/AWS/exceptions.rb
351
- - vendor/gems/amazon-ec2/lib/AWS/responses.rb
352
- - vendor/gems/amazon-ec2/perftools/ec2prof
353
- - vendor/gems/amazon-ec2/perftools/ec2prof-results.dot
354
- - vendor/gems/amazon-ec2/perftools/ec2prof-results.txt
355
- - vendor/gems/amazon-ec2/perftools/ec2prof.symbols
356
- - vendor/gems/amazon-ec2/test/test_Autoscaling_groups.rb
357
- - vendor/gems/amazon-ec2/test/test_EC2.rb
358
- - vendor/gems/amazon-ec2/test/test_EC2_availability_zones.rb
359
- - vendor/gems/amazon-ec2/test/test_EC2_console.rb
360
- - vendor/gems/amazon-ec2/test/test_EC2_elastic_ips.rb
361
- - vendor/gems/amazon-ec2/test/test_EC2_image_attributes.rb
362
- - vendor/gems/amazon-ec2/test/test_EC2_images.rb
363
- - vendor/gems/amazon-ec2/test/test_EC2_instances.rb
364
- - vendor/gems/amazon-ec2/test/test_EC2_keypairs.rb
365
- - vendor/gems/amazon-ec2/test/test_EC2_products.rb
366
- - vendor/gems/amazon-ec2/test/test_EC2_responses.rb
367
- - vendor/gems/amazon-ec2/test/test_EC2_s3_xmlsimple.rb
368
- - vendor/gems/amazon-ec2/test/test_EC2_security_groups.rb
369
- - vendor/gems/amazon-ec2/test/test_EC2_snapshots.rb
370
- - vendor/gems/amazon-ec2/test/test_EC2_volumes.rb
371
- - vendor/gems/amazon-ec2/test/test_ELB_load_balancers.rb
372
- - vendor/gems/amazon-ec2/test/test_RDS.rb
373
- - vendor/gems/amazon-ec2/test/test_helper.rb
374
- - vendor/gems/amazon-ec2/wsdl/2007-08-29.ec2.wsdl
375
- - vendor/gems/amazon-ec2/wsdl/2008-02-01.ec2.wsdl
376
- - vendor/gems/amazon-ec2/wsdl/2008-05-05.ec2.wsdl
377
- - vendor/gems/amazon-ec2/wsdl/2008-12-01.ec2.wsdl
378
- - vendor/gems/amazon-ec2/wsdl/2009-10-31.ec2.wsdl
379
- - vendor/gems/amazon-ec2/wsdl/2009-11-30.ec2.wsdl
380
321
  - vendor/gems/dslify/LICENSE
381
322
  - vendor/gems/dslify/README.rdoc
382
323
  - vendor/gems/dslify/Rakefile
@@ -534,18 +475,20 @@ required_ruby_version: !ruby/object:Gem::Requirement
534
475
  requirements:
535
476
  - - ">="
536
477
  - !ruby/object:Gem::Version
478
+ segments:
479
+ - 0
537
480
  version: "0"
538
- version:
539
481
  required_rubygems_version: !ruby/object:Gem::Requirement
540
482
  requirements:
541
483
  - - ">="
542
484
  - !ruby/object:Gem::Version
485
+ segments:
486
+ - 0
543
487
  version: "0"
544
- version:
545
488
  requirements: []
546
489
 
547
490
  rubyforge_project:
548
- rubygems_version: 1.3.5
491
+ rubygems_version: 1.3.6
549
492
  signing_key:
550
493
  specification_version: 3
551
494
  summary: Self-healing, auto-scaling system administration, provisioning and maintaining tool that makes cloud computing easier.
@@ -1,304 +0,0 @@
1
- === 0.7.4 2009-12-05
2
- * Initial support for new EBS AMI's
3
- * Updated EC2 API version
4
- * Added US West 1 Data Center to list of valid endpoints. (us-west-1.ec2.amazonaws.com)
5
- * Updated exceptions.rb to be in sync with latest documented exceptions.
6
- * Updated #run_instances to support EBS AMI's and sync with latest options.
7
- * Added new #stop_instances and #start_instances methods.
8
- * Added new #create_image to allow bundling of a running instance to an EBS backed AMI.
9
- * Added stub methods for all known missing EC2 methods. (Please help with patches + tests!)
10
- * Added and updated tests for new/modified methods.
11
-
12
- === 0.6.1 2009-10-13
13
- * Additional commits for AutoScaling. Thanks to Ari (auser)!
14
- * Updated README.rdoc installation instructions. Reflects removal of deprecated GitHub gem building.
15
-
16
- === 0.6.0 2009-09-30
17
- * Added support for AWS AutoScaling for EC2. Thanks to Ari Lerner (auser)!
18
-
19
- === 0.5.2 2009-08-20
20
- * Converted to YardDoc documentation format. See : http://yard.soen.ca/getting_started
21
-
22
- === 0.5.0 2009-08-11
23
- * Major re-factor by Kris Rasmussen (krisr) to add support for the AWS Elastic Load Balancer API. Kudos Kris!
24
-
25
- === 0.4.0 2009-06-06
26
- * Using technicalpickles/jeweler to manage gem now. See : http://github.com/technicalpickles/jeweler/tree/master
27
-
28
- === 0.3.8 2009-04-16
29
- * Applied patch, with updated tests to fix issue with base64 encoded user data (rsanheim).
30
- * Applied patch, fixing an issue with EU Signature version 2 creation (delano).
31
-
32
- === 0.3.6 2009-03-02
33
- * You can now specify any arbitrary SSL tcp port to connect to (kerryb)
34
- * Added rake target to quickly install the gem without docs
35
-
36
- === 0.3.5 2009-02-26
37
- * Honor the EC2_URL env var if provided in the main lib
38
- * Some minor modifications to the exceptions raised when unknown
39
-
40
- === 0.3.4 2009-01-31
41
- * Added support in the helper binaries for EC2_URL server url for Euro servers
42
- * AWS Signature v2 support
43
-
44
- === 0.3.3 2009-01-24
45
- * Removed docs related to the ability to get Response#xml which is deprecated
46
- * Fixed conflict when aws/s3 gem was included in user code
47
-
48
- === 0.3.2 2008-12-11
49
- * Updated API version to 2008-12-01
50
- * Note : The new European EC2 zone should just work if you specify ':server => "eu-west-1.ec2.amazonaws.com"' when initializing AWS::EC2::Base.new(). Please report any issues you have with using this new service.
51
-
52
- === 0.3.1 2008-09-18
53
- * Added basic custom kernel id support to run_instances. Thanks to Keith Hudgins for the patch.
54
-
55
- === 0.3.0 2008-08-24
56
- * Changed response object from AmazonAWS::Response to Hash (patch from Yan Pritzker 'skwp') Thanks!
57
- * Added support for Elastic Block Storage (patch from Yann Klis 'yannski') Thanks!
58
- * Bumped AWS EC2 API version to 2008-05-05
59
- * Bumped gem version number
60
- * Whitespace cleanup
61
-
62
- === 0.2.15 2008-08-20
63
- * Updated gem install instructions, and dependency specifications in the gemspec.
64
-
65
- === 0.2.14 2008-06-30
66
- * Merged patch from 'orionz' which adds support for EC2 Availability Zones. Thanks!
67
-
68
- === 0.2.12 2008-04-25
69
- * A few adjustments to work with GitHub.
70
-
71
- === 0.2.11 2008-04-25
72
- * Moved gem completely to GitHub.
73
- * Removed a LOT of RubyForge related cruft that's no longer needed.
74
-
75
- === 0.2.10 2008-04-13
76
- * Fix bug where ec2#disassociate_address would return 'undefined method 'reject!' for "xxx.xxx.xxx.xxx":String'.
77
- Thanks to Brian Thomas for reporting.
78
-
79
- === 0.2.9 2008-03-31
80
- * Added initial support for API version 2008-02-01. Support for new 'Elastic IP' functionality added.
81
-
82
- === 0.2.8 2008-02-25
83
- * Change HTTP API requests to use POST instead of GET. Based on patch #18380 from 'anonymous'.
84
-
85
- === 0.2.7 2008-02-17
86
- * Add support for HTTP Proxy when :proxy_server argument is passed. Based on patch from Mathias Dalheimer.
87
-
88
- === 0.2.6 2007-10-16
89
- * Updated to support EC2 API version 2007-08-29 released on 2007-10-16
90
- * Supports new instances type feature. Specify an instance type to launch
91
- (m1.small, m1.large, m1.xlarge) when you call the 'run_instances' method.
92
-
93
- e.g. add to the params hash ':instance_type => "m1.small"'
94
- * RunInstances and DescribeInstances now return the time when the Amazon EC2 instance was launched.
95
- * Code Tidyup : Removed trailing spaces in code docs.
96
-
97
- === 0.2.5 2007-09-26
98
- * Updated using Dr. Nic's newgem v. 0.13.5
99
- * Updated email address.
100
- * No functional changes in the gem.
101
-
102
- === 0.2.4 2007-07-09
103
- * Changed how require statement for xmlsimple is called so we don't get warnings when running in rails.
104
- Now it looks like: require 'xmlsimple' unless defined? XmlSimple
105
-
106
- === 0.2.3 2007-07-06
107
- * Updated gem to work with new official release of AWS API version 2007-03-01 which occurred
108
- on July 6, 2007.
109
- * Added support for primary new feature which supports Paid AMI's and the product codes
110
- associated with them. Modified several methods to support this change, updated the test
111
- cases, and added a new method EC2#confirm_product_instance.
112
-
113
- === 0.2.2 2007-07-03
114
- * Minor change to test case.
115
-
116
- === 0.2.1 2007-07-03
117
- * Some minor changes to the RDocs and README.txt
118
-
119
- === 0.2.0 2007-07-03
120
-
121
- * MAJOR library changes : THESE CHANGES ARE NOT BACKWARD COMPATIBLE!! You will need to update
122
- the way in which you make calls, handle responses, and rescue exceptions from this library.
123
- If you prefer not to make these changes you can feel free to continue to use the older version
124
- of the gem. These older versions however will no longer be maintained.
125
-
126
- * MAJOR refactoring of how methods calls are made. Now all methods are called with a simple hash
127
- of arguments and none of them are positional. This feels much more "Ruby'ish".
128
-
129
- * MAJOR refactoring of how responses are returned to users. No longer do you have to call the
130
- .parse method, and no longer are you getting back simple arrays of information. Responses
131
- now come in the form of OpenStruct objects that contain all of the data for an object in
132
- Enumerable form so you can use iterators (.each, .each_pair, etc). All methods return an AWS::Response object
133
- which inherits from OpenStruct. The return data from EC2, which is in XML form, is parsed
134
- with XmlSimple and is used to directly construct the return data structure. This allows us
135
- to know with some confidence that the data structure returned from AWS will always be consistent
136
- with this library's responses. There is also an .xml attribute for each response object that lets you
137
- see the full and complete XML response from AWS if that is useful to you.
138
-
139
- * Added an exception framework which will now throw appropriate Ruby exceptions
140
- that match those handed to us by Amazon EC2. ArgumentError exceptions will also
141
- be thrown if you are making calls we know to be illegal or malformed. You should rescue
142
- these exceptions in your application instead of parsing text responses. All exceptions
143
- descend from AWS::Error. You can see them all in exceptions.rb in the gem install.
144
-
145
- * Added a full suite of test/spec unit tests which currently cover 100% of the public methods
146
- in this library. We have abot 92% code coverage according to rcov. This has greatly enhanced
147
- the reliability of the library as well as our confidence in the code.
148
- We used to have 0% test coverage. :-/
149
-
150
- * Added an EC2 command shell : 'ec2sh' which can be called from anywhere and gives you
151
- an interactive irb session with an EC2 connection pre-made for you as @ec2. You can use this
152
- to interactively execute any command on EC2 that this library supports. Try @ec2.methods.sort
153
- or @ec2.describe_images to test it out. You must first setup two shell environment variables
154
- which contain your ACCESS_KEY_ID and SECRET_ACCESS_KEY for this to work. Otherwise an error
155
- will be thrown when you try to start it. This is way cool and shamelessly borrowed from
156
- Marcel Molina's fine AWS::S3 library.
157
-
158
- * Updated API version in the query API request to 2007-01-19, and added all known method calls
159
- in this version of the API to the gem (including reboot, viewing console output, NAT addressing
160
- and more!)
161
-
162
- * Removed .parse method as it is no longer needed or wanted.
163
-
164
- * Removed 'verbose' attribute writer and a couple of related debug 'puts' calls in EC2.rb.
165
-
166
- * Removed deprecated alias's used in the library that were added in v0.0.3
167
-
168
- * Gem now requires XmlSimple gem to be installed.
169
-
170
-
171
- === 0.1.0 2007-05-30
172
-
173
- * Repackaged with updated newgem generator v. 0.10.3 from http://newgem.rubyforge.org/ to take advantage of new deployment goodness.
174
-
175
-
176
- === 0.0.7 2007-03-15
177
-
178
- * Applied patch from Kevin Clark which does the following:
179
- * New method to the instances.rb to allow for issuing a reboot command to an EC2 instance.
180
- * New Mocha based tests (Mocha test suite must be installed to run tests. 'sudo gem install mocha')
181
- * Cleanup of the test directory.
182
- * Applied patch from Randy Bias related to CGI escaping error. From his notes:
183
-
184
- I finally figured out what was going on. It was a compound problem. The first being that you can't
185
- CGI::encode the UserData early. You have to just Base64 encode it. Unfortunately, when you Base64
186
- encode it, it means that some encodings will be padded with extra chars, specifically the '=', but &, ?
187
- and = get stripped by EC2.canonial_string. So if a Base64 encoding has trailing ='s for padding,
188
- these get stripped and then you sign the UserData Base64 payload sans the padding. But it looks
189
- like Amazon's side is doing the right thing and is signing the padding. So, the signatures mis-match.
190
-
191
- I've got the complete patch here and it's about as elegant/clean as I could make it in a short
192
- period of time. It's a little tough to strip those equal signs when there are so many in the URI.
193
- I think this works pretty well, though. I'm splitting the URI on '&', then for each field ripping
194
- out all '&' and '?' and only the first '='. Then stitching it back together.
195
-
196
-
197
- === 0.0.6 2007-03-02
198
- * Patched instances.rb with a bugfix and patch provided by Randy Bias (Thanks Randy!).
199
- Only minimally tested so please let me know if this causes any problems for anyone.
200
-
201
- From his notes:
202
- I wanted to let you know that there appears to be a bug in how user data is passed. In
203
- instances.rb the line that creates the base64 encoded package of user data is as follows:
204
-
205
- userData = CGI::escape(Base64.encode64(in_params[:userData]).strip())
206
-
207
- This may have worked prior, but at least right now the CGI::escape appears to cause a
208
- breakage. More specifically it turns something like this (the actual base64 encoded string):
209
-
210
- YWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFh
211
- eHh4eHh4eHh4eHh4eHh4eHh4eHgg
212
-
213
- Into this:
214
-
215
- YWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFh%
216
- 0AeHh4eHh4eHh4eHh4eHh4eHh4eHgg
217
-
218
- And it looks like EC2 chokes on the %0, which is CGI::escape's way for handling an EOL.
219
- Unfortunately, the Base64.encode64 (at least in my 1.8.5 version of Ruby) inserts a
220
- EOL at every 47 chars, no matter what:
221
-
222
- ---
223
- [randyb@master randyb] cat /tmp/foo.rb
224
- #!/usr/bin/env ruby
225
- #
226
- require 'rubygems'
227
- require_gem 'amazon-ec2'
228
- require 'getoptlong'
229
- puts Base64.encode64
230
- ("012345678901234567890123456789012345678901234567890123456789")
231
-
232
- [randyb@master randyb] /tmp/foo.rb
233
- MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0
234
- NTY3ODkwMTIzNDU2Nzg5
235
- ---
236
-
237
- The best way to handle this is to strip the CRLFs/EOLs before passing to CGI.escape.
238
-
239
-
240
- === 0.0.5 2006-12-21
241
-
242
- * Changes to home page documentation and example files to indicate that you
243
- should use 'require_gem' instead of a simple require. Not sure if this
244
- is a result of something I am doing in the packaging of the gem that is
245
- incorrect or if this is right and proper. I will investigate further.
246
- * Patched instances.rb run_instances method to allow for submission of
247
- user data with the command to start an instance. Patch submitted
248
- anonymously on RubyForge. This had not been functionally implemented
249
- in the Amazon Web Services sample library prior to this patch.
250
- * Added simple framework for adding unit tests for the library under test dir.
251
- No functional unit tests exist yet.
252
-
253
-
254
- === 0.0.4 2006-12-21
255
-
256
- * Applied patch from Kevin Clark to svn version 7. Thanks for the
257
- patch and the description Kevin! Please report if you
258
- encounter any issues with this patched version. Here is Kevin's
259
- description which I requested : "It helps me to think of modules as boxes full of classes and
260
- methods. REXML is a module which holds various classes related to parsing XML
261
- including REXML::Node, REXML::Document and REXML::XPath. When you
262
- include a module it takes everything out of the box and places it in
263
- the local context. So, when you include REXML in the global namespace
264
- on line 27 of EC2.rb, it includes classes called Node, Document and XPath in the
265
- global object space. This means that I can't have a class called Node
266
- in my own project (which I do). The library would be a much better
267
- neighbor if it instead accessed the REXML::Document and REXML::XPath
268
- classes explicitly through the module."
269
-
270
-
271
- === 0.0.3 2006-12-16
272
-
273
- * API CHANGE : Changed method name 'authorize' to 'authorize_security_group_ingress' to ensure consistent
274
- naming of Ruby library methods to match AWS EC2 API actions. Alias to 'authorize' for backwards compatibility.
275
- * API CHANGE : Changed method name 'revoke' to 'revoke_security_group_ingress' to ensure consistent
276
- naming of Ruby library methods to match AWS EC2 API actions. Alias to 'revoke' for backwards compatibility.
277
- * API CHANGE : Changed method name 'delete_securitygroup' to 'delete_security_group' to ensure consistent
278
- naming of Ruby library methods to match AWS EC2 API actions. Alias to 'delete_securitygroup' for backwards compatibility.
279
- * API CHANGE : Changed method name 'describe_securitygroups' to 'describe_security_group' to ensure consistent
280
- naming of Ruby library methods to match AWS EC2 API actions. Alias to 'describe_securitygroups' for backwards compatibility.
281
- * API CHANGE : Changed method name 'create_securitygroup' to 'create_security_group' to ensure consistent
282
- naming of Ruby library methods to match AWS EC2 API actions. Alias to 'create_securitygroup' for backwards compatibility.
283
- * Added many API rdoc's, some method descriptions copied from Amazon Query API Developer Guide.
284
- * Extracted some parts of the formerly monolithic EC2 library out into separate files for manageability.
285
- * Changed the HTTP 'User-Agent' string used for each request so that we have our own user agent
286
- to identify this library's calls. Now set the version # in the user agent string based on the
287
- master version number for this library which is stored in lib/EC2/version.rb and should only
288
- be defined in one place.
289
- * Set @http.verify_mode = OpenSSL::SSL::VERIFY_NONE to avoid seeing SSL Cert warning
290
- "warning: peer certificate won't be verified in this SSL session". File EC2.rb:96
291
- * Make 'pathlist' utility method a private method (EC2.rb:111). No reason I can see for this to be exposed.
292
-
293
-
294
- === 0.0.2 2006-12-14
295
-
296
- * Bugfix in run_instances method. Method works now. Patch submitted by Stephen Caudill on AWS forums. Thanks!
297
-
298
-
299
- === 0.0.1 2006-12-13
300
-
301
- * Initial release of the Ruby Gem. This includes the version of the library exactly as provided by
302
- Amazon Web Services as example code. No changes or enhancements to that code were made other than
303
- packaging it as a Ruby Gem.
304
- * RubyForge project created. http://github.com/grempe/amazon-ec2/tree/master
@@ -1,66 +0,0 @@
1
- Copyright (c) 2007-2009 Glenn Rempe
2
-
3
- This software is distributed under the Ruby License. A copy of which is
4
- provided below.
5
-
6
- RUBY LICENSE
7
-
8
- http://www.ruby-lang.org/en/LICENSE.txt
9
-
10
- Ruby is copyrighted free software by Yukihiro Matsumoto <matz@netlab.co.jp>.
11
- You can redistribute it and/or modify it under either the terms of the GPL
12
- (see COPYING.txt file), or the conditions below:
13
-
14
- 1. You may make and give away verbatim copies of the source form of the
15
- software without restriction, provided that you duplicate all of the
16
- original copyright notices and associated disclaimers.
17
-
18
- 2. You may modify your copy of the software in any way, provided that
19
- you do at least ONE of the following:
20
-
21
- a) place your modifications in the Public Domain or otherwise
22
- make them Freely Available, such as by posting said
23
- modifications to Usenet or an equivalent medium, or by allowing
24
- the author to include your modifications in the software.
25
-
26
- b) use the modified software only within your corporation or
27
- organization.
28
-
29
- c) rename any non-standard executables so the names do not conflict
30
- with standard executables, which must also be provided.
31
-
32
- d) make other distribution arrangements with the author.
33
-
34
- 3. You may distribute the software in object code or executable
35
- form, provided that you do at least ONE of the following:
36
-
37
- a) distribute the executables and library files of the software,
38
- together with instructions (in the manual page or equivalent)
39
- on where to get the original distribution.
40
-
41
- b) accompany the distribution with the machine-readable source of
42
- the software.
43
-
44
- c) give non-standard executables non-standard names, with
45
- instructions on where to get the original software distribution.
46
-
47
- d) make other distribution arrangements with the author.
48
-
49
- 4. You may modify and include the part of the software into any other
50
- software (possibly commercial). But some files in the distribution
51
- are not written by the author, so that they are not under this terms.
52
-
53
- They are gc.c(partly), utils.c(partly), regex.[ch], st.[ch] and some
54
- files under the ./missing directory. See each file for the copying
55
- condition.
56
-
57
- 5. The scripts and library files supplied as input to or produced as
58
- output from the software do not automatically fall under the
59
- copyright of the software, but belong to whomever generated them,
60
- and may be sold commercially, and may be aggregated with this
61
- software.
62
-
63
- 6. THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
64
- IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
65
- WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
66
- PURPOSE.