active_record_shards 2.5.10 → 2.6.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/active_record_shards.rb +10 -1
- data/lib/active_record_shards/configuration_parser.rb +1 -1
- data/lib/active_record_shards/connection_pool.rb +16 -4
- data/lib/active_record_shards/connection_specification.rb +15 -0
- data/lib/active_record_shards/connection_switcher.rb +20 -2
- data/lib/active_record_shards/tasks.rb +6 -2
- data/test/connection_switching_test.rb +31 -58
- data/test/helper.rb +0 -1
- data/test/schema.rb +23 -19
- data/test/test.log +100492 -0
- metadata +10 -11
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: 23
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 2
|
8
|
-
-
|
9
|
-
-
|
10
|
-
version: 2.
|
8
|
+
- 6
|
9
|
+
- 0
|
10
|
+
version: 2.6.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Mick Staugaard
|
@@ -17,8 +17,7 @@ autorequire:
|
|
17
17
|
bindir: bin
|
18
18
|
cert_chain: []
|
19
19
|
|
20
|
-
date: 2012-
|
21
|
-
default_executable:
|
20
|
+
date: 2012-03-07 00:00:00 Z
|
22
21
|
dependencies:
|
23
22
|
- !ruby/object:Gem::Dependency
|
24
23
|
name: activerecord
|
@@ -36,11 +35,11 @@ dependencies:
|
|
36
35
|
version: 2.3.5
|
37
36
|
- - <
|
38
37
|
- !ruby/object:Gem::Version
|
39
|
-
hash:
|
38
|
+
hash: 1
|
40
39
|
segments:
|
41
40
|
- 3
|
42
|
-
-
|
43
|
-
version: "3.
|
41
|
+
- 3
|
42
|
+
version: "3.3"
|
44
43
|
type: :runtime
|
45
44
|
version_requirements: *id001
|
46
45
|
- !ruby/object:Gem::Dependency
|
@@ -156,6 +155,7 @@ files:
|
|
156
155
|
- lib/active_record_shards/association_collection_connection_selection.rb
|
157
156
|
- lib/active_record_shards/configuration_parser.rb
|
158
157
|
- lib/active_record_shards/connection_pool.rb
|
158
|
+
- lib/active_record_shards/connection_specification.rb
|
159
159
|
- lib/active_record_shards/connection_switcher.rb
|
160
160
|
- lib/active_record_shards/default_slave_patches.rb
|
161
161
|
- lib/active_record_shards/migration.rb
|
@@ -177,7 +177,6 @@ files:
|
|
177
177
|
- test/models.rb
|
178
178
|
- test/schema.rb
|
179
179
|
- test/test.log
|
180
|
-
has_rdoc: true
|
181
180
|
homepage: http://github.com/staugaard/active_record_shards
|
182
181
|
licenses: []
|
183
182
|
|
@@ -207,7 +206,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
207
206
|
requirements: []
|
208
207
|
|
209
208
|
rubyforge_project:
|
210
|
-
rubygems_version: 1.
|
209
|
+
rubygems_version: 1.8.10
|
211
210
|
signing_key:
|
212
211
|
specification_version: 3
|
213
212
|
summary: Simple database switching for ActiveRecord.
|