hq-grapher-icinga-perfdata 0.0.1 → 0.0.2

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 04a2cfa4cbe383a9966e93eb67a42984344dd2ee
4
- data.tar.gz: 5175caa86b070f36de2f6b2209a82b305c242122
3
+ metadata.gz: 94e1914febc5bf7eb434e9a634476d59ff90ad58
4
+ data.tar.gz: 80ffd42a36dc9ec3687ddb8943e32c5bb772e5a6
5
5
  SHA512:
6
- metadata.gz: 1c6a8304e0ee78534b71983763d02aeaf2c9ea5ea0b3fafe15135ad10436ab28778ea487ff8b9eadc586693b66a236c3d306e7f8581c19cdc13407eff83ce157
7
- data.tar.gz: 6e8b12d69bd66915be647b8b165f75f09a7d2920afa1498f4bd0c649a39ce164003045595a349a97327f1bed9cb9667705f85afed187021f3da47c284db0d73e
6
+ metadata.gz: c416b9758de0a37597a05b45885c3d392c75ba5dae9105e1e439ecb5aae08794382d70db54948a26c0786cd59238f04c8e605b57d470e77f90e9ed006c6fe3e8
7
+ data.tar.gz: 619ed6de4fa96ec8bfa5d283d01aa15150aecaa3e6576f2c206a7003e227f3e422d2936d13bc885356020f654d560126caa6cbb8b65bf5316ec960374133584f
@@ -15,7 +15,7 @@ When /^I run hq-grapher-icinga-perfdata "(.*?)"$/ do
15
15
  @script.args = Shellwords.split args_string
16
16
 
17
17
  @rrd_updates = []
18
- RRD.stub(:update) do
18
+ RRD::Wrapper.stub(:update) do
19
19
  |*args|
20
20
  @rrd_updates << args.join(" ")
21
21
  end
@@ -98,7 +98,7 @@ class Script
98
98
 
99
99
  next unless mapping
100
100
 
101
- RRD.update \
101
+ RRD::Wrapper.update \
102
102
  "--daemon",
103
103
  "%s:%s" % [
104
104
  @daemon_elem["host"],
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hq-grapher-icinga-perfdata
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Pharaoh