pipe2me-client 0.2.7 → 0.2.8

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: c23b048f9b8593b9ab933de3f2e7923e0d181a82
4
- data.tar.gz: 9077ed28e74e074a9ad0aa35dfaeb829e31811b4
3
+ metadata.gz: 8968003f722e5a557b48c68a931a956df97cd349
4
+ data.tar.gz: d8092a7be2cfcb52ca99c93fb507aa4ffb3f41ce
5
5
  SHA512:
6
- metadata.gz: ea57ec0fc6732574a3f6343dddfabd67f8e64604882e42fb836ae66cef4035a8c990fe3f718ea9ca676435dc98f3817c19c2fb55ca1dded9393f6123d161627d
7
- data.tar.gz: 063210c0cacdbd5cc2bf0c7b278ca4bcea9134fbfe067ae7913056781028e541f9fac8496bd3c5d768b71e6818d13acdcc48260b5bbc471d58933899c05e5f20
6
+ metadata.gz: fe87297cd767ce05ba03e4e37b63ae9eb4a90d24c9d7275a6cfc7744b5b262223e7a2f1f0b982eb1287e564854722d81cd92066483b54e2b1e056942282142e3
7
+ data.tar.gz: 9a48bf4a510a9bf8145492c52861e27619fbba879a934c5bab9a694e546b4dc7360894f18143da48e1a95cabf9cf4f182234aab3462bbe6052abdedacb3ff1d6
@@ -38,12 +38,12 @@ module Pipe2me::Tunnel::Commands
38
38
 
39
39
  def which!(cmd)
40
40
  path = `which #{cmd}`.chomp
41
- raise "Cannot find #{cmd} in your $PATH. Is it installed?"
41
+ raise "Cannot find #{cmd} in your $PATH. Is it installed?" if path == ""
42
42
  path
43
43
  end
44
44
 
45
45
  def port_tunnel_command(tunnel_uri, protocol, remote_port, local_port)
46
- which! :autossh
46
+ autossh = which! :autossh
47
47
 
48
48
  cmd = <<-SHELL
49
49
  env AUTOSSH_GATETIME=0 # comments work here..
@@ -1,4 +1,4 @@
1
1
  module Pipe2me
2
- VERSION = "0.2.7"
2
+ VERSION = "0.2.8"
3
3
  BANNER = "pipe2me command line client V#{Pipe2me::VERSION}; (c) The kink team, 2013, 2014."
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pipe2me-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.7
4
+ version: 0.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - radiospiel
@@ -66,7 +66,7 @@ dependencies:
66
66
  - - '>='
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
- description: pipe2me command line client V0.2.7; (c) The kink team, 2013, 2014.
69
+ description: pipe2me command line client V0.2.8; (c) The kink team, 2013, 2014.
70
70
  email: contact@kinko.me
71
71
  executables:
72
72
  - pipe2me
@@ -131,5 +131,5 @@ rubyforge_project:
131
131
  rubygems_version: 2.2.1
132
132
  signing_key:
133
133
  specification_version: 4
134
- summary: pipe2me command line client V0.2.7; (c) The kink team, 2013, 2014.
134
+ summary: pipe2me command line client V0.2.8; (c) The kink team, 2013, 2014.
135
135
  test_files: []