sensu-plugins-dns 1.2.1 → 1.2.2

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: a9b625a7ffd03971e668c3adf1f53e60e0d54cb0
4
- data.tar.gz: 922eb51f737e5d077af7b9ed4ed0a3c436d2103b
3
+ metadata.gz: 04de69f62fceffef428d0dbfd808175c3345cc3f
4
+ data.tar.gz: e6e603aacc565fabbe5f0226ba73d07601dae498
5
5
  SHA512:
6
- metadata.gz: 585d972924649d10074e8d10792d83da1918c27cc5f93cbb1aef221aad0e090afead10eee978895c5126369170a80ba9892421995d18937f962c2b435ae07937
7
- data.tar.gz: c7cdd2dedd3bd9e1707b47fb0faaeadbcf4673a8da8d8037eb4bfb5a5f3e402ad06dc01934c950ff0ba953064e2029d2714982252242f28a84c056d6445dc2bd
6
+ metadata.gz: da571571bc2abc66d212f9f69d9a3df7da2356308be9daf2038d7cc0deaace3a4f0e44484a90f7b3a8c306ff47efbad5efdbeab44dd6c9c40ec6fecff35be903
7
+ data.tar.gz: 137ece15b830e42740754e89b5ff173721c31448bdce91d2c1ecbe6b824c675ce0568176d973803ff8c5c6564a1be70e6fcef2917bf2f6cbf2594a1922e8ee0e
data/CHANGELOG.md CHANGED
@@ -4,12 +4,21 @@ This project adheres to [Semantic Versioning](http://semver.org/).
4
4
  This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachangelog.com/)
5
5
 
6
6
  ## [Unreleased]
7
+
8
+ ## [1.2.2] - 2017-07-15
9
+ ### Fixed
10
+ - check-dns.rb: fixed a bug reported in #23 regarding an undefined variable only triggered when using the `--validate` flag. (@majormoses)
11
+
12
+ ### Added
13
+ - Testing for Ruby 2.4.1
14
+ - Remove redundant testing code
15
+
7
16
  ## [1.2.1] - 2017-05-16
8
17
  ### Fixed
9
- - check-dns.rb: fixed a bug introduced in #15 as the input to check_ips changed. This bug only manifested itself when using the `-r || --result` options
18
+ - check-dns.rb: fixed a bug introduced in #15 as the input to check_ips changed. This bug only manifested itself when using the `-r || --result` options (@majormoses)
10
19
  ## [1.2.0] - 2017-05-16
11
20
  ### Added
12
- - Add support for making multiple requests, with a threshold for success
21
+ - Add support for making multiple requests, with a threshold for success (@johanek)
13
22
 
14
23
  ## [1.1.0]
15
24
  ### Added
@@ -56,7 +65,8 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
56
65
  ### Changed
57
66
  - removed cruft from /lib
58
67
 
59
- [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-dns/compare/1.2.0...HEAD
68
+ [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-dns/compare/1.2.1...HEAD
69
+ [1.2.1]: https://github.com/sensu-plugins/sensu-plugins-dns/compare/1.2.0...1/1.2.1
60
70
  [1.2.0]: https://github.com/sensu-plugins/sensu-plugins-dns/compare/1.1.0...1/1.2
61
71
  [1.1.0]: https://github.com/sensu-plugins/sensu-plugins-dns/compare/1.0.0...1/1.0
62
72
  [1.0.0]: https://github.com/sensu-plugins/sensu-plugins-dns/compare/0.0.6...1.0.0
data/bin/check-dns.rb CHANGED
@@ -201,7 +201,7 @@ class DNS < Sensu::Plugin::Check::CLI
201
201
 
202
202
  elsif config[:validate]
203
203
  if entry.security_level != 'SECURE'
204
- error << "Resolved #{entry.security_level} #{config[:domain]} #{config[:type]}"
204
+ errors << "Resolved #{entry.security_level} #{config[:domain]} #{config[:type]}"
205
205
  end
206
206
  success << "Resolved #{entry.security_level} #{config[:domain]} #{config[:type]}"
207
207
  else
@@ -2,7 +2,7 @@ module SensuPluginsDNS
2
2
  module Version
3
3
  MAJOR = 1
4
4
  MINOR = 2
5
- PATCH = 1
5
+ PATCH = 2
6
6
 
7
7
  VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sensu-plugins-dns
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sensu Plugins and contributors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-16 00:00:00.000000000 Z
11
+ date: 2017-07-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sensu-plugin