bipbip 0.6.14 → 0.6.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bipbip/plugin/mongodb.rb +2 -1
- data/lib/bipbip/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 82726bcc5fd6f624a877613fb5d4bb8cd2e1acb6
|
4
|
+
data.tar.gz: 03b9759e811c865c7ae51996400f727e69b934c8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 46efabceaf1e0745e5b4a2cf06ba95a73fb750aeab3d0ace00aae45123b9e962c5327c89e40897c7fef8e912af60f91cbc01916b498a1f034dcb9c9747772407
|
7
|
+
data.tar.gz: 7d03c641db315a6c69f57c866ee03b6a1ae86e6a03b10763b5c2557b7e290c81b069eea66ece0be14b8a477c3a36b833f1bdb35104b812d73782a9f24da6db02
|
@@ -77,7 +77,8 @@ module Bipbip
|
|
77
77
|
# @return [Mongo::Client]
|
78
78
|
def mongodb_client
|
79
79
|
options = {
|
80
|
-
socket_timeout: 2
|
80
|
+
socket_timeout: 2,
|
81
|
+
connect: :direct
|
81
82
|
}.merge(config)
|
82
83
|
options = Hash[options.map { |(k, v)| [k.to_sym, v] }]
|
83
84
|
@mongodb_client ||= Mongo::Client.new([options[:hostname] + ':' + options[:port].to_s], options)
|
data/lib/bipbip/version.rb
CHANGED