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 +4 -4
- data/lib/mongo_ha/version.rb +1 -1
- data/lib/mongo_ha.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b617f8e58db70185d6a4b4ab5a7aa93282277608
|
|
4
|
+
data.tar.gz: cc0819d7487ddcf0932fffe261717a1137f62992
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 79cf36150ecdc748ebf57f3a880efd0992786170a83250f4661c374ad32e95348fdf7d388121178de849a6ef27d1e514f9b85db896d0481a00f3d9918fa17700
|
|
7
|
+
data.tar.gz: 03d239f03609efc0c8743286b3ae728f1493209a294d5db286c465465e7c235d9852c342dc4085e188a227e5510964461cfbf3769253f1601bfd1cba0f5ec984
|
data/lib/mongo_ha/version.rb
CHANGED
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
|
|
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
|
|
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.
|
|
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-
|
|
11
|
+
date: 2015-01-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: mongo
|