sys_watchdog 0.0.6 → 0.0.7

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: a4adf0a9ebf9b7f713a7a05409040376da12479d
4
- data.tar.gz: 34a368846b96379ac917140c4ab0b98e5032c7c6
3
+ metadata.gz: 75daa582225a35b126dcfa36c8141ad0042b0cd9
4
+ data.tar.gz: b4fda308078ed2a0370e22f23a7faafb90bdad4e
5
5
  SHA512:
6
- metadata.gz: 3b77c8624b139f352f01358234f406e2f8c80551e08c8de555e165744cb2fedf3ef6838c55cf0e7ac707333abd32a39b19c956c895bb47bd92a7377dc8211eb3
7
- data.tar.gz: 1285e57ba509b5b1532098786bb381a232212e077a7f46ed5b4c81d1b3608b25c26c4806d91c9433aad5bd7a9a7906fc5f7bd9a3429d04a2a66f1a0d051b686b
6
+ metadata.gz: 75464d4eb2de930695b2d3f3360db77b1ae6adcfc42a6214d4c4592bd14392809f20aeabce35c9407ca193e4dd225d1ce2ded457e65363191318df871071cc03
7
+ data.tar.gz: a75b899a13761cb7ee3772d97756053a02c02aee04839c498f3ec8e34808b4f27875a180c6b85dc84f8a4afe208d0a2ba7dd36e55e9c04d9bca7f8bd80516cc5
data/README.md CHANGED
@@ -1,8 +1,14 @@
1
-
2
1
  Sys Watchdog
3
2
  =================
4
3
 
5
- ** perform all steps as root
4
+ [![Gem Version](https://badge.fury.io/rb/sys_watchdog.svg)](https://badge.fury.io/rb/sys_watchdog)
5
+ [![Code Climate](https://codeclimate.com/github/tomlobato/sys_watchdog.svg)](https://codeclimate.com/github/tomlobato/sys_watchdog)
6
+
7
+ By [Bettercall.io](https://bettercall.io/).
8
+
9
+ SysWatchdog keeps your *NIX servers green by performing periodic checks and optionally actions like service restarts and notifications.
10
+
11
+ *Perform all following steps logged as root user*
6
12
 
7
13
  ## Install
8
14
 
@@ -1,6 +1,6 @@
1
1
  class WdTest
2
2
  attr_accessor :name,
3
- :test_cmd, :test_url, :notify_output_change, :restore_cmd,
3
+ :test_cmd, :test_url, :notify_on_output_change, :restore_cmd,
4
4
  :expected_regex, :expected_string, :expected_max, :expected_min,
5
5
  :status, :previous_output
6
6
 
@@ -11,7 +11,7 @@ class WdTest
11
11
 
12
12
  @test_cmd = params[:test_cmd]
13
13
  @test_url = params[:test_url]
14
- @notify_output_change = params[:notify_output_change]
14
+ @notify_on_output_change = params[:notify_on_output_change]
15
15
  @restore_cmd = params[:restore_cmd]
16
16
 
17
17
  @expected_regex = params[:expected_regex]
data/sys_watchdog.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "sys_watchdog"
3
- s.version = "0.0.6"
3
+ s.version = "0.0.7"
4
4
  s.authors = ["Tom Lobato"]
5
5
  s.email = "lobato@bettercall.io"
6
6
  s.homepage = "http://sys-watchdog.bettercall.io/"
@@ -17,7 +17,7 @@ config:
17
17
  tests:
18
18
  ## General
19
19
  boot_time:
20
- notify_output_change: uptime -s
20
+ notify_on_output_change: uptime -s
21
21
 
22
22
  ## URLs
23
23
  site_status:
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sys_watchdog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Lobato