amazon-ec2 0.9.0 → 0.9.2

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/VERSION CHANGED
@@ -1 +1 @@
1
- 0.9.0
1
+ 0.9.2
data/amazon-ec2.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{amazon-ec2}
8
- s.version = "0.9.0"
8
+ s.version = "0.9.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Glenn Rempe"]
12
- s.date = %q{2010-01-19}
12
+ s.date = %q{2010-02-08}
13
13
  s.description = %q{A Ruby library for accessing the Amazon Web Services EC2, ELB, RDS, Cloudwatch, and Autoscaling API's.}
14
14
  s.email = %q{glenn@rempe.us}
15
15
  s.executables = ["ec2-gem-example.rb", "ec2-gem-profile.rb", "ec2sh", "setup.rb"]
@@ -59,7 +59,7 @@ module AWS
59
59
  params['MinSize'] = options[:min_size].to_s
60
60
  params['MaxSize'] = options[:max_size].to_s
61
61
  params.merge!(pathlist("LoadBalancerNames.member", [options[:load_balancer_names]].flatten)) if options.has_key?(:load_balancer_names)
62
- params['CoolDown'] = options[:cooldown] if options[:cooldown]
62
+ params['Cooldown'] = options[:cooldown] if options[:cooldown]
63
63
 
64
64
  return response_generator(:action => "CreateAutoScalingGroup", :params => params)
65
65
  end
@@ -261,7 +261,7 @@ module AWS
261
261
  params['AutoScalingGroupName'] = options[:autoscaling_group_name]
262
262
  params['MinSize'] = options[:min_size] if options.has_key?(:min_size)
263
263
  params['MaxSize'] = options[:max_size] if options.has_key?(:max_size)
264
- params['CoolDown'] = options[:cooldown] if options.has_key?(:cooldown)
264
+ params['Cooldown'] = options[:cooldown] if options.has_key?(:cooldown)
265
265
 
266
266
  return response_generator(:action => "UpdateAutoScalingGroup", :params => params)
267
267
 
@@ -81,9 +81,9 @@ context "autoscaling " do
81
81
  'LoadBalancerNames.member.1' => 'TestLoadBalancerName',
82
82
  'LoadBalancerNames.member.2' => 'TestLoadBalancerName2',
83
83
  'LaunchConfigurationName' => 'CloudteamTestAutoscaling',
84
- 'MinSize' => "1", 'MaxSize' => "3"
84
+ 'MinSize' => "1", 'MaxSize' => "3", 'Cooldown' => 300
85
85
  }).returns stub(:body => @create_autoscaling_group_response, :is_a? => true)
86
- response = @as.create_autoscaling_group(:autoscaling_group_name => "CloudteamTestAutoscalingGroup1", :availability_zones => "us-east-1a", :load_balancer_names => ["TestLoadBalancerName", "TestLoadBalancerName2"], :launch_configuration_name => "CloudteamTestAutoscaling", :min_size => 1, :max_size => 3)
86
+ response = @as.create_autoscaling_group(:autoscaling_group_name => "CloudteamTestAutoscalingGroup1", :availability_zones => "us-east-1a", :load_balancer_names => ["TestLoadBalancerName", "TestLoadBalancerName2"], :launch_configuration_name => "CloudteamTestAutoscaling", :min_size => 1, :max_size => 3, :cooldown => 300)
87
87
  response.should.be.an.instance_of Hash
88
88
  end
89
89
 
@@ -334,4 +334,4 @@ context "autoscaling " do
334
334
  end
335
335
 
336
336
 
337
- end
337
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: amazon-ec2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Glenn Rempe
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-01-19 00:00:00 -08:00
12
+ date: 2010-02-08 00:00:00 -08:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency