capify-ec2 1.4.4 → 1.4.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,3 +1,9 @@
1
+ ## 1.4.5 (May 15, 2013)
2
+
3
+ Bugfixes:
4
+
5
+ - Fixed an issue where instances would be removed from their ELB during rolling deployment, even if --dry-run was set.
6
+
1
7
  ## 1.4.4 (May 15, 2013)
2
8
 
3
9
  Features:
@@ -104,7 +104,9 @@ Capistrano::Configuration.instance(:must_exist).load do
104
104
  puts "[Capify-EC2]"
105
105
  puts "[Capify-EC2] Beginning deployment to #{instance_dns_with_name_tag(server_dns)} with #{server_roles.count > 1 ? 'roles' : 'role'} '#{server_roles.join(', ')}'...".bold
106
106
 
107
- load_balancer_to_reregister = capify_ec2.deregister_instance_from_elb_by_dns(server_dns) if is_load_balanced
107
+ unless dry_run
108
+ load_balancer_to_reregister = capify_ec2.deregister_instance_from_elb_by_dns(server_dns) if is_load_balanced
109
+ end
108
110
 
109
111
  # Call the standard 'cap deploy' task with our redefined role containing a single server.
110
112
  top.deploy.default
@@ -1,6 +1,6 @@
1
1
  module Capify
2
2
  module Ec2
3
- VERSION = "1.4.4"
3
+ VERSION = "1.4.5"
4
4
  end
5
5
  end
6
6
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capify-ec2
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
4
+ hash: 13
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 4
9
- - 4
10
- version: 1.4.4
9
+ - 5
10
+ version: 1.4.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Noah Cantor