elastip 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -1
- data/lib/elastip/version.rb +1 -1
- data/lib/elastip.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ac1e342a3ee90d62cc1098ee778c9f0fb2066951
|
4
|
+
data.tar.gz: 4187ecde13a4838275d9e8dc367da51e3df76552
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2d37abc6473d4ce5ba8e153be37faa450aa85e4be5d6e5442accae9c5c9186de2490176b44389bcbefe4ea0d653b2a4a514fce370711d48b59e4197d5bd6376a
|
7
|
+
data.tar.gz: c7c8b2f1f7786c5fd5ae2461d44d45feb523f8d82fd44222fa85ed301c369b51e3f7270c7b1b778cf0765f854a3675e551556f57903663db05de21c03b995692
|
data/.travis.yml
CHANGED
@@ -7,7 +7,7 @@ script: rake
|
|
7
7
|
deploy:
|
8
8
|
provider: rubygems
|
9
9
|
api_key:
|
10
|
-
secure: "
|
10
|
+
secure: "NH5KmUEJybHQCUI+QRpeh5RsPooI9rSs++jpSYCkyhggUO2q+J/zakMlc8KGnU+ZYFGxkv2DSJhuBKXqi8r0QRntiKfwLWQMX+p8h52ujaXVYisLjVJ0yZPkNiY71rBEcA0qgXk2yjwX8wDnGPDioYA6yvrolQmeXf1HCo1tnDgnSSqzxkC86ExZADCntOxKWwiqBoiHRxYBNCQIgoddl813z6taV8zsddNgT3SqvEFHw4i+MKnZz/CS0UEN20lBT+TvGdDsi8ncrFaAFxtGr3cHSkFCD/gWunikYO6mEoOnne+RkMmN9TBZlD0XD0Q94xZCXpE7qpDB2DxM2ogMvEI2P22Mck5O+ILeuVXFe86RUYTxx+t73qD+hqBjEIC7U3IXkTeexEYQm9YJ+gpa9CqhJVblyTlChzm6CWKlQc7jtjIjXpAoOuD0qg5fpnzTv+ez+tWQjPv3F/JBQ2T6jErC6m9ycpE8nbgYhHRXGwb4pzps8MfW8LUyXTIcyuNAidVhloAzu9DK0qqBX3NzK2S8xbZMVd6KtFumuy3I2lVGzBaIgFOvGQbfLVTrkYZ4xcyd3XgBTDk3Dl1czc336BlY8hkAzxXXep6agbGmLW9tIASlh/Sab+TPIB6BR7yGYo8VdIqbh5Bl9EBxrDCXqp8nczMtEb9L7B2UlKhfb4E="
|
11
11
|
gem: elastip
|
12
12
|
on:
|
13
13
|
tags: true
|
data/lib/elastip/version.rb
CHANGED
data/lib/elastip.rb
CHANGED
@@ -21,7 +21,7 @@ module Elastip
|
|
21
21
|
instances = ec2_instances
|
22
22
|
|
23
23
|
target_instances = active_envs.map do |active|
|
24
|
-
instance = instances.find{|x| x[:tags].any?{|y| active == y[:value] }}
|
24
|
+
instance = instances.find{|x| x[:tags].any?{|y| active == y[:value] } && x[:state][:name] != 'terminated'}
|
25
25
|
{instance: active, ip: instance[:private_ip_address]}
|
26
26
|
end
|
27
27
|
target_instances.map{|x| x[:ip]}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: elastip
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- pcboy
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-02-
|
11
|
+
date: 2017-02-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -135,7 +135,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
135
135
|
version: '0'
|
136
136
|
requirements: []
|
137
137
|
rubyforge_project:
|
138
|
-
rubygems_version: 2.
|
138
|
+
rubygems_version: 2.4.6
|
139
139
|
signing_key:
|
140
140
|
specification_version: 4
|
141
141
|
summary: Elastip helps you find the ip addresses of your elastic beanstalk instances
|