perus 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b741079e20b331b54415f5cec83e97a8ec7a922f
4
- data.tar.gz: 22b7bde65e352f6835086e5d01c61193f70f3426
3
+ metadata.gz: 0f56e61b3219419f836bbae92b49cfc35330f89d
4
+ data.tar.gz: e6728c4313c0068683998ae1f0afd3a5ac93af21
5
5
  SHA512:
6
- metadata.gz: 57efcc69a83614adb7fefbd4b4aaefea140a000dd79420b4a5023f1631527ee2005ce324ab70dc3d89d09dc6ef3706a4a2cacabbd58164f605ec38109970a1c8
7
- data.tar.gz: d194755b6e93a2ff8161f7d050a74762d6e79a45abde2d6e32baf89bb8f3d84ec7c49a8f31c4c99bba4f51c9fdc5a879a948c3ed7ffab4c97786a509e4e421d5
6
+ metadata.gz: cb8f44cea18719b51eb9887bb02d07836e5742f57c0bf5ca2987fffce41665aea8ae483b18860f1c7cf97a6accd269ed940521cc4b655117f5a77c22975bed78
7
+ data.tar.gz: 0aab536725d3c43c4404fec26ecae26afc34cc3577d4bd430a0b8ee92e048ae5817fc9aabba11a9fb534cd327fb32f7339b1b6537952dccad0d633cbaca20b63
@@ -12,7 +12,7 @@ module Perus::Pinger
12
12
  def run
13
13
  grep = options.grep.gsub('"', '\\"')
14
14
  line = shell(%Q[cat #{options.path} | egrep "#{grep}"])
15
- value = line.match(Regexp.compile(options.match))[1]
15
+ value = line.match(Regexp.compile(options.grep))[1]
16
16
  {options.name => value}
17
17
  end
18
18
  end
@@ -1,3 +1,3 @@
1
1
  module Perus
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: perus
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Will Cannings