active_record_shards 2.4.5 → 2.5.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/active_record_shards/association_collection_connection_selection.rb +9 -1
- data/lib/active_record_shards/connection_switcher.rb +6 -1
- data/lib/active_record_shards/migration.rb +21 -5
- data/lib/active_record_shards/model.rb +8 -5
- data/test/connection_switching_test.rb +6 -3
- data/test/cowardly_migration/20110824010215_cowardly_migration.rb +8 -0
- data/test/migrator_test.rb +6 -11
- data/test/test.log +64866 -5147
- metadata +11 -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: 27
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 2
|
8
|
-
- 4
|
9
8
|
- 5
|
10
|
-
|
9
|
+
- 0
|
10
|
+
version: 2.5.0
|
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: 2011-10-
|
20
|
+
date: 2011-10-28 00:00:00 -07:00
|
21
21
|
default_executable:
|
22
22
|
dependencies:
|
23
23
|
- !ruby/object:Gem::Dependency
|
@@ -26,14 +26,12 @@ dependencies:
|
|
26
26
|
requirement: &id001 !ruby/object:Gem::Requirement
|
27
27
|
none: false
|
28
28
|
requirements:
|
29
|
-
- -
|
29
|
+
- - ">="
|
30
30
|
- !ruby/object:Gem::Version
|
31
|
-
hash:
|
31
|
+
hash: 3
|
32
32
|
segments:
|
33
|
-
-
|
34
|
-
|
35
|
-
- 5
|
36
|
-
version: 2.3.5
|
33
|
+
- 0
|
34
|
+
version: "0"
|
37
35
|
type: :runtime
|
38
36
|
version_requirements: *id001
|
39
37
|
- !ruby/object:Gem::Dependency
|
@@ -130,6 +128,7 @@ files:
|
|
130
128
|
- README.md
|
131
129
|
- test/configuration_parser_test.rb
|
132
130
|
- test/connection_switching_test.rb
|
131
|
+
- test/cowardly_migration/20110824010215_cowardly_migration.rb
|
133
132
|
- test/database.yml
|
134
133
|
- test/database_parse_test.yml
|
135
134
|
- test/failure_migration/20110824010215_failure_migration.rb
|
@@ -170,13 +169,14 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
170
169
|
requirements: []
|
171
170
|
|
172
171
|
rubyforge_project:
|
173
|
-
rubygems_version: 1.5.
|
172
|
+
rubygems_version: 1.5.3
|
174
173
|
signing_key:
|
175
174
|
specification_version: 3
|
176
175
|
summary: Simple database switching for ActiveRecord.
|
177
176
|
test_files:
|
178
177
|
- test/configuration_parser_test.rb
|
179
178
|
- test/connection_switching_test.rb
|
179
|
+
- test/cowardly_migration/20110824010215_cowardly_migration.rb
|
180
180
|
- test/database.yml
|
181
181
|
- test/database_parse_test.yml
|
182
182
|
- test/failure_migration/20110824010215_failure_migration.rb
|