mescal-cli 0.2.3 → 0.2.4

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: aa001795f7ca4a25b4608f8a6849687c43bfdc10
4
- data.tar.gz: f780fe6e43cc5a763e9f78c38a3ddbb5e1d77b3d
3
+ metadata.gz: 811f1f55ac227f93a76309a73c9129499af229fb
4
+ data.tar.gz: 1a2e815852ff3b8b109e06856946dd87541aa2a2
5
5
  SHA512:
6
- metadata.gz: b9b9114960192527fb812e93bea65b86d15b298b940a99dddaf9af24c937e7e850c854b9330cd7369e308783455d074efe97b2acb016fa400fa9c25f2b46a461
7
- data.tar.gz: 7ca21fe3a2155a7065dc61e3ab418200a09fc90808947fcdcfc35200e3333f3ad0ea14554cdd70d04440ab4821221c524f82957e7f764b4653389e16c41b05b3
6
+ metadata.gz: 1cb01e7376bd646e833887c81bc8b66f30fce277b161efcb13e186ee730f959ee4ddb48549c670306b1c445c1a45fe7375876a6fadc9100bb3d0e23ac85bce8c
7
+ data.tar.gz: 425b44872c15c2568cd91a0b59b6e6e899b59cfc997a425af95fa885abff46c50fa1e37815670e1ec39f92b09d522bb583a900bd99c47291d813adddd7500cce
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mescal-cli (0.0.2)
4
+ mescal-cli (0.2.3)
5
5
  multi_json (~> 1.11, >= 1.11.0)
6
6
  rest-client (~> 1.8, >= 1.8.0)
7
7
  table_print (~> 1.5.3, >= 1.5.3)
@@ -15,7 +15,12 @@ module MescalCli
15
15
  end
16
16
 
17
17
  def usage
18
- puts "mescal [run|ssh]"
18
+ puts <<END
19
+ mescal run [cmd]
20
+ mescal ssh
21
+ mescal list
22
+ mescal kill [id]
23
+ END
19
24
  end
20
25
 
21
26
  def run!
@@ -9,7 +9,7 @@ module MescalCli
9
9
  port = @task.ssh_port
10
10
  killer = "#{$0} kill #{@task.id}"
11
11
  puts "SSH'ing to root@#{ip}:#{port}"
12
- exec "/bin/bash -l -c 'ssh -o LogLevel=quiet -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no root@#{ip} -p #{port}; #{killer}'"
12
+ exec "ssh -o LogLevel=quiet -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no root@#{ip} -p #{port}; #{killer}"
13
13
  end
14
14
  end
15
15
  end
@@ -1,3 +1,3 @@
1
1
  module MescalCli
2
- VERSION = "0.2.3"
2
+ VERSION = "0.2.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mescal-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Kite
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-20 00:00:00.000000000 Z
11
+ date: 2015-12-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler