hss 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/hss +2 -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: fb3d0d04d79352dd42acff5e11ef74ba0f1c21af
|
4
|
+
data.tar.gz: bc2287840dabdba36cde7736761fe5ace675c000
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3581b1a2921c83e0adf187fd78dbf620e6e4ec0a6cb0380e16d06f2b9f556253fc041be5a9e43d257b6c5f7ca94e92b880c3c27bf603802a5af58d4df25dfd5c
|
7
|
+
data.tar.gz: b6197a0cca5911a2b375acd191f1838752f2ab3d35b6d3f9a3cbbe3d2119aa5cb568b60b395b19a649747336f9f682771f772ce31122adb17da4956a34dbf0b9
|
data/hss
CHANGED
@@ -39,7 +39,8 @@ if Input.nil? or Input == 'help'
|
|
39
39
|
else
|
40
40
|
Config['patterns'].each do |pattern|
|
41
41
|
next unless Input.match(pattern['short'])
|
42
|
-
long_form =
|
42
|
+
long_form = '"' + pattern['long'] + '"'
|
43
|
+
#long_form = ERB.new('<%= "' + pattern['long'] + '" %>').result
|
43
44
|
exec "ssh #{Args} #{long_form}"
|
44
45
|
end
|
45
46
|
end
|