grempe-amazon-ec2 0.2.12 → 0.2.13
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/CHANGELOG +3 -0
- data/README.rdoc +1 -1
- data/lib/EC2/instances.rb +3 -2
- metadata +2 -2
data/CHANGELOG
CHANGED
data/README.rdoc
CHANGED
@@ -300,7 +300,7 @@ EC2 will typically return sets of things (imagesSet, reservationSet, etc.) which
|
|
300
300
|
|
301
301
|
* Project Home : http://github.com/grempe/amazon-ec2/tree/master
|
302
302
|
* Discussion Group : http://groups.google.com/group/amazon-ec2
|
303
|
-
* Report Bugs / Request Features : http://
|
303
|
+
* Report Bugs / Request Features : http://grempe.lighthouseapp.com/projects/10644-amazon-ec2/overview
|
304
304
|
* Amazon Web Services : http://aws.amazon.com
|
305
305
|
|
306
306
|
=== Related Projects
|
data/lib/EC2/instances.rb
CHANGED
@@ -28,7 +28,8 @@ module EC2
|
|
28
28
|
# launch, the instances start in the default security group.
|
29
29
|
#
|
30
30
|
# An optional instance type can be specified. Currently supported types are 'm1.small', 'm1.large',
|
31
|
-
# and '
|
31
|
+
# 'm1.xlarge' and the high CPU types 'c1.medium' and 'c1.xlarge'. 'm1.small' is the default
|
32
|
+
# if no instance_type is specified.
|
32
33
|
#
|
33
34
|
# You can provide an optional key pair ID for each image in the launch request. All instances
|
34
35
|
# that are created from images that use this key pair will have access to the associated public
|
@@ -82,7 +83,7 @@ module EC2
|
|
82
83
|
raise ArgumentError, ":min_count is not valid" unless options[:min_count].to_i > 0
|
83
84
|
raise ArgumentError, ":max_count is not valid" unless options[:max_count].to_i > 0
|
84
85
|
raise ArgumentError, ":addressing_type must be 'direct' or 'public'" unless options[:addressing_type] == "public" || options[:addressing_type] == "direct"
|
85
|
-
raise ArgumentError, ":instance_type must be 'm1.small', 'm1.large' or '
|
86
|
+
raise ArgumentError, ":instance_type must be 'm1.small', 'm1.large', 'm1.xlarge', 'c1.medium', or 'c1.xlarge'" unless options[:instance_type] == "m1.small" || options[:instance_type] == "m1.large" || options[:instance_type] == "m1.xlarge" || options[:instance_type] == "c1.medium" || options[:instance_type] == "c1.xlarge"
|
86
87
|
raise ArgumentError, ":base64_encoded must be 'true' or 'false'" unless options[:base64_encoded] == true || options[:base64_encoded] == false
|
87
88
|
|
88
89
|
# If :user_data is passed in then URL escape and Base64 encode it
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: grempe-amazon-ec2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Glenn Rempe
|
@@ -9,7 +9,7 @@ autorequire: EC2
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-
|
12
|
+
date: 2008-05-14 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|