ey_info 0.1.8 → 0.1.9

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.
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