sensu-plugins-network-interface 0.1.4 → 0.1.5

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: a9df281e905ea0881d3db6754b1f69db6c56bbcf
4
- data.tar.gz: 59f0f9d9f364b74e7406d6e9dddd49af101a9201
3
+ metadata.gz: 7f94718b438b707a03a7da135019a1bbd4fd2ecc
4
+ data.tar.gz: df97414807339c594d5e7c22ee39b5de160876fb
5
5
  SHA512:
6
- metadata.gz: e48cdcc0e40760c5a41859fde1638829dddf41484de2c72d6b18aa70d164c9937459b031a5553ef769e8060aca9e55da4a34c23f8aa24e72400d28a1c5672f2b
7
- data.tar.gz: 621f255afd3d7b77ac9c08c6bbcf758d54c89d6d58a945db58e22c2a7ab9f36e1a0c0ccbba58eecf71563b2702d8e0d6522e7ddaef93622630f43ad29f186b6c
6
+ metadata.gz: 9052437bd91c72bb2aa7ab9f7a47d072fa84b9c8b4646b964138f97cf4b72501b91fcd33e04ef07202b14bbe7624625f0538fa324c36ad2a4746fb9a8170b128
7
+ data.tar.gz: 45ac7497bc63c04450ec97271ec1c24ad61f43632bc6afce88c2a4ab388dbf76607024509dc8a337cc8d1c8ccdbaa2043d80f39e7a77b39edced31d0e689218a
data/CHANGELOG.md CHANGED
@@ -5,6 +5,10 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
5
5
 
6
6
  ## Unreleased
7
7
 
8
+ ## [0.1.5] - 2015-12-29
9
+ ### Added
10
+ - Fixed typo
11
+
8
12
  ## [0.1.4] - 2015-12-29
9
13
  ### Added
10
14
  - Added ifcfg-<interface> support
@@ -218,7 +218,7 @@ class CheckNetworkInterface < Sensu::Plugin::Check::CLI
218
218
  check_name = "network-interface-#{interface}-#{metric}"
219
219
 
220
220
  if value != nil
221
- if interface_config.has_key(metric)
221
+ if interface_config.has_key?(metric)
222
222
  if value != interface_config[metric]
223
223
  msg = "Expected #{metric} #{interface_config[metric]} but found #{value} on #{interface}"
224
224
  if config[:warn]
@@ -2,7 +2,7 @@ module SensuPluginsNetworkInterface
2
2
  module Version
3
3
  MAJOR = 0
4
4
  MINOR = 1
5
- PATCH = 4
5
+ PATCH = 5
6
6
 
7
7
  VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sensu-plugins-network-interface
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matteo Cerutti