sensu-plugins-http 2.8.1 → 2.8.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
  SHA256:
3
- metadata.gz: 8e03ef72ab14b7f7a93a10c52cb7ead9d2500647488d1bcc6995ce9d93e30821
4
- data.tar.gz: 4d34a2e7756ba91bd4e12f827627e71841c4775447414c0c6d9c6945385c4844
3
+ metadata.gz: 5f02860fe2659d64cefcdaa75867ca0e79021982d6273da3fb08595936ab0a0f
4
+ data.tar.gz: 1f3a6fb949128a57e1aa5f4de067fd3d6033cc76d3793c6496db7bebe8890078
5
5
  SHA512:
6
- metadata.gz: b90771c763a8f96302c405538017cf8e0c34dfdf8a0f5f4401700caf9b8907d5f748c2bdf608a0c4eb875a459ba8795122ced7f12d9c69cb6fe5ebe0d23e5af0
7
- data.tar.gz: 9c1652f1423ad96a20c36c925a51719e39c96a98df649e3fd4d7fcb70a1cd37df3ff69b16f4c7adcbbfca2b754d9eda28f95555b89600581f91bdc8e2cdeb773
6
+ metadata.gz: aa6ede25c1712143cf4c1e3745bc48c48d1453883f31735b1000386897668f52d16958b3ae747abe147a0498f43cc8510f7406b6886360a2b88f4eba33aed786
7
+ data.tar.gz: 3b4d86dc21f5296491406b51094980006a847a610d28802a951b19cab361e83e52a00693d66c1d86a7c67e2c7e4d9c4a780b63a886acc73d8c08feeda2916130
data/CHANGELOG.md CHANGED
@@ -5,14 +5,21 @@ This CHANGELOG follows the format listed [here](https://github.com/sensu-plugins
5
5
 
6
6
  ## [Unreleased]
7
7
 
8
- ## [2.8.1] 2018-03-07
8
+ ## [2.8.2] - 2018-03-13
9
+ ### Fixed
10
+ - most of the scripts failed when `# frozen_string_literal: true` was set because `mixlib-cli` does not support this. This reverts the old behavior in the checks but leaves libs which were unaffected alone (@majormoses)
11
+
12
+ ### Added
13
+ - integration testing skel and added some tests (@majormoses)
14
+
15
+ ## [2.8.1] - 2018-03-07
9
16
  ### Security
10
17
  - updated rubocop dependency to `~> 0.51.0` per: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-8418. (@majormoses)
11
18
 
12
19
  ### Changed
13
20
  - appeased the cops, updated cop config, and created TODOs for refactoring (@majormoses)
14
21
 
15
- ## [2.8.0] 2018-02-17
22
+ ## [2.8.0] - 2018-02-17
16
23
  ### Added
17
24
  - Add new options `--dump-json` to dump json response on failure when enable. default: false (@jplindquist)
18
25
  - Add new `--pretty` option for pretty format json response when `--dump-json` is enabled. default: false (@jplindquist)
@@ -170,7 +177,8 @@ This CHANGELOG follows the format listed [here](https://github.com/sensu-plugins
170
177
  ### Added
171
178
  - Initial release
172
179
 
173
- [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-http/compare/2.8.1...HEAD
180
+ [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-http/compare/2.8.2...HEAD
181
+ [2.8.2]: https://github.com/sensu-plugins/sensu-plugins-http/compare/2.8.1...2.8.2
174
182
  [2.8.1]: https://github.com/sensu-plugins/sensu-plugins-http/compare/2.8.0...2.8.1
175
183
  [2.8.0]: https://github.com/sensu-plugins/sensu-plugins-http/compare/2.7.0...2.8.0
176
184
  [2.7.0]: https://github.com/sensu-plugins/sensu-plugins-http/compare/2.6.0...2.7.0
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
- # frozen_string_literal: true
2
+ # frozen_string_literal: false
3
3
 
4
4
  #
5
5
  # check-head-redirect
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
- # frozen_string_literal: true
2
+ # frozen_string_literal: false
3
3
 
4
4
  #
5
5
  # check-http-cors
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
- # frozen_string_literal: true
2
+ # frozen_string_literal: false
3
3
 
4
4
  #
5
5
  # check-http-json
data/bin/check-http.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
- # frozen_string_literal: true
2
+ # frozen_string_literal: false
3
3
 
4
4
  #
5
5
  # check-http
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
- # frozen_string_literal: true
2
+ # frozen_string_literal: false
3
3
 
4
4
  #
5
5
  # check-https-cert
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
- # frozen_string_literal: true
2
+ # frozen_string_literal: false
3
3
 
4
4
  #
5
5
  # check-fleet-units
data/bin/metrics-curl.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
- # frozen_string_literal: true
2
+ # frozen_string_literal: false
3
3
 
4
4
  #
5
5
  # metrics-curl
@@ -1,5 +1,5 @@
1
1
  #! /usr/bin/env ruby
2
- # frozen_string_literal: true
2
+ # frozen_string_literal: false
3
3
 
4
4
  #
5
5
  # metrics-http-json-deep
@@ -1,5 +1,5 @@
1
1
  #! /usr/bin/env ruby
2
- # frozen_string_literal: true
2
+ # frozen_string_literal: false
3
3
 
4
4
  # metrics-http-json.rb
5
5
  #
@@ -4,7 +4,7 @@ module SensuPluginsHttp
4
4
  module Version
5
5
  MAJOR = 2
6
6
  MINOR = 8
7
- PATCH = 1
7
+ PATCH = 2
8
8
 
9
9
  VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
10
10
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sensu-plugins-http
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.8.1
4
+ version: 2.8.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: 2018-03-07 00:00:00.000000000 Z
11
+ date: 2018-03-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sensu-plugin
@@ -108,6 +108,20 @@ dependencies:
108
108
  - - "<"
109
109
  - !ruby/object:Gem::Version
110
110
  version: 2.0.0
111
+ - !ruby/object:Gem::Dependency
112
+ name: kitchen-docker
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: '2.6'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: '2.6'
111
125
  - !ruby/object:Gem::Dependency
112
126
  name: kitchen-localhost
113
127
  requirement: !ruby/object:Gem::Requirement