poolparty 1.4.3 → 1.4.4

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  ---
2
2
  :minor: 4
3
- :patch: 3
3
+ :patch: 4
4
4
  :major: 1
5
5
  :build:
@@ -150,17 +150,21 @@ module CloudProviders
150
150
  end
151
151
  end
152
152
  def launch_configurations
153
- @launch_configurations ||= as.describe_launch_configurations.DescribeLaunchConfigurationsResult.LaunchConfigurations.member.map do |a|
154
- {
155
- :name => a["LaunchConfigurationName"],
156
- :ramdisk_id => a["RamdiskId"],
157
- :image_id => a["ImageId"],
158
- :security_groups => (a["SecurityGroups"]["member"] rescue ["default"]),
159
- :created_time => a["CreatedTime"],
160
- :user_data => a["UserData"] || "",
161
- :key_name => a["KeyName"],
162
- :instance_type => a["InstanceType"]
163
- }
153
+ begin
154
+ @launch_configurations ||= as.describe_launch_configurations.DescribeLaunchConfigurationsResult.LaunchConfigurations.member.map do |a|
155
+ {
156
+ :name => a["LaunchConfigurationName"],
157
+ :ramdisk_id => a["RamdiskId"],
158
+ :image_id => a["ImageId"],
159
+ :security_groups => (a["SecurityGroups"]["member"] rescue ["default"]),
160
+ :created_time => a["CreatedTime"],
161
+ :user_data => a["UserData"] || "",
162
+ :key_name => a["KeyName"],
163
+ :instance_type => a["InstanceType"]
164
+ }
165
+ end
166
+ rescue Exception => e
167
+ []
164
168
  end
165
169
  end
166
170
  def create_autoscaling_group!
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: poolparty
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.3
4
+ version: 1.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ari Lerner
@@ -11,7 +11,7 @@ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
13
 
14
- date: 2009-12-01 00:00:00 -08:00
14
+ date: 2009-12-02 00:00:00 -08:00
15
15
  default_executable:
16
16
  dependencies: []
17
17