ssh-manager 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ssh/manager/cli.rb +1 -1
- data/lib/ssh/manager/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bae04d01539a4942368e8ed92e65e2b712c7e40c
|
4
|
+
data.tar.gz: a653408283b84ab48557156da1ff54aa43ce0711
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7a4b9ed662ba509680dde00e147f3d85025c655a0a004c5648a23fa0a140c4cf24f867ef85acf853301a2851b7d269ec99ad66f96f7383e031fb6a7b221c5aaa
|
7
|
+
data.tar.gz: 18ef55d2787eae8c57762ccf3a4c5f682adc13e40c6906d56f15f3fcf1b3f7282393b0b6e4927b7db7b505283dcbb6281f2aac74d68281bea63fadf7fd7d8c64
|
data/lib/ssh/manager/cli.rb
CHANGED
@@ -35,7 +35,7 @@ module SSH
|
|
35
35
|
|
36
36
|
def connect_to(id)
|
37
37
|
via = DATABASE.get_connection_data[id.to_i-1][-1] =~ /@/
|
38
|
-
if via.
|
38
|
+
if via.nil?
|
39
39
|
@ip = DATABASE.get_connection_data[id.to_i-1][0]
|
40
40
|
@user = DATABASE.get_connection_data[id.to_i-1][1]
|
41
41
|
check_term(@ip, @user)
|
data/lib/ssh/manager/version.rb
CHANGED