hss 0.1.4 → 0.1.5

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 +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2dda825118c5f2c9c9a23084aa370a2c04f50f19
4
- data.tar.gz: b2ee054b0b03a8d111f1d18796f0a0611ff62f82
3
+ metadata.gz: cefe71c95a6011d5ec8f7de2ca04a25fcbda2489
4
+ data.tar.gz: f89b0dfb666035e834c15efd355d44eff04af88c
5
5
  SHA512:
6
- metadata.gz: b35efa6f33d354e3f98655a6b92211a0b261b40b02db9ecfa05d8b456261398d4a019e5f8d7522a0be115f4e92f6b6e24c590729c67762fbad78c5260e4c0232
7
- data.tar.gz: 1fedf809329f3288ad3d5009ec816d1b925a20193df10be2278f1039e5d0ec8a39050ad0e42b523296c0aced9f918469a6d31308d4d1e0d71b854c8e4a5f25a8
6
+ metadata.gz: 95b691412816f01ef532310ceefb3858eee1d54f12ddf75ec8f51dc5fa833f23745ac3d616ff7fc56b781b13353031034bfbb1b30317794286ee4b93a26dc4d5
7
+ data.tar.gz: ffe32fe63ecbaf311120a776c88b23d57370354cc746e151c6b2dd63f88295068ba99264651781bfa9b101d4295e93ae0a5af8f33cb2287184d44ad6ef8e2128
data/lib/hss CHANGED
@@ -29,7 +29,7 @@ if possible_paths.empty?
29
29
  end
30
30
 
31
31
  Conf = open(possible_paths[0]) { |file| YAML.load(file.read) }
32
- Input = ARGV.pop
32
+ Input = ARGV.shift
33
33
  Args = ARGV.join(' ')
34
34
 
35
35
  if Input.nil? or Input == 'help'
@@ -41,7 +41,7 @@ else
41
41
  next unless Input.match(pattern['short'])
42
42
  long_form = eval '"' + pattern['long'] + '"'
43
43
  #long_form = ERB.new('<%= "' + pattern['long'] + '" %>').result
44
- exec "ssh #{Args} #{long_form}"
44
+ exec "ssh #{long_form} #{Args}"
45
45
  end
46
46
  end
47
47
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hss
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Les Aker