sensu-plugins-haproxy 2.0.1 → 2.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
  SHA256:
3
- metadata.gz: 5bb6f52941b1dd0829f443823298d847dad410c6863b47d03f4df2fa15ed27ad
4
- data.tar.gz: b7d8333592983bf5834f481bd055568b68f052d9ac0f3be497a94074ae8e90de
3
+ metadata.gz: 957f34325be952bcf0e1bfb980fa3f25ed67edd23d66bcbf0ed15c25a5c3d2b8
4
+ data.tar.gz: 00ff920d91777118af5392344d26f7f465dba5443dc6be951fd38ff63ce5858d
5
5
  SHA512:
6
- metadata.gz: 987a50e071f3257b026d3d30e4bc8e9faa0ec17592b7034ca87be6f57dbfa919ce22f6e160cf474e1c42983dedd92fccf8abdbb9df3f382b3339f1c1f43bc6d2
7
- data.tar.gz: 05be677a49ce63296d43990150de15774f94a9f678a3c85c021d5097dcdc87c241f55e46bf302677b23e92eab6699796fc6b911608e4a781786079b31ab5c778
6
+ metadata.gz: b9b6cc38278007eb3d4f477730ebe810fddc2470e09d1a5d5d8214b788c3475977dff6e06819bf8a1aa25505d6ef2dd1177e0c5e74a740d42b780c33216d068a
7
+ data.tar.gz: 3d8ec6d41fcc4733ccf0947b4e05bd55350e0a220f4a09fe5a2ce4e62933488b59b433fdd0f5513486be58b31963a3832b591e57162f640ac282ebe3d079c954
@@ -7,6 +7,11 @@ Which is based on [Keep A Changelog](http://keepachangelog.com/)
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [2.0.2] - 2020-03-09
11
+
12
+ ### Changed
13
+ - Fixed frozen_string_literal issues
14
+
10
15
  ## [2.0.1] - 2020-03-06
11
16
 
12
17
  ### Changed
@@ -100,7 +105,8 @@ Which is based on [Keep A Changelog](http://keepachangelog.com/)
100
105
  ### Added
101
106
  - initial release
102
107
 
103
- [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-haproxy/compare/2.0.1...HEAD
108
+ [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-haproxy/compare/2.0.2...HEAD
109
+ [2.0.2]:https://github.com/sensu-plugins/sensu-plugins-haproxy/compare/2.0.1...2.0.2
104
110
  [2.0.1]:https://github.com/sensu-plugins/sensu-plugins-haproxy/compare/2.0.0...2.0.1
105
111
  [2.0.0]:https://github.com/sensu-plugins/sensu-plugins-haproxy/compare/1.4.0...2.0.0
106
112
  [1.4.0]:https://github.com/sensu-plugins/sensu-plugins-haproxy/compare/1.3.0...1.4.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-haproxy.rb
@@ -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-haproxy.rb
@@ -39,10 +39,10 @@ class HAProxyMetrics < Sensu::Plugin::Metric::CLI::Graphite
39
39
  # Check http://cbonte.github.io/haproxy-dconv/1.7/management.html#9.1 for
40
40
  # haproxy stats CSV format.
41
41
 
42
- TYPE_FRONTEND = '0'
43
- TYPE_BACKEND = '1'
44
- TYPE_SERVER = '2'
45
- TYPE_LISTENER = '3'
42
+ TYPE_FRONTEND = '0'.freeze
43
+ TYPE_BACKEND = '1'.freeze
44
+ TYPE_SERVER = '2'.freeze
45
+ TYPE_LISTENER = '3'.freeze
46
46
  # All fields are listed here for ease of long term maintenance.
47
47
  # Format: field_index => %w(haproxy-name friendly-name)
48
48
  CSV_FIELDS = {
@@ -4,7 +4,7 @@ module SensuPluginsHAProxy
4
4
  module Version
5
5
  MAJOR = 2
6
6
  MINOR = 0
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-haproxy
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.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: 2020-03-06 00:00:00.000000000 Z
11
+ date: 2020-03-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sensu-plugin