devops 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/tasks/ec2.rb +2 -0
  3. data/lib/version.rb +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 78c25cdd28000fee66446bd70b82b7320e5b3228
4
- data.tar.gz: 62c0ba91aee799b3b75c496cf7d38d93c84b28d8
3
+ metadata.gz: 96b165119f68b003b2f8613003284105b30dae1b
4
+ data.tar.gz: 230cb172f48ccd7faa19e6632ca502eae1e8debb
5
5
  SHA512:
6
- metadata.gz: 82108f69b79e23f42fd53054c9c6142757d0f5b31d7fd956a87594b80ffaae75c541236d8274570a907d585ef15d488646bea08c2fe96cfc7fb9630a379b653b
7
- data.tar.gz: 6acf0d6262fbf91e44a19570f6dd191335a38958f8683c637c1b904b32dcdc79da9bcbcd2db15aada98eeadb0421f0d1cb82696594e28dbe3ea1a53ee2c11dcb
6
+ metadata.gz: 98c07d6efd90d48e928af45e319cfd7f8af02f475207bfa370c8c79e3258f53dd4e4f8ee8a9c9be18abd4b6c74d57d43c29ecc7d3df493699934d906de8979b8
7
+ data.tar.gz: 645f81685e32605a0df29faa555bb8db61881640f587e76fe5cefa696491fa474e10d6b7cfa7848a2f069674fa425984c720d1dfd7b38cc399e6fb0d12fc9390
@@ -20,6 +20,8 @@ namespace "hosts" do
20
20
 
21
21
  h = instance[1]
22
22
 
23
+ next if h[:instance_state][:code] == 48 # skip if instance terminated
24
+
23
25
  tags = {}
24
26
  h[:tag_set].each { |tag|
25
27
  tags[tag[:key]] = tag[:value]
@@ -1,6 +1,6 @@
1
1
  module Ops
2
2
 
3
3
  def self.version
4
- "0.1.5"
4
+ "0.1.6"
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: devops
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hardeep Shoker
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-08-11 00:00:00.000000000 Z
12
+ date: 2015-08-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler