hss 0.1.12 → 0.1.13

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: 6793032cd30a05819a9a11aeba3ba05da5fde460
4
- data.tar.gz: 3a2976e7eb068ebaead45201d930bd9e3dc42cc7
3
+ metadata.gz: 5c80a9669e3ee2cc7d4e1db2ad52bd7d7f38b9e9
4
+ data.tar.gz: e8328348f8bff23f8870a04f9a256219b5899935
5
5
  SHA512:
6
- metadata.gz: c41c4d32ab494ebfacee1e7626f6732321e0b9086c8b62c4d395058598eeb3279f67ab35a14dc8013468ffbbcdc9ea3aadad2f2a4d4876a08354c3348559c8b3
7
- data.tar.gz: a4b97e5c889ccf89a45d083b022d56d1e6d359b4fe408db6f45bd5d7e6bfa80fa396d19b8a4f6e42005cd8ade4316fc4f9a948c81ccceb677485666287bc9465
6
+ metadata.gz: db12d712178a7c6a6e4a4666189044ffca9ab300846a13ada03783715da649dc7c5f7ad19b0642e56c5c746ab8c4dbc908b9dc741577be26547a2071aed99bc5
7
+ data.tar.gz: 89e4fbbe0389917d2c2d8129eedbd95d34811512f8936c909a2073ad7d753920f8918cafa627a24f3f91c01cfa90c42b82d17ac6184cb731d0ad4bb3a91d9895
data/lib/hss CHANGED
@@ -3,7 +3,7 @@
3
3
  require 'yaml'
4
4
  require 'pathname'
5
5
 
6
- Version = '0.1.12'
6
+ Version = '0.1.13'
7
7
 
8
8
  if ARGV.length == 1 and ARGV[0] == 'version'
9
9
  puts Version
@@ -39,7 +39,7 @@ if possible_paths.empty?
39
39
  end
40
40
 
41
41
  Conf = open(possible_paths[0]) { |file| YAML.load(file.read) }
42
- Input = ARGV.delete_at( ARGV.find_index { |x| x[0] != '-' } || 0 )
42
+ Input = ARGV.delete_at( ARGV.find_index { |x| x[0, 1] != '-' } || 0 )
43
43
  Args = ARGV.inject('') { |memo, obj| memo += " '" + obj.gsub(/([$"])/, '\1') + "'" }
44
44
  Cmd = (ENV.include? 'HSS_DEBUG') ? 'echo ssh' : 'ssh'
45
45
 
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.12
4
+ version: 0.1.13
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-08-26 00:00:00.000000000 Z
11
+ date: 2013-09-19 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Regex-based SSH shortcut tool
14
14
  email: me@lesaker.org