active_record_shards 2.5.2 → 2.5.3
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.
- data/lib/active_record_shards.rb +2 -0
- data/lib/active_record_shards/association_collection_connection_selection.rb +22 -4
- data/lib/active_record_shards/connection_switcher.rb +40 -9
- data/lib/active_record_shards/finder_overrides.rb +29 -0
- data/lib/active_record_shards/model.rb +8 -0
- data/test/connection_switching_test.rb +38 -1
- data/test/test.log +9627 -80022
- metadata +6 -5
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: active_record_shards
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 29
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 2
|
|
8
8
|
- 5
|
|
9
|
-
-
|
|
10
|
-
version: 2.5.
|
|
9
|
+
- 3
|
|
10
|
+
version: 2.5.3
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Mick Staugaard
|
|
@@ -17,7 +17,7 @@ autorequire:
|
|
|
17
17
|
bindir: bin
|
|
18
18
|
cert_chain: []
|
|
19
19
|
|
|
20
|
-
date:
|
|
20
|
+
date: 2012-01-04 00:00:00 -08:00
|
|
21
21
|
default_executable:
|
|
22
22
|
dependencies:
|
|
23
23
|
- !ruby/object:Gem::Dependency
|
|
@@ -129,6 +129,7 @@ files:
|
|
|
129
129
|
- lib/active_record_shards/configuration_parser.rb
|
|
130
130
|
- lib/active_record_shards/connection_pool.rb
|
|
131
131
|
- lib/active_record_shards/connection_switcher.rb
|
|
132
|
+
- lib/active_record_shards/finder_overrides.rb
|
|
132
133
|
- lib/active_record_shards/migration.rb
|
|
133
134
|
- lib/active_record_shards/model.rb
|
|
134
135
|
- lib/active_record_shards/shard_selection.rb
|
|
@@ -178,7 +179,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
178
179
|
requirements: []
|
|
179
180
|
|
|
180
181
|
rubyforge_project:
|
|
181
|
-
rubygems_version: 1.5.
|
|
182
|
+
rubygems_version: 1.5.2
|
|
182
183
|
signing_key:
|
|
183
184
|
specification_version: 3
|
|
184
185
|
summary: Simple database switching for ActiveRecord.
|