ec2_tools 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.1
1
+ 0.3.2
data/ec2_tools.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{ec2_tools}
8
- s.version = "0.3.1"
8
+ s.version = "0.3.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Yamada Masaki"]
data/lib/ec2_tools/ec2.rb CHANGED
@@ -5,9 +5,9 @@ class Ec2Tools::EC2 < AWS::EC2::Base
5
5
  unless @servers
6
6
  @servers = {}
7
7
  describe_instances.reservationSet.item.each do |reservation|
8
- reservation.instanceSet.item.each do |instance|
8
+ reservation.instancesSet.item.each do |instance|
9
9
  if instance.instanceState.name == "running"
10
- key = instnacekeyName.to_sym
10
+ key = instance.keyName.to_sym
11
11
  @servers[key] = [] if @servers[key].nil?
12
12
  @servers[key] << instance
13
13
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: ec2_tools
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.3.1
5
+ version: 0.3.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Yamada Masaki
@@ -108,7 +108,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
108
108
  requirements:
109
109
  - - ">="
110
110
  - !ruby/object:Gem::Version
111
- hash: -401359987
111
+ hash: 628663485
112
112
  segments:
113
113
  - 0
114
114
  version: "0"