capify-ec2 1.1.12.pre.2 → 1.1.12.pre.3

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.
@@ -107,7 +107,7 @@ class CapifyEc2
107
107
 
108
108
  def self.deregister_instance_from_elb(instance_name)
109
109
  return unless ec2_config[:load_balanced]
110
- instance = get_instance_by_name(instance_name).first
110
+ instance = get_instance_by_name(instance_name)
111
111
  return if instance.nil?
112
112
  @@load_balancer = get_load_balancer_by_instance(instance.id)
113
113
  return if @@load_balancer.nil?
@@ -117,7 +117,7 @@ class CapifyEc2
117
117
 
118
118
  def self.register_instance_in_elb(instance_name, load_balancer_name = '')
119
119
  return if !ec2_config[:load_balanced]
120
- instance = get_instance_by_name(instance_name).first
120
+ instance = get_instance_by_name(instance_name)
121
121
  return if instance.nil?
122
122
  load_balancer = get_load_balancer_by_name(load_balancer_name) || @@load_balancer
123
123
  return if load_balancer.nil?
@@ -1,5 +1,5 @@
1
1
  module Capify
2
2
  module Ec2
3
- VERSION = "1.1.12.pre.2"
3
+ VERSION = "1.1.12.pre.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capify-ec2
3
3
  version: !ruby/object:Gem::Version
4
- hash: 1923832061
4
+ hash: 1923832063
5
5
  prerelease: true
6
6
  segments:
7
7
  - 1
8
8
  - 1
9
9
  - 12
10
10
  - pre
11
- - 2
12
- version: 1.1.12.pre.2
11
+ - 3
12
+ version: 1.1.12.pre.3
13
13
  platform: ruby
14
14
  authors:
15
15
  - Noah Cantor
@@ -18,7 +18,7 @@ autorequire:
18
18
  bindir: bin
19
19
  cert_chain: []
20
20
 
21
- date: 2011-08-05 00:00:00 +01:00
21
+ date: 2011-08-08 00:00:00 +01:00
22
22
  default_executable:
23
23
  dependencies:
24
24
  - !ruby/object:Gem::Dependency