brightbox-cli 2.9.2 → 2.9.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +0 -2
- data/CHANGELOG.md +9 -0
- data/Gemfile.lock +1 -1
- data/lib/brightbox-cli/commands/servers/activate-console.rb +7 -2
- data/lib/brightbox-cli/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d75fbc305e6454af25ea8229ab5e3daa172daa356238cca3f754bfbde9dd622e
|
4
|
+
data.tar.gz: a18c6c52ee8f05c8726013c466db8919c93861f354ad25f3b6d90081b99547e4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9e5702306a5c79fd252a00c5019201f848737f8df0b46939fa690ab990ac098f8df7d1a921dbbeb61e30e675816adfd524ad4091f808d2b5a1f99f17e408bee0
|
7
|
+
data.tar.gz: e312c55cd455a3e0100edad6826d725f97f5d084a54909c9dbb9268593528c2bdd1e30c30f8af836e9332879f6497ccd0ab3113b93435b6d8d8819a040cf0705
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,12 @@
|
|
1
|
+
### v2.9.3 /2019-03-06
|
2
|
+
|
3
|
+
[Full Changelog](https://github.com/brightbox/brightbox-cli/compare/v2.9.2...v2.9.3)
|
4
|
+
|
5
|
+
Bug fixes:
|
6
|
+
|
7
|
+
* Fixes `servers activate_console` URL generated from new API output to remove
|
8
|
+
invalid trailing slash.
|
9
|
+
|
1
10
|
### v2.9.2 /2018-09-07
|
2
11
|
|
3
12
|
[Full Changelog](https://github.com/brightbox/brightbox-cli/compare/v2.9.1...v2.9.2)
|
data/Gemfile.lock
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
require "uri"
|
2
|
+
|
1
3
|
module Brightbox
|
2
4
|
desc I18n.t("servers.desc")
|
3
5
|
command [:servers] do |cmd|
|
@@ -19,9 +21,12 @@ module Brightbox
|
|
19
21
|
servers.each do |s|
|
20
22
|
info "Activating console for server #{s}"
|
21
23
|
r = s.activate_console
|
22
|
-
|
24
|
+
|
25
|
+
uri = URI(r["console_url"])
|
26
|
+
uri.query = "password=#{r["console_token"]}"
|
27
|
+
|
23
28
|
expires = Time.parse(r["console_token_expires"])
|
24
|
-
consoles << { :url =>
|
29
|
+
consoles << { :url => uri.to_s, :token => r["console_token"], :expires => expires.localtime.to_s }
|
25
30
|
end
|
26
31
|
|
27
32
|
render_table(consoles, global_options.merge(:fields => [:url, :token, :expires], :resize => false))
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: brightbox-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.9.
|
4
|
+
version: 2.9.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Leach
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-03-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fog-brightbox
|