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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e5b09e8001e9be00308f78164050f5a8b796a01a
4
- data.tar.gz: 161769a0cede1101f3aaaea7ef7ceb2561326672
3
+ metadata.gz: 9fff1fa95925500bfb6411f2e941da91bf005224
4
+ data.tar.gz: 6ea2efb72a0b4888f4053ff83ae1e5c45282a09d
5
5
  SHA512:
6
- metadata.gz: 6c3b9516062265be2abee6b8594d62e81c7498bd4bdfa6dc5cceb5269e73aea1cf140ce1c47e2aceb991586daefa099ae6989d6db3d5e2a2b4c6d9054a0da6db
7
- data.tar.gz: f84bcf686ba16cc90fe293adb58127b0fb40792f581a8d71e44c3a3aaeb1977982802768067d00fb6e7ce7ca2674e915f234c29de27142265253a6be8d970fee
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'] = options[: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
@@ -1,5 +1,5 @@
1
1
  module Aptible
2
2
  module CLI
3
- VERSION = '0.3.0'
3
+ VERSION = '0.3.1'
4
4
  end
5
5
  end
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.0
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-04 00:00:00.000000000 Z
11
+ date: 2014-05-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor