activerecord-turntable 2.3.0 → 2.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -0
- data/CHANGELOG.md +6 -0
- data/README.md +1 -1
- data/gemfiles/rails4_0.gemfile +4 -3
- data/gemfiles/rails4_1.gemfile +4 -3
- data/gemfiles/rails4_2.gemfile +4 -3
- data/lib/active_record/turntable/connection_proxy.rb +4 -0
- data/lib/active_record/turntable/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c9925e8594c361459fef18234ff7b4e15d712f5c
|
4
|
+
data.tar.gz: a8d958172d8917882fc7755956e8199179338fb7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d7689b939906852fd6218d0ce4168c3f55fcb10c817abbf07d910f32d3b7596cc9e3fa328061658b8396c2c624629679fa826791b97e409bede0f8533d176769
|
7
|
+
data.tar.gz: 5b9efb2e4302bdac577741f69d6290a4fd0facc30920d9c179efb0625741e07abc04f505b0ab6586405012cba0a3b0a266bfe0df3dc145ce4428c35c602640c9
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -47,7 +47,7 @@ Shard is a database which is horizontal partitioned.
|
|
47
47
|
|
48
48
|
### Cluster
|
49
49
|
|
50
|
-
Cluster of shards. i.e) set of userdb1, userdb2, userdb3
|
50
|
+
Cluster of shards. i.e) set of userdb1, userdb2, userdb3.
|
51
51
|
Shards in the same cluster should have the same schema structure.
|
52
52
|
|
53
53
|
### Master
|
data/gemfiles/rails4_0.gemfile
CHANGED
data/gemfiles/rails4_1.gemfile
CHANGED
data/gemfiles/rails4_2.gemfile
CHANGED
@@ -68,6 +68,10 @@ module ActiveRecord::Turntable
|
|
68
68
|
end
|
69
69
|
end
|
70
70
|
|
71
|
+
def respond_to_missing?(method, include_private = false)
|
72
|
+
connection.send(:respond_to?, method, include_private)
|
73
|
+
end
|
74
|
+
|
71
75
|
def to_sql(arel, binds = [])
|
72
76
|
master.connection.to_sql(arel, binds)
|
73
77
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activerecord-turntable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.3.
|
4
|
+
version: 2.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- gussan
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2016-02-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activerecord
|
@@ -471,7 +471,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
471
471
|
version: '0'
|
472
472
|
requirements: []
|
473
473
|
rubyforge_project: activerecord-turntable
|
474
|
-
rubygems_version: 2.
|
474
|
+
rubygems_version: 2.5.1
|
475
475
|
signing_key:
|
476
476
|
specification_version: 4
|
477
477
|
summary: ActiveRecord sharding extension
|