opsworks 0.0.9 → 0.0.10

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b291021d4031a0d29b4afa8d92a8857a0e990ec1
4
- data.tar.gz: b93849f883710b7425262c0b446334b068f99d78
3
+ metadata.gz: 4e2abd2db629ce47b3e1fe9c08b8a81c2b46859d
4
+ data.tar.gz: bbe7ec9cb249c43a936d9a8e8e919a08e93116ef
5
5
  SHA512:
6
- metadata.gz: 7226f3f7eac38c40d1023dca31647115c6a33db798beb432b84b647d7bc8f4ef322d7c31efcd779ca5a64524e0999e6fc686a6a0cae216d11e940431e02ee400
7
- data.tar.gz: 46942430e38cee5015bbc77acd6e2fe119f2f566db7e4f7a25ac3d424a0d00f89d66ae4c3fd6fe9a35e848b2140b2cdec3d4757f117e917bde8df19000ea7579
6
+ metadata.gz: 33e6ec81157adb41dd4195a77a26e5cef41b664e0d463dfcc34794e357a8871191eb00c621a97c1c9727ed60ed263a4bd7eb6957b957e6b930a86e4eb7d28424
7
+ data.tar.gz: a8bfa2a2984dc44fb543fe8728b42636b3579582519a4236f831420c578136d4a6b44cb5fe3e63137368cfeb2eceeee17bbec84f267c03b6d567d0e3389bdaf8
@@ -33,7 +33,7 @@ module OpsWorks::Commands
33
33
  client = AWS::OpsWorks::Client.new
34
34
 
35
35
  result = client.describe_instances(stack_id: config.stack_id)
36
- instances = result.instances.select { |i| i[:status] == "online" }
36
+ instances = result.instances.select { |i| i[:status] != "stopped" }
37
37
 
38
38
  instances.map! do |instance|
39
39
  ip = instance[:elastic_ip] || instance[:public_ip]
@@ -82,4 +82,4 @@ module OpsWorks::Commands
82
82
  end
83
83
  end
84
84
  end
85
- end
85
+ end
data/lib/opsworks/meta.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module OpsWorks
2
- VERSION = "0.0.9"
2
+ VERSION = "0.0.10"
3
3
  AUTHORS = ["Adam Lindberg"]
4
4
  EMAIL = ["hello@alind.io"]
5
5
  DESCRIPTION = "Amazon OpsWorks CLI"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opsworks
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Lindberg
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-06-21 00:00:00.000000000 Z
11
+ date: 2013-07-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: inifile