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.
- data/lib/ey_info.rb +4 -1
- data/lib/version.rb +1 -1
- metadata +4 -4
data/lib/ey_info.rb
CHANGED
@@ -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.
|
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'
|
data/lib/version.rb
CHANGED
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:
|
4
|
+
hash: 9
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
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-
|
18
|
+
date: 2012-02-29 00:00:00 -08:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|