ec2launcher 1.0.21 → 1.0.22

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 1.0.22
2
+
3
+ * Fixed additional bug with merging applications.
4
+
1
5
  ## 1.0.21
2
6
 
3
7
  * Fixed bugs with merging applications together under certain circumstances.
@@ -206,12 +206,12 @@ module EC2Launcher
206
206
  @basename = other_server.basename unless other_server.basename.nil?
207
207
 
208
208
  unless other_server.block_devices.nil?
209
- @block_devices = []
209
+ @block_devices = [] if @block_devices.nil?
210
210
  other_server.block_devices.each {|bd| @block_devices << bd }
211
211
  end
212
212
 
213
213
  unless other_server.elb.nil?
214
- @elb = {}
214
+ @elb = {} if @elb.nil?
215
215
  other_server.elb.keys.each {|env_name| @elb[env_name] = other_server.elb[env_name] }
216
216
  end
217
217
 
@@ -219,11 +219,12 @@ module EC2Launcher
219
219
  @name_suffix = other_server.name_suffix unless other_server.name_suffix.nil?
220
220
 
221
221
  unless other_server.roles.nil?
222
- @roles = []
222
+ @roles = [] if @roles.nil?
223
223
  other_server.roles.each {|role| @roles << role }
224
224
  end
225
225
 
226
226
  unless other_server.security_groups.nil?
227
+ @security_groups = {} if @security_groups.nil?
227
228
  other_server.security_groups.keys.each do |env_name|
228
229
  unless @security_groups.has_key? env_name
229
230
  @security_groups[env_name] = []
@@ -2,5 +2,5 @@
2
2
  # Copyright (c) 2012 Sean Laurent
3
3
  #
4
4
  module EC2Launcher
5
- VERSION = "1.0.21"
5
+ VERSION = "1.0.22"
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ec2launcher
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.21
4
+ version: 1.0.22
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: