ey_info 0.1.8 → 0.1.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/ey_info.rb +4 -1
  2. data/lib/version.rb +1 -1
  3. metadata +4 -4
@@ -152,7 +152,10 @@ module EyInfo
152
152
  app_count = 0
153
153
  db_count = 0
154
154
 
155
- @api.environments.match_one!(env_name.to_s).instances.sort_by {|x| x.hostname}.each do |i, idx|
155
+ instances = @api.environments.match_one!(env_name.to_s).instances.
156
+ select {|x| x.hostname}.
157
+ sort_by {|x| x.hostname}
158
+ instances.each do |i, idx|
156
159
  # if i.role == 'app_master'
157
160
  # key = "app0"
158
161
  # elsif i.role == 'app'
@@ -1,3 +1,3 @@
1
1
  module EyInfo
2
- Version = "0.1.8"
2
+ Version = "0.1.9"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ey_info
3
3
  version: !ruby/object:Gem::Version
4
- hash: 11
4
+ hash: 9
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 8
10
- version: 0.1.8
9
+ - 9
10
+ version: 0.1.9
11
11
  platform: ruby
12
12
  authors:
13
13
  - Tung Nguyen
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-01-09 00:00:00 -08:00
18
+ date: 2012-02-29 00:00:00 -08:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency