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 +1 -1
- data/ec2_tools.gemspec +1 -1
- data/lib/ec2_tools/ec2.rb +2 -2
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.2
|
data/ec2_tools.gemspec
CHANGED
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.
|
8
|
+
reservation.instancesSet.item.each do |instance|
|
9
9
|
if instance.instanceState.name == "running"
|
10
|
-
key =
|
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.
|
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:
|
111
|
+
hash: 628663485
|
112
112
|
segments:
|
113
113
|
- 0
|
114
114
|
version: "0"
|