mongo_ha 1.11.0 → 1.11.1

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
  SHA1:
3
- metadata.gz: c4aa81772c8c5cd34ccff8300c4dcac2f74f4626
4
- data.tar.gz: 6b663baa042cb9af89ea6fe6707b3af0e0af0a3a
3
+ metadata.gz: b617f8e58db70185d6a4b4ab5a7aa93282277608
4
+ data.tar.gz: cc0819d7487ddcf0932fffe261717a1137f62992
5
5
  SHA512:
6
- metadata.gz: aa0d2d6f0ff144023e1126863f5630a38afb51cc4164e5938a3dde0251aad517626b44561896dca1c05f3ebec1b7976a582260a981dfb02fb0023157b9a8f6af
7
- data.tar.gz: 766b15cde4551b05a6e0936626a34f26e8178fc1ef16fa5267823491d101eb800bbc63371cb16b76b85598e02dc9b954d4de41c1acd52bcf76d519df1a6c8333
6
+ metadata.gz: 79cf36150ecdc748ebf57f3a880efd0992786170a83250f4661c374ad32e95348fdf7d388121178de849a6ef27d1e514f9b85db896d0481a00f3d9918fa17700
7
+ data.tar.gz: 03d239f03609efc0c8743286b3ae728f1493209a294d5db286c465465e7c235d9852c342dc4085e188a227e5510964461cfbf3769253f1601bfd1cba0f5ec984
@@ -1,3 +1,3 @@
1
1
  module MongoHA #:nodoc
2
- VERSION = "1.11.0"
2
+ VERSION = "1.11.1"
3
3
  end
data/lib/mongo_ha.rb CHANGED
@@ -11,11 +11,11 @@ if defined?(SemanticLogger)
11
11
  end
12
12
 
13
13
  # Add in retry methods
14
- Mongo::MongoClient.include(MongoHA::MongoClient::InstanceMethods)
14
+ Mongo::MongoClient.send(:include, MongoHA::MongoClient::InstanceMethods)
15
15
 
16
16
  # Ensure connection is checked back into the pool when exceptions are thrown
17
17
  # The following line is no longer required with Mongo V1.12 and above
18
- Mongo::Networking.include(MongoHA::Networking::InstanceMethods)
18
+ Mongo::Networking.send(:include, MongoHA::Networking::InstanceMethods)
19
19
 
20
20
  # Wrap critical Mongo methods with retry_on_connection_failure
21
21
  {
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongo_ha
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.11.0
4
+ version: 1.11.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Reid Morrison
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-16 00:00:00.000000000 Z
11
+ date: 2015-01-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mongo