hss 0.1.17 → 0.1.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/hss +2 -2
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 70c24f8967bea8010bb3f5b6f996f7d4afa03e1b
4
- data.tar.gz: e1e2f7306506dac2e68643440e006a2b189c0007
3
+ metadata.gz: a7394075b44945605d5279a63b8998a2ea371d23
4
+ data.tar.gz: 9e58999eefb44e4ab1395ee2e52c2ce9f98b9c12
5
5
  SHA512:
6
- metadata.gz: 68fb27b55ca7c7228a10c88f4eb7f646dd82673c141943327a8957048670a820d0452627c56b8e07c86a45972454ce2cc85ee0e2dafb7c1165b1d9416cbc8e1a
7
- data.tar.gz: 402006321fb90edd6ed227915addedbef98899776328a1de796f56699f30d2a9b3bc508477752c3ae3ed9de4df9b40f2b5fd92dab3717e73d3610e3ad8a7d257
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.17'
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.17
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-02 00:00:00.000000000 Z
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