sensu-plugins-mongodb 2.0.0 → 2.0.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
  SHA1:
3
- metadata.gz: 9cad86bbe4e2fdedb6747c2b06690be2a8cb66aa
4
- data.tar.gz: 90516b7d5df4b221fa7f93188822e13891607a1e
3
+ metadata.gz: 1701e1b7bac7b8804cc2d4557246db39202d6fc1
4
+ data.tar.gz: a6b969b2bb28cdeb5ee9ef608ca802e89d0d451a
5
5
  SHA512:
6
- metadata.gz: 38fc0323ac0f053ae14dde243f2f396c0b157719bf4e186e28ebfc94b2a146848cfebe918f8255d94d895d600e8fd1e37f8807e82381ce39dbe499d0cb493d15
7
- data.tar.gz: 30ef951a0b3ce86c0e9a23178593f21f1fb059c10640b90f1e709b665f7c0a8fd44c4f5c5e88d2cd2a05fadefbcb3548f61a6d9ae571b90cdcca6e4b90d97ff0
6
+ metadata.gz: f4b682c94845006aa4c06133a271f5d61566715b67cf9a4495f3413d26607c3d0bbe356bfb5cabfb1dfb4165d1def4b0e702c85ae354d4696debaf5c5421fea4
7
+ data.tar.gz: 83d158ebeb0dd995c61e7400b09c8a7b628c400f84c6a6ae67e71f67a295080c525c0d983841bb9b622164efea64134c04b7d4b8896d0b839b1767772399d9ab
@@ -5,6 +5,10 @@ This CHANGELOG follows the format located [here](https://github.com/sensu-plugin
5
5
 
6
6
  ## [Unreleased]
7
7
 
8
+ ## [2.0.1] - 2017-10-19
9
+ ### Fixed
10
+ - updating the read preferences for `2.2`-`2.8` pymongo clients (@urg)
11
+
8
12
  ## [2.0.0] - 2017-09-23
9
13
  ### Breaking Change
10
14
  - bumped requirement of `sensu-plugin` [to 2.0](https://github.com/sensu-plugins/sensu-plugin/blob/master/CHANGELOG.md#v200---2017-03-29) (@majormoses)
@@ -121,7 +125,8 @@ This CHANGELOG follows the format located [here](https://github.com/sensu-plugin
121
125
  ### Added
122
126
  - initial release
123
127
 
124
- [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-mongodb/compare/2.0.0...HEAD
128
+ [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-mongodb/compare/2.0.1...HEAD
129
+ [2.0.1]: https://github.com/sensu-plugins/sensu-plugins-mongodb/compare/2.0.0...2.0.1
125
130
  [2.0.0]: https://github.com/sensu-plugins/sensu-plugins-mongodb/compare/1.4.1...2.0.0
126
131
  [1.4.1]: https://github.com/sensu-plugins/sensu-plugins-mongodb/compare/1.4.0...1.4.1
127
132
  [1.4.0]: https://github.com/sensu-plugins/sensu-plugins-mongodb/compare/1.3.0...1.4.0
@@ -331,7 +331,7 @@ def exit_with_general_critical(e):
331
331
 
332
332
 
333
333
  def set_read_preference(db):
334
- if pymongo.version >= "2.2":
334
+ if pymongo.version >= "2.2" and pymongo.version < "2.8":
335
335
  pymongo.read_preferences.Secondary
336
336
  else:
337
337
  db.read_preference = pymongo.ReadPreference.SECONDARY
@@ -2,7 +2,7 @@ module SensuPluginsMongoDB
2
2
  module Version
3
3
  MAJOR = 2
4
4
  MINOR = 0
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-mongodb
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.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: 2017-09-23 00:00:00.000000000 Z
11
+ date: 2017-10-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bson
@@ -231,7 +231,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
231
231
  version: '0'
232
232
  requirements: []
233
233
  rubyforge_project:
234
- rubygems_version: 2.6.13
234
+ rubygems_version: 2.6.14
235
235
  signing_key:
236
236
  specification_version: 4
237
237
  summary: Sensu plugins for mongodb