sys_watchdog 0.1.18 → 0.1.19

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: 0541870b6aed07b008a66b3b4aee3332e669d996
4
- data.tar.gz: f81d7aa4edb200bf6350e9ce9d81005b53e5267a
3
+ metadata.gz: dfe6cc5ed5c9c6b70c08c731f42157ebd3bd23b6
4
+ data.tar.gz: a978f6c3dd628fd39ce3ec4c49957f71efb5cb11
5
5
  SHA512:
6
- metadata.gz: d4b3f8580db56875d8f77872d13a0577005f83aaf1ce486e1b8801abaae2a067d645168620d0e7bb6d1ee15ee6053a20dd85f20e00da192bf6cb7932c05db8d3
7
- data.tar.gz: 1678b11de8c50c12a41c46b21b0c5473e81cadff78018e37c2d9e6356d4cea1573f37168499441870966010e91d7ec42fd6e9cd5d51f25c3e85dc4104a7587ef
6
+ metadata.gz: 3034c1fb2d7a7ad24d769050ba8f3c496878f6856e11d27c4f1242da15888cc91cffe0be26a1305524e2c38ca5ab95c4d04cc032359d1f09de50d1953b03351c
7
+ data.tar.gz: 7554c279fb9b3cbf57c3d34ea1787c4a45bbfbcd9f32eb47a7788c3d9ca1e807985de0720608fbae692c2e274bb8d45b4ea79c368990a3e1774eb3b6b1dd0133
data/README.md CHANGED
@@ -13,6 +13,11 @@ Take 20min to install and start to think what you\`ll make with your spare time
13
13
 
14
14
  ## Install
15
15
 
16
+ Requirements: Ruby 2.1+ (install on
17
+ [Centos](https://www.digitalocean.com/community/tutorials/how-to-install-ruby-on-rails-with-rbenv-on-centos-7)
18
+ [Debian](https://www.digitalocean.com/community/tutorials/how-to-install-ruby-on-rails-with-rvm-on-debian-8)
19
+ [Ubuntu](https://gorails.com/setup/ubuntu/16.04))
20
+
16
21
  **Perform this and following steps logged as root user.**
17
22
 
18
23
  ```
@@ -212,7 +217,7 @@ rake test
212
217
  Run sys_watchdog tests:
213
218
 
214
219
  ```
215
- ./bin/sys_watchdog test
220
+ ruby -Ilib/ bin/sys_watchdog test
216
221
  ```
217
222
 
218
223
  Send a PR and win a merge! Its free ;)
@@ -1,3 +1,3 @@
1
1
  module SysWatchdogVersion
2
- VERSION = "0.1.18".freeze
2
+ VERSION = "0.1.19".freeze
3
3
  end
@@ -84,10 +84,10 @@ class WdTest
84
84
  elsif @expected_max
85
85
  output.to_f <= @expected_max
86
86
  elsif @expected_min
87
- output.to_f <= @expected_min
87
+ output.to_f >= @expected_min
88
88
  else
89
89
  exitstatus == 0
90
90
  end
91
91
  !!success
92
92
  end
93
- end
93
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sys_watchdog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.18
4
+ version: 0.1.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Lobato
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-20 00:00:00.000000000 Z
11
+ date: 2017-06-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mail