hss 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/bin/hss +1 -1
  3. data/lib/hss.rb +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 296e8a47b23eaba852c61e55e6dd50c9a9e47111
4
- data.tar.gz: 7c28b0ab9bdcec36a8807a56af87a4de2354df4d
3
+ metadata.gz: 68fc7dcd731e289254c838b804b0cd0f0ebc8e48
4
+ data.tar.gz: 9f34b5e759a71c0e2fb5e7464efea212ca221a9a
5
5
  SHA512:
6
- metadata.gz: 3519173088f58a186719f95d03d79ee9cc977120412814e89e806411228dd6e8e6e3136213d8a21cc0c5a8ca1a480522ae901c1e08b2f8cda39b29a83d465815
7
- data.tar.gz: e8d402910f413b1201f6c1d4a389563de52ef6fe71faa08ab15a67ab66a8393c30e9db50255c316e99c4cc50aede81fae3d6ae033f6a553fc46d1c85956cf1c3
6
+ metadata.gz: 5bb466b9da456e8aeb8fab331d9ecec8402ddde10a546ef858224f78ccf9d681924584cac45fa837892d53190539a16fa6d26549b20ea8bec5425334bd3f18bf
7
+ data.tar.gz: 2a02a836cc0a4ae292414bc75c286165fe6dcff065377f4009c7ed8aaa67d1072a1aa12a676091a224d8b56f90f195e5d9fa7066b7f96a6fc697ff9dd2338802
data/bin/hss CHANGED
@@ -20,6 +20,6 @@ Command = (ENV.include? 'HSS_DEBUG') ? 'echo ssh' : 'ssh'
20
20
 
21
21
  Long_Host = My_Handler.handle Short_Host
22
22
 
23
- $stdout.syswrite "\033]0;#{Short_Host}\007"
23
+ $stdout.syswrite "\033]0;#{Short_Host}\007" if $stdout.tty? and $stdin.tty?
24
24
  exec "#{Command} #{Long_Host} #{Args}"
25
25
 
data/lib/hss.rb CHANGED
@@ -3,7 +3,7 @@ require 'pathname'
3
3
  require 'erb'
4
4
 
5
5
  module HSS
6
- Version = '0.2.2'
6
+ Version = '0.2.3'
7
7
  Default_Config = '~/.hss.yml'
8
8
  Default_Library = Pathname.new(__FILE__).realpath.split()[0].to_s + '/helpers'
9
9
 
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.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Les Aker
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-11-02 00:00:00.000000000 Z
11
+ date: 2013-11-04 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Regex-based SSH shortcut tool
14
14
  email: me@lesaker.org