hss 0.1.14 → 0.1.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/hss +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d2152d05fe1edee8b07a7166f47e24c170adda81
|
4
|
+
data.tar.gz: 005d4f257a2fb1f06d0930ef2608b456da9e26de
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0c6e0ef4ab34523f278d99d0670d8d99b94b55624c5a6e05738e807c5fab355a9e4b0d5d9100660a8844068109312a327a63759369afa417dd024811e7124c2c
|
7
|
+
data.tar.gz: 2311a13814aacad0c47d9aeb788295391364423d66aef46f34d121b3bde14c55e0a1f41bc72e90afbb8a5e267c28cbaf675c676394f8313f401fad5e923270a9
|
data/lib/hss
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
require 'yaml'
|
4
4
|
require 'pathname'
|
5
5
|
|
6
|
-
Version = '0.1.
|
6
|
+
Version = '0.1.15'
|
7
7
|
|
8
8
|
if ARGV.length == 1 and ARGV[0] == 'version'
|
9
9
|
puts Version
|
@@ -51,7 +51,7 @@ else
|
|
51
51
|
Conf['patterns'].each do |pattern|
|
52
52
|
next unless Input.match(pattern['short'])
|
53
53
|
long_form = eval '"' + pattern['long'] + '"'
|
54
|
-
$stdout.syswrite "\033]0;#{Input}\007"
|
54
|
+
$stdout.syswrite "\033]0;#{Input}\007" if $stdin.tty?
|
55
55
|
exec "#{Cmd} #{long_form} #{Args}"
|
56
56
|
end
|
57
57
|
puts "Couldn't find a matching host for: #{Input}"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hss
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Les Aker
|
8
8
|
autorequire:
|
9
9
|
bindir: lib
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-09-
|
11
|
+
date: 2013-09-25 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Regex-based SSH shortcut tool
|
14
14
|
email: me@lesaker.org
|