hss 0.1.14 → 0.1.15

Sign up to get free protection for your applications and to get access to all the features.
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: 934cfc585a4fc650765520e35db8f7632eab166e
4
- data.tar.gz: add1932624b43c0aa6477f471bab89820b646bda
3
+ metadata.gz: d2152d05fe1edee8b07a7166f47e24c170adda81
4
+ data.tar.gz: 005d4f257a2fb1f06d0930ef2608b456da9e26de
5
5
  SHA512:
6
- metadata.gz: ab78e2b250b6af1ef8aa2fbd1693c31445c4083864b5a9e8f3ceb5ec4685cd3d1d3b0af4591d0b4c586247a3b79aa1dd59529706d44d33d6fa60f257671e6d9a
7
- data.tar.gz: e1097221a046e62cab7f5deed2260b9884474a5ef6dc60702272c2ba539c04f32a0cc4aa7ada9685eea52fc4ecdd49d410f93aa2674b0f93da1f91278aae2a6d
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.14'
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.14
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-23 00:00:00.000000000 Z
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