ssh-manager 1.0.5 → 1.0.6

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: e5af85955007e2593df5116944b84b2717970120
4
- data.tar.gz: e351a66da23b679499a4bf02ca6cbe419574d406
3
+ metadata.gz: 42c9874a54c63e0fecf365f36f7d05fe038669fd
4
+ data.tar.gz: 8e8220fbad020e76b3fd708ab697d43308d7f541
5
5
  SHA512:
6
- metadata.gz: 62898e31deff1153afb52b62b57daed6cf9345cf1b0b32daf14568f5cfa8421a972e6cdeb7d5d0ccfa86331330d247cde3d9e2a6dd95642add24ac12140df995
7
- data.tar.gz: f71c40faa623b177c278621f926bc27591bdf9fda204a49aa94518392e6cf24083209d9909d1441b9d5c6d3625ae8123ee8a23006473d34589c773868e426f75
6
+ metadata.gz: c1c43da10e2d8ec6a7e298f76e4bba5ec3de61f457c6ead01dbaf11c6e8279101a23314967fb045596f2f12e03eead0a806596b03e21ed00aa5eac44c4102e8e
7
+ data.tar.gz: e3a1c0d37d74ad09607d067ad1d4f95c2ac0c8c70ecc3c5c0737525994cd00b605fdb9daa757ec8b98ae64b2befba16a1b059095edd491945c2cc18995dd6cfe
@@ -24,7 +24,7 @@ module SSH
24
24
  #TODO: add title --title='connection name to identify '
25
25
  #TODO: bug when no terminal is open => wants to open 2 terms
26
26
  #TODO: dnslookup
27
- if via.nil?
27
+ if via.nil? or via.empty?
28
28
  %x(#{CONFIG['terminal']} #{command}"ssh #{user}@#{ip}")
29
29
  else
30
30
  %x(#{CONFIG['terminal']} #{command}"ssh -A -t #{via} ssh -A -t #{user}@#{ip}")
@@ -1,5 +1,5 @@
1
1
  module SSH
2
2
  module Manager
3
- VERSION = "1.0.5"
3
+ VERSION = "1.0.6"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ssh-manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.5
4
+ version: 1.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joshua Schmid