canals 0.8.5 → 0.8.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3107607c509286a1c20f22603fb6f255e5dd7efc
4
- data.tar.gz: ddecefb0c57a4603b045d57b9e72dcfc2be84d8c
3
+ metadata.gz: 7c5a0098eb37586fc451b6ded6e126205695f128
4
+ data.tar.gz: cdda79e8d846034aba75aec28266cedd3d1ff029
5
5
  SHA512:
6
- metadata.gz: a81dfea378befa22549c703250dd975fc63d6b47b8dcf02535189b29799d7ecd8799467f8f6c56075c9eac3ce43ca15213694f05d8b6b7784ff91b8279bc27f5
7
- data.tar.gz: 556a129076478c4886c3225155b94eb85d983ec9c8821afa4f795495b098b490f5290b3010b139e98bc3648befc878ca40d87692af88f6bb1a86b5c986579155
6
+ metadata.gz: 3c6825603f60c7768e126a119b838fc2c5bbf47087dacf956b1154cec4ed0aaec69b49f8ac92206e8351d4398e8108976c67ba125b7b4f914cd841843ed95a42
7
+ data.tar.gz: 80c3806fd808fffe57d718d04eb277ebd5ea2977b484f7bf5117774d1baef42478f51972d38760216bbe6da3893bf9efab9d977a876051f8d15333544b7388c6
data/lib/canals/cli.rb CHANGED
@@ -21,9 +21,10 @@ module Canals
21
21
  end
22
22
 
23
23
  desc 'create NAME REMOTE_HOST REMOTE_PORT [LOCAL_PORT]', "Create a new tunnel; if LOCAL_PORT isn't supplied, REMOTE_PORT will be used as LOCAL"
24
- method_option :env, :type => :string, :desc => "The proxy environment to use"
25
- method_option :hostname, :type => :string, :desc => "The proxy host we will use to connect through"
26
- method_option :user, :type => :string, :desc => "The user for the ssh proxy host"
24
+ method_option :env, :type => :string, :desc => "The proxy environment to use"
25
+ method_option :hostname, :type => :string, :desc => "The proxy host we will use to connect through"
26
+ method_option :user, :type => :string, :desc => "The user for the ssh proxy host"
27
+ method_option :bind_address, :type => :string, :desc => "The bind address to connect to"
27
28
  def create(name, remote_host, remote_port, local_port=nil)
28
29
  opts = {"name" => name, "remote_host" => remote_host, "remote_port" => remote_port, "local_port" => local_port}.merge(options)
29
30
  opts = Canals::CanalOptions.new(opts)
@@ -32,12 +33,13 @@ module Canals
32
33
  end
33
34
 
34
35
  desc 'update NAME', "Update an existing tunnel"
35
- method_option :remote_host, :type => :string, :desc => "The remote host of the tunnel"
36
- method_option :remote_port, :type => :string, :desc => "The remote port of the tunnel"
37
- method_option :local_port, :type => :string, :desc => "The local port to use"
38
- method_option :env, :type => :string, :desc => "The proxy environment to use"
39
- method_option :hostname, :type => :string, :desc => "The proxy host we will use to connect through"
40
- method_option :user, :type => :string, :desc => "The user for the ssh proxy host"
36
+ method_option :remote_host, :type => :string, :desc => "The remote host of the tunnel"
37
+ method_option :remote_port, :type => :string, :desc => "The remote port of the tunnel"
38
+ method_option :local_port, :type => :string, :desc => "The local port to use"
39
+ method_option :env, :type => :string, :desc => "The proxy environment to use"
40
+ method_option :hostname, :type => :string, :desc => "The proxy host we will use to connect through"
41
+ method_option :user, :type => :string, :desc => "The user for the ssh proxy host"
42
+ method_option :bind_address, :type => :string, :desc => "The bind address to connect to"
41
43
  def update(name)
42
44
  tunnel = Canals.repository.get(name)
43
45
  if tunnel.nil?
@@ -1,6 +1,6 @@
1
1
  module Canals
2
2
 
3
3
  # Canals gem current version
4
- VERSION = "0.8.5"
4
+ VERSION = "0.8.6"
5
5
 
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: canals
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.5
4
+ version: 0.8.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ido Abramovich
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-14 00:00:00.000000000 Z
11
+ date: 2016-07-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor