aptible-cli 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aptible/cli/subcommands/ssh.rb +2 -2
- data/lib/aptible/cli/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9fff1fa95925500bfb6411f2e941da91bf005224
|
4
|
+
data.tar.gz: 6ea2efb72a0b4888f4053ff83ae1e5c45282a09d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: afccababaec0466446c63e3b3218f6ca147f1b8b08bcb05aef11edd1e77daaf35e66e2502275de5ba79fdb81388af41591cd460aa2e492e792d54a9341839d78
|
7
|
+
data.tar.gz: 16d6508de082db6305877d3a41195d87841f21d6390c806186e4a7dd8a74413d1ffec31b53a5f334dd55756fb8947fe208c49046b4cfbcc750d38ffd58c5f3e6
|
@@ -24,7 +24,7 @@ module Aptible
|
|
24
24
|
|
25
25
|
ENV['ACCESS_TOKEN'] = fetch_token
|
26
26
|
ENV['APTIBLE_COMMAND'] = command_from_args(*args)
|
27
|
-
ENV['APTIBLE_APP'] =
|
27
|
+
ENV['APTIBLE_APP'] = app.handle
|
28
28
|
|
29
29
|
Kernel.exec "ssh -o 'SendEnv=*' -p #{port} root@#{host}"
|
30
30
|
end
|
@@ -32,7 +32,7 @@ module Aptible
|
|
32
32
|
private
|
33
33
|
|
34
34
|
def command_from_args(*args)
|
35
|
-
Shellwords.join(args)
|
35
|
+
args.empty? ? '/bin/bash' : Shellwords.join(args)
|
36
36
|
end
|
37
37
|
end
|
38
38
|
end
|
data/lib/aptible/cli/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aptible-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Frank Macreery
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-05-
|
11
|
+
date: 2014-05-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|