blimpy 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -9,7 +9,7 @@ module Blimpy::Boxes
9
9
  DEFAULT_IMAGE_ID = 'ami-ec0b86dc'
10
10
 
11
11
  def self.fog_server_for_instance(id, blimpdata)
12
- region = blimpdata['region'] || DEFAULT_REGION
12
+ region = blimpdata[:region] || DEFAULT_REGION
13
13
  fog = Fog::Compute.new(:provider => 'AWS', :region => region)
14
14
  fog.servers.get(id)
15
15
  end
data/lib/blimpy/fleet.rb CHANGED
@@ -56,7 +56,7 @@ module Blimpy
56
56
  boxes = []
57
57
  print '>> Resuming: '
58
58
  instances.each do |instance_id, instance_data|
59
- print "#{instance_data['name']},"
59
+ print "#{instance_data[:name]},"
60
60
  box = Blimpy::Box.from_instance_id(instance_id, instance_data)
61
61
  box.resume
62
62
  boxes << box
@@ -148,7 +148,7 @@ module Blimpy
148
148
 
149
149
  members.each do |instance_id, instance_data|
150
150
  box = Blimpy::Box.from_instance_id(instance_id, instance_data)
151
- print "#{instance_data['name']},"
151
+ print "#{instance_data[:name]},"
152
152
  box.stop
153
153
  boxes << box
154
154
  end
@@ -1,3 +1,3 @@
1
1
  module Blimpy
2
- VERSION = "0.5.0"
2
+ VERSION = "0.5.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blimpy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-08-11 00:00:00.000000000Z
12
+ date: 2012-08-20 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: fog
16
- requirement: &19966060 !ruby/object:Gem::Requirement
16
+ requirement: &7880740 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *19966060
24
+ version_requirements: *7880740
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: thor
27
- requirement: &19965580 !ruby/object:Gem::Requirement
27
+ requirement: &7879300 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *19965580
35
+ version_requirements: *7879300
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: minitar
38
- requirement: &19965040 !ruby/object:Gem::Requirement
38
+ requirement: &7878680 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,7 +43,7 @@ dependencies:
43
43
  version: '0'
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *19965040
46
+ version_requirements: *7878680
47
47
  description: Blimpy is a tool for managing a fleet of machines in the CLOUD!
48
48
  email:
49
49
  - tyler@monkeypox.org
@@ -107,12 +107,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
107
107
  - - ! '>='
108
108
  - !ruby/object:Gem::Version
109
109
  version: '0'
110
+ segments:
111
+ - 0
112
+ hash: 1569587934174396261
110
113
  required_rubygems_version: !ruby/object:Gem::Requirement
111
114
  none: false
112
115
  requirements:
113
116
  - - ! '>='
114
117
  - !ruby/object:Gem::Version
115
118
  version: '0'
119
+ segments:
120
+ - 0
121
+ hash: 1569587934174396261
116
122
  requirements: []
117
123
  rubyforge_project:
118
124
  rubygems_version: 1.8.10