hss 0.1.7 → 0.1.8

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 +4 -0
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d7c7045a6e08184b0951c58fe5c7b8691207ecbb
4
- data.tar.gz: fe9be8389377c244263c1b6d47abdc75fbf91723
3
+ metadata.gz: f4efa637972eb1fb16ee370aae158a92f852a15d
4
+ data.tar.gz: 629b119281853df95732c2bb2f29d4e6b296dad7
5
5
  SHA512:
6
- metadata.gz: d2234f54d1bc7f2c22ec2ebb72157ded105de3f948f42b9dcc7d0b5276bbc0d9ca198500fbac3d4b060d8c29c027789db9e319516170d034e3449ab6d916357a
7
- data.tar.gz: 03e145508371b30cbb4a844107c7b1665509833555b6c40444c9be201e06e46608285c120cc63dfc1d9b9180166cec1129c586de99ca3be18a4df3de8718a130
6
+ metadata.gz: d87bf773ea11065a2525206c6e22d94e036a7a4eaee6bbdae3016eef25598ce23496c6fef2654bb137d2bde19fc1872d6d973200be05e162b4b502cea2e8cbe0
7
+ data.tar.gz: 5655dfe60f2a3ca2467583399e217745aa6c22543c9c155f60ed0165a9b8835f6dfe6037e3ef561101a7f1fd4b2d5b6f5330803f0502a2f6f8f8b735ca8c5bb9
data/lib/hss CHANGED
@@ -17,6 +17,10 @@ def command(input)
17
17
  return IO.popen(input) { |cmd| cmd.read }
18
18
  end
19
19
 
20
+ def default(a, b)
21
+ a.nil? ? a : b
22
+ end
23
+
20
24
  possible_paths = [
21
25
  File.expand_path(ENV['HSS_CONFIG'].to_s),
22
26
  File.expand_path('~/.hss.yml'),
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.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Les Aker