watchmonkey_cli 1.8.5 → 1.8.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
  SHA256:
3
- metadata.gz: 99a845d5e5c412d2d5ba8390da8fa82f8a884fd1983248f5f849481099e09ee6
4
- data.tar.gz: 46ff54c844d4be91ddd8552bcc5dfa9e6b2dca89edd3e02617a772a61e328184
3
+ metadata.gz: e09e63f24adaddb414b1ea48abba94eb033c936fc1bce9fb91034d1c093a114e
4
+ data.tar.gz: d7e21611725755bdfd7070e7f62ca9876b26e20715f4188aeaf8569a3a76038d
5
5
  SHA512:
6
- metadata.gz: fed65583c4e0c6fb3d243bdce9f9ad583f4305005548358cdb5afe648e68358c4310562edca5ab69537111226da449780f4c5a9a862fe726b46a19130409131d
7
- data.tar.gz: 8032cc0c6540ce248404b9d5d7368010149549539d9224fc0818dbcffb4f2ca8670caeb0297248e2d3af9027d0e282200765ef14027f40488f80f37875c2651a
6
+ metadata.gz: 1d17888482567dc61e020f3df98d1f5c9a47975061fc8857995d5952f55906e4124fdd473e647b09850dd9f2d0ac55f10ccb13eeaef1882f6c1af7888f59ae8d
7
+ data.tar.gz: 61fcec9947771cc762260d89b2daa7807faba2f6e7f834ae287878893f37cb6304601f893f8edf7a41da96125b4f01082400a89539c3a907f27a53cdea9a470e
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.8.5
1
+ 1.8.6
@@ -46,7 +46,7 @@ module WatchmonkeyCli
46
46
  # value cast
47
47
  val = false if %w[no No].include?(val)
48
48
  val = true if %w[yes Yes].include?(val)
49
- val = val.to_i if val =~ /^\d+$/
49
+ val = val.to_i if val.to_s =~ /^\d+$/
50
50
 
51
51
  r[key] = val
52
52
  end
@@ -20,13 +20,6 @@ module WatchmonkeyCli
20
20
  emsg << "load5 is to high (limit5 is #{opts[:limits][1]}, load5 is #{ld[1]})" if ld[1] > opts[:limits][1]
21
21
  emsg << "load15 is to high (limit15 is #{opts[:limits][2]}, load15 is #{ld[2]})" if ld[2] > opts[:limits][2]
22
22
  result.error!(emsg.join("\n\t")) if emsg.any?
23
-
24
- # plotter support
25
- app.fire :plotter_push, self, host, {
26
- load1: ld[0], limit1: opts[:limits][0],
27
- load5: ld[1], limit5: opts[:limits][1],
28
- load15: ld[2], limit15: opts[:limits][2],
29
- }
30
23
  end
31
24
 
32
25
  def _parse_response res
@@ -1,4 +1,4 @@
1
1
  module WatchmonkeyCli
2
- VERSION = "1.8.5"
2
+ VERSION = "1.8.6"
3
3
  UPDATE_URL = "https://raw.githubusercontent.com/2called-chaos/watchmonkey_cli/master/VERSION"
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: watchmonkey_cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.5
4
+ version: 1.8.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sven Pachnit
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-11-30 00:00:00.000000000 Z
11
+ date: 2020-01-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -162,8 +162,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
162
162
  - !ruby/object:Gem::Version
163
163
  version: '0'
164
164
  requirements: []
165
- rubyforge_project:
166
- rubygems_version: 2.7.6
165
+ rubygems_version: 3.1.2
167
166
  signing_key:
168
167
  specification_version: 4
169
168
  summary: Watchmonkey CLI - dead simple agentless monitoring via SSH, HTTP, FTP, etc.