capistrano-autoscaling 0.0.4 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module AutoScaling
3
- VERSION = "0.0.4"
3
+ VERSION = "0.0.5"
4
4
  end
5
5
  end
@@ -419,7 +419,7 @@ module Capistrano
419
419
 
420
420
  task(:destroy_group, :roles => :app, :except => { :no_release => true }) {
421
421
  if autoscaling_group and autoscaling_group.exists?
422
- if 0 < autoscaling_elb_instance.instances.length
422
+ if 0 < autoscaling_group.min_size and 0 < autoscaling_group.max_size
423
423
  abort("AutoScalingGroup is not empty.")
424
424
  end
425
425
  logger.debug("Deleting AutoScalingGroup: #{autoscaling_group.name} (#{autoscaling_group.launch_configuration_name})")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-autoscaling
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: