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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8b64ddee8beb29b9234b8521ccec9db1195b806c
4
- data.tar.gz: bc468a45a4bc15d8c13ed8857b7c4b6c8fe35aaa
3
+ metadata.gz: 82726bcc5fd6f624a877613fb5d4bb8cd2e1acb6
4
+ data.tar.gz: 03b9759e811c865c7ae51996400f727e69b934c8
5
5
  SHA512:
6
- metadata.gz: 32a14eb70ca91df151b0e4508b939693e49130e84f041bec82176cc70d413ab77ba787b8442ebdeb6c7748bad35b6099fe1ade0ce836b18d674c001f2b88c010
7
- data.tar.gz: fbbe050904eaab0d09b3dceaf633bc563d8842010670e98a423f5af08e47fcee5bf428caa2e68eefafddb52660ff10e339eb9736ce7593beb5646a00ae8c571b
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)
@@ -1,3 +1,3 @@
1
1
  module Bipbip
2
- VERSION = '0.6.14'.freeze
2
+ VERSION = '0.6.15'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bipbip
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.14
4
+ version: 0.6.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cargo Media