hss 0.1.17 → 0.1.19
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: a7394075b44945605d5279a63b8998a2ea371d23
|
4
|
+
data.tar.gz: 9e58999eefb44e4ab1395ee2e52c2ce9f98b9c12
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d43c9fdf39748fc9018a1ff5a31b0f2e6348d2e4384746f0ad2a80ed8bb26feddd9756d59bfeffd44fa5e98dc93d6180162713fc2440fa2a2af085d948e4b01f
|
7
|
+
data.tar.gz: 5a5f55c95757bf47a96a65dcf9cf74f48dcfc457f97b2473887af9bcdc9a7d2035e7b530115554e2bf4244e8f1e4599882413a8d7061e756ef394931a0053598
|
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.19'
|
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" if $stdin.tty?
|
54
|
+
$stdout.syswrite "\033]0;#{Input}\007" if $stdin.tty? and $stdout.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.19
|
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-10-
|
11
|
+
date: 2013-10-09 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Regex-based SSH shortcut tool
|
14
14
|
email: me@lesaker.org
|