sequel-schema-sharding 0.6.2 → 0.7.0
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1c82ff954b22155d4bdc05db1c040bf5f8ebde10
|
4
|
+
data.tar.gz: b33a6e5262df83a7a73e0ffb6081be808d6281a0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 60e70fedb033a93d30c75942d6fa88bafd0b41f5b3d2581b5d8d15241e8419edd3781dd8891ee8999f07361891a1e5aa1ad1ee401168421d261dcaff3b53280a
|
7
|
+
data.tar.gz: d09661e5c5be6f3db41f996eda151b161ecd98cc38e07a4eb44b45e45160c8c2c86d7cc73123f413635a485000ebaf7aac9e78c2e6f0b8e84dc5f237a6709a97
|
@@ -1,4 +1,5 @@
|
|
1
1
|
require 'singleton'
|
2
|
+
require 'sequel-replica-failover'
|
2
3
|
|
3
4
|
module Sequel
|
4
5
|
module SchemaSharding
|
@@ -66,7 +67,10 @@ module Sequel
|
|
66
67
|
:database => config['database'],
|
67
68
|
:port => config['port'],
|
68
69
|
:single_threaded => true,
|
69
|
-
:loggers => [Sequel::SchemaSharding::LoggerProxy.new]
|
70
|
+
:loggers => [Sequel::SchemaSharding::LoggerProxy.new],
|
71
|
+
:pool_class => Sequel::ShardedSingleFailoverConnectionPool,
|
72
|
+
:pool_retry_count => 10,
|
73
|
+
:pool_stick_timeout => 30
|
70
74
|
}
|
71
75
|
end
|
72
76
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sequel-schema-sharding
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Paul Henry
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2013-
|
13
|
+
date: 2013-11-01 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: sequel
|
@@ -40,6 +40,20 @@ dependencies:
|
|
40
40
|
- - '>='
|
41
41
|
- !ruby/object:Gem::Version
|
42
42
|
version: '0'
|
43
|
+
- !ruby/object:Gem::Dependency
|
44
|
+
name: sequel-replica-failover
|
45
|
+
requirement: !ruby/object:Gem::Requirement
|
46
|
+
requirements:
|
47
|
+
- - '>='
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: '0'
|
50
|
+
type: :runtime
|
51
|
+
prerelease: false
|
52
|
+
version_requirements: !ruby/object:Gem::Requirement
|
53
|
+
requirements:
|
54
|
+
- - '>='
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: '0'
|
43
57
|
- !ruby/object:Gem::Dependency
|
44
58
|
name: bundler
|
45
59
|
requirement: !ruby/object:Gem::Requirement
|
@@ -138,7 +152,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
138
152
|
version: '0'
|
139
153
|
requirements: []
|
140
154
|
rubyforge_project:
|
141
|
-
rubygems_version: 2.0.
|
155
|
+
rubygems_version: 2.0.7
|
142
156
|
signing_key:
|
143
157
|
specification_version: 4
|
144
158
|
summary: Create horizontally sharded Sequel models with Postgres
|