acquia_toolbelt 2.4.0 → 2.4.1
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.
- data/Gemfile.lock +3 -1
- data/lib/acquia_toolbelt/cli/server.rb +9 -1
- data/lib/acquia_toolbelt/version.rb +1 -1
- metadata +2 -2
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
acquia_toolbelt (2.
|
|
4
|
+
acquia_toolbelt (2.4.1)
|
|
5
5
|
faraday (= 0.8.8)
|
|
6
6
|
highline (= 1.6.19)
|
|
7
7
|
json (= 1.8.0)
|
|
@@ -9,6 +9,7 @@ PATH
|
|
|
9
9
|
netrc (= 0.7.7)
|
|
10
10
|
rainbow (= 1.1.4)
|
|
11
11
|
sshkey (= 1.6.0)
|
|
12
|
+
terminal-table (= 1.4.5)
|
|
12
13
|
thor (= 0.18.1)
|
|
13
14
|
|
|
14
15
|
GEM
|
|
@@ -37,6 +38,7 @@ GEM
|
|
|
37
38
|
rspec-mocks (2.14.4)
|
|
38
39
|
safe_yaml (0.9.7)
|
|
39
40
|
sshkey (1.6.0)
|
|
41
|
+
terminal-table (1.4.5)
|
|
40
42
|
thor (0.18.1)
|
|
41
43
|
vcr (2.7.0)
|
|
42
44
|
webmock (1.15.2)
|
|
@@ -31,7 +31,8 @@ module AcquiaToolbelt
|
|
|
31
31
|
'Environment state',
|
|
32
32
|
'Web state',
|
|
33
33
|
'Varnish state',
|
|
34
|
-
'External IP'
|
|
34
|
+
'External IP',
|
|
35
|
+
'ELB domain'
|
|
35
36
|
]
|
|
36
37
|
|
|
37
38
|
server_env = AcquiaToolbelt::CLI::API.request "sites/#{subscription}/envs/#{env}/servers"
|
|
@@ -77,6 +78,13 @@ module AcquiaToolbelt
|
|
|
77
78
|
row_data << 'n/a'
|
|
78
79
|
end
|
|
79
80
|
|
|
81
|
+
# Only load balancers will have the 'ELB domain name' property.
|
|
82
|
+
if server['services'] && server['services']['elb_domain_name']
|
|
83
|
+
row_data << server['services']['elb_domain_name']
|
|
84
|
+
else
|
|
85
|
+
row_data << 'n/a'
|
|
86
|
+
end
|
|
87
|
+
|
|
80
88
|
rows << row_data
|
|
81
89
|
end
|
|
82
90
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: acquia_toolbelt
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.4.
|
|
4
|
+
version: 2.4.1
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2014-11-
|
|
12
|
+
date: 2014-11-19 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: thor
|