sensu-plugins-postgres 2.3.0 → 2.3.1

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
  SHA256:
3
- metadata.gz: 763790612d89bde8df6bed957f51c4b62fed9b0275efbb1d8021ede5a2302bc0
4
- data.tar.gz: 7a7201d9f5574cc4dd304226f2484810a2c1024b709f8de310c8417b7d22b6fa
3
+ metadata.gz: 81d24e9ab393e0ef90085644a3edb9d44cb67c3675bb43c8c4554bc7e9446c23
4
+ data.tar.gz: 6d923e1508cbb8dc14f364d9e3bf8b5953ae2e2853d015734f61b15e368d70c5
5
5
  SHA512:
6
- metadata.gz: 9573ff56ddf073e4418ad0f2a5a0ab3ebdcb974d08b62d5163b3b32729fc8bf965911ee80cbbade49b9bb5e4c847d4d00dd680b84a9c844a13c152248cc85c17
7
- data.tar.gz: 0440dd6a2b23946fbabc6c9014e678b730b992790eda9b4e26ca5290d169ab0bc674f5777b8f391663c79f43ace60b4990a94c69291fe540e2d4091c3c2a76e1
6
+ metadata.gz: 8fc5073d3a9161abaf35b6b2f80fe53848f08f28fa6743d3740db6ba8c4a33cbe0bd97d2f2bed39ef07dae69e121b0185d969544086de53acabe631cd2aa4bdd
7
+ data.tar.gz: ba0ec9b5ed4c3b0a91e4aa11794985269ce7c82eda72b95c4781dba813fa7db5665312a3f6f8f82dd16ef12a0a89e4501a3ba6d6428031ee274e651667a3e84d
data/CHANGELOG.md CHANGED
@@ -5,6 +5,10 @@ This CHANGELOG follows the format listed [here](https://github.com/sensu-plugins
5
5
 
6
6
  ## [Unreleased]
7
7
 
8
+ ## [2.3.1] - 2018-12-16
9
+ ### Fixed
10
+ - metric-postgres-statsdb.rb: Change `Array` method from `append` to `push` to maintain compatibility w/ non-EOL Rubies (@phumpal)
11
+
8
12
  ## [2.3.0] - 2018-12-08
9
13
  ### Added
10
14
  - metric-postgres-statsdb.rb: Add --all-databases option. (@cyrilgdn)
@@ -170,7 +174,8 @@ This CHANGELOG follows the format listed [here](https://github.com/sensu-plugins
170
174
  ### Added
171
175
  - initial release
172
176
 
173
- [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-postgres/compare/2.3.0...HEAD
177
+ [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-postgres/compare/2.3.1...HEAD
178
+ [2.3.1]: https://github.com/sensu-plugins/sensu-plugins-postgres/compare/2.3.0...2.3.1
174
179
  [2.3.0]: https://github.com/sensu-plugins/sensu-plugins-postgres/compare/2.2.2...2.3.0
175
180
  [2.2.2]: https://github.com/sensu-plugins/sensu-plugins-postgres/compare/2.2.1...2.2.2
176
181
  [2.2.1]: https://github.com/sensu-plugins/sensu-plugins-postgres/compare/2.2.0...2.2.1
@@ -101,7 +101,7 @@ class PostgresStatsDBMetrics < Sensu::Plugin::Metric::CLI::Graphite
101
101
  params = []
102
102
  unless config[:all_databases]
103
103
  query += ' WHERE datname = $1'
104
- params.append config[:database]
104
+ params.push config[:database]
105
105
  end
106
106
 
107
107
  con.exec_params(query, params) do |result|
@@ -2,7 +2,7 @@ module SensuPluginsPostgres
2
2
  module Version
3
3
  MAJOR = 2
4
4
  MINOR = 3
5
- PATCH = 0
5
+ PATCH = 1
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-postgres
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.0
4
+ version: 2.3.1
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-12-08 00:00:00.000000000 Z
11
+ date: 2018-12-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sensu-plugin