perus 0.1.8 → 0.1.9

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: c691e0803e6d3cd8e4f71844229b16cbd9c86eff
4
- data.tar.gz: 4b50581cb82ee72f16cdc7b0ffe91b03e92d0b5e
3
+ metadata.gz: 4911b71f00064a5f01539c97568c31b26d0d5063
4
+ data.tar.gz: 981d5cab3874924a489e37f65db1a5bd56e052fa
5
5
  SHA512:
6
- metadata.gz: 95a1cf16ed2e53948382cd64c2b164b26112cfeec66b22ec298e3cbf6ee6e6d97ffafce83a2ba901f17d84aedfed9d20ff06a71ae4d9498a2564bae5ce715d50
7
- data.tar.gz: 74fae7570dd20724b4f79f1cfc943e0fd89d92c7f4306c8e91a11c02f0863e628fd3ab106fe4dd1b14affe51b5f5fdd5bc36ebb36e0fde378fefb4769de39d9f
6
+ metadata.gz: fb415cc96cd26f0c28f427877e89cadb1b0d45a94f03ee08e02e3e6bf1f4a0e3192f46c14ae2da0e27850dff46e3fa8e2f9732bb1cb8e4986d150313b72959bf
7
+ data.tar.gz: 2f5986c3718a2628379955c59cbbda33cea524a16909d8256476ef5f33cb78ae193e98a1c50ab8035ada4edb4df7f3c42ee1d698c38e3276797a2e33a68e1bf5
@@ -6,7 +6,7 @@ module Perus::Pinger
6
6
  option :signal, default: 'KILL'
7
7
 
8
8
  def run
9
- result = shell("killall -#{option.signal} #{option.process_name}")
9
+ result = shell("killall -#{options.signal} #{options.process_name}")
10
10
  true # shell will capture any errors
11
11
  end
12
12
  end
@@ -5,7 +5,7 @@ module Perus::Pinger
5
5
  option :job, restricted: true
6
6
 
7
7
  def run
8
- result = shell("sudo service #{option.job} start")
8
+ result = shell("sudo service #{options.job} start")
9
9
  true # shell will capture any errors
10
10
  end
11
11
  end
@@ -5,7 +5,7 @@ module Perus::Pinger
5
5
  option :job, restricted: true
6
6
 
7
7
  def run
8
- result = shell("sudo service #{option.job} stop")
8
+ result = shell("sudo service #{options.job} stop")
9
9
  true # shell will capture any errors
10
10
  end
11
11
  end
@@ -5,7 +5,7 @@ module Perus::Pinger
5
5
  option :job, restricted: true
6
6
 
7
7
  def run
8
- result = shell("sudo start #{option.job}")
8
+ result = shell("sudo start #{options.job}")
9
9
  true # shell will capture any errors
10
10
  end
11
11
  end
@@ -5,7 +5,7 @@ module Perus::Pinger
5
5
  option :job, restricted: true
6
6
 
7
7
  def run
8
- result = shell("sudo stop #{option.job}")
8
+ result = shell("sudo stop #{options.job}")
9
9
  true # shell will capture any errors
10
10
  end
11
11
  end
data/lib/perus/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Perus
2
- VERSION = "0.1.8"
2
+ VERSION = "0.1.9"
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.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Will Cannings
@@ -347,4 +347,3 @@ signing_key:
347
347
  specification_version: 4
348
348
  summary: Simple system overview server
349
349
  test_files: []
350
- has_rdoc: