sumo-check-es 0.0.12 → 0.0.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +5 -5
  2. data/bin/sumo-check-snapshots.rb +1 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: eb6002b7bb543c0248f347773c5eda54b1c6a624
4
- data.tar.gz: 3c4dac0d25bd9bf13531b7272445955554ff4fae
2
+ SHA256:
3
+ metadata.gz: ea77f14c48f54110d632038a969bbb2e1a858618667e2c941244f2a3568e88dd
4
+ data.tar.gz: 0527f0e1d456caa373dd80b916f3ce28daf7e8e37a125cf55bde307c52aece52
5
5
  SHA512:
6
- metadata.gz: 1b1af89486529f39e8e97cff779cbb5274efb100405dd8329696106af144651ec5617d838c01c6fcb107f4823925f11a94fea696a43b122ece8e11a392a3cad1
7
- data.tar.gz: 18c7912fe574103cc5e0d0ebace3a78827b9d239e16e3cef511cfd2d7acd5a1d48c9e4e9c7bf980347ebb9610aa6080760a546cb88f492667e10526d3c670ed6
6
+ metadata.gz: c3cba41daea939d6f03f880350198b22bc045c34eb1bd7c9d28909dcbb7cda75cf6f46d744bdb9c85d9b61e769ef35059dd15698eeeeaba60b94f5543ae7d2d5
7
+ data.tar.gz: 32f023208d4b2c45f2016e93e9eb465cfc7b2cc6f9ca7215a4415d2df54cd5efbd376af24f279f15f3636d6e061bb06de4185f86f30948691d2041bd3e7b15c6
@@ -72,7 +72,7 @@ class SensuCheckSnapshotStatus < Sensu::Plugin::Check::CLI
72
72
  end
73
73
  end
74
74
 
75
- if !data["body"]["snapshots"].length.between?(config[:min_num_snapshots],config[:max_num_snapshots])
75
+ if !data["body"]["snapshots"].length.between?(config[:min_num_snapshots].to_i,config[:max_num_snapshots].to_i)
76
76
  error_msgs.push("snapshot count at #{data["body"]["snapshots"].length} is outside of allowed range of #{config[:min_num_snapshots]} to #{config[:max_num_snapshots]}")
77
77
  end
78
78
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sumo-check-es
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.12
4
+ version: 0.0.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dr. Ogg
@@ -145,7 +145,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
145
145
  version: '0'
146
146
  requirements: []
147
147
  rubyforge_project:
148
- rubygems_version: 2.6.13
148
+ rubygems_version: 2.7.6.2
149
149
  signing_key:
150
150
  specification_version: 4
151
151
  summary: Sumo Sensu gem for elasticsearch checks