sys_watchdog 0.1.12 → 0.1.13

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: cc0c376863ccf0446dfda65489e01d9836745006
4
- data.tar.gz: 59ee3c4d2aaa20064e62c8cad10dedb2f78b0e62
3
+ metadata.gz: cad1e21190c7f916e9632137064a38bdf91d7d05
4
+ data.tar.gz: 785f09827ebb6d3a60a6d9222ce6e316580e0460
5
5
  SHA512:
6
- metadata.gz: 02e258d8c79c3542e917524081bd5ca1aa421a672958c40a91ee55f39c9c171b6451b88a81d5e8c01023005a6af26411fd400dc04b249864e08771811113e578
7
- data.tar.gz: f52a1504f1e18b05e13af9fb731a40fa84f5166af7fd9dfe84d903a3fc01a4b00efb2591d5b4889f55dbde6adf461dc78a6d2606e00a6261cdb81d3ffdc94cb6
6
+ metadata.gz: 474450df7ec01699fc354aee9fe461812c2fbeb2c7eef6fa14f2efb1f073dfa9f895740558cd925a59b9e7b7ca18fe2ef933bfc9dd1d923fef8c4135b6c79a60
7
+ data.tar.gz: d8a8578d105b289cdb46cda7880995883ffb213ddc719dc217535c991b23a08f626fab1af4b5d891fa201b7cd35b0d0aa3211256f56c4fff54bc1d1b429b46e4
data/bin/sys_watchdog CHANGED
@@ -6,7 +6,7 @@ def red(mytext) ; "\e[31m#{mytext}\e[0m" ; end
6
6
 
7
7
  def help_msg
8
8
  <<~HEREDOC
9
- sys_watchdog v#{SysWatchdog::VERSION}
9
+ sys_watchdog v#{SysWatchdogVersion::VERSION.dup}
10
10
 
11
11
  Usage: sys_watchdog [setup|test|start|stop|once|uninstall|help|version]
12
12
 
@@ -43,7 +43,7 @@ when nil
43
43
  SysWatchdog.new.run
44
44
 
45
45
  when 'version', '-v', '--version'
46
- puts SysWatchdog::VERSION
46
+ puts SysWatchdogVersion::VERSION.dup
47
47
 
48
48
  when 'help', '-h'
49
49
  puts help_msg
@@ -1,5 +1,4 @@
1
1
  class SysWatchdog
2
- VERSION = '0.1.11'
3
2
  DEFAULT_CONF_FILE = '/etc/sys_watchdog.yml'
4
3
  DEFAULT_LOG_FILE = '/var/log/sys_watchdog.log'
5
4
  WORKING_DIR = '/var/local/sys_watchdog'
@@ -0,0 +1,3 @@
1
+ module SysWatchdogVersion
2
+ VERSION = "0.1.13".freeze
3
+ end
data/lib/sys_watchdog.rb CHANGED
@@ -17,3 +17,4 @@ require 'sys_watchdog/setup'
17
17
 
18
18
  require 'sys_watchdog/main'
19
19
  require 'sys_watchdog/notify'
20
+ require "sys_watchdog/version"
data/sys_watchdog.gemspec CHANGED
@@ -3,7 +3,7 @@ require "sys_watchdog/version"
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "sys_watchdog"
6
- s.version = SysWatchdog::VERSION.dup
6
+ s.version = SysWatchdogVersion::VERSION.dup
7
7
  s.authors = ["Tom Lobato"]
8
8
  s.email = "lobato@bettercall.io"
9
9
  s.homepage = "http://sys-watchdog.bettercall.io/"
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.1.12
4
+ version: 0.1.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Lobato
@@ -63,6 +63,7 @@ files:
63
63
  - lib/sys_watchdog/main.rb
64
64
  - lib/sys_watchdog/notify.rb
65
65
  - lib/sys_watchdog/setup.rb
66
+ - lib/sys_watchdog/version.rb
66
67
  - lib/sys_watchdog/wd_logger.rb
67
68
  - lib/sys_watchdog/wd_test.rb
68
69
  - sys_watchdog.gemspec