active_record_shards 2.4.2 → 2.4.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/migration.rb +24 -0
- data/test/migrator_test.rb +10 -1
- data/test/test.log +8369 -3875
- metadata +22 -24
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: 25
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 2
|
8
8
|
- 4
|
9
|
-
-
|
10
|
-
version: 2.4.
|
9
|
+
- 3
|
10
|
+
version: 2.4.3
|
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: 2011-
|
21
|
-
default_executable:
|
20
|
+
date: 2011-09-09 00:00:00 Z
|
22
21
|
dependencies:
|
23
22
|
- !ruby/object:Gem::Dependency
|
24
23
|
name: activerecord
|
@@ -120,27 +119,26 @@ extra_rdoc_files: []
|
|
120
119
|
files:
|
121
120
|
- lib/active_record_shards/association_collection_connection_selection.rb
|
122
121
|
- lib/active_record_shards/configuration_parser.rb
|
123
|
-
- lib/active_record_shards/connection_pool.rb
|
124
122
|
- lib/active_record_shards/connection_switcher.rb
|
125
|
-
- lib/active_record_shards/migration.rb
|
126
123
|
- lib/active_record_shards/model.rb
|
127
|
-
- lib/active_record_shards/
|
124
|
+
- lib/active_record_shards/connection_pool.rb
|
128
125
|
- lib/active_record_shards/tasks.rb
|
126
|
+
- lib/active_record_shards/migration.rb
|
127
|
+
- lib/active_record_shards/shard_selection.rb
|
129
128
|
- lib/active_record_shards.rb
|
130
129
|
- README.md
|
131
|
-
- test/
|
132
|
-
- test/connection_switching_test.rb
|
130
|
+
- test/models.rb
|
133
131
|
- test/database.yml
|
132
|
+
- test/test.log
|
134
133
|
- test/database_parse_test.yml
|
135
|
-
- test/
|
136
|
-
- test/helper.rb
|
134
|
+
- test/migrator_test.rb
|
137
135
|
- test/migrations/20110824010216_shard_migration.rb
|
138
136
|
- test/migrations/20110829215912_account_migration.rb
|
139
|
-
- test/migrator_test.rb
|
140
|
-
- test/models.rb
|
141
137
|
- test/schema.rb
|
142
|
-
- test/
|
143
|
-
|
138
|
+
- test/failure_migration/20110824010215_failure_migration.rb
|
139
|
+
- test/configuration_parser_test.rb
|
140
|
+
- test/helper.rb
|
141
|
+
- test/connection_switching_test.rb
|
144
142
|
homepage: http://github.com/staugaard/active_record_shards
|
145
143
|
licenses: []
|
146
144
|
|
@@ -170,20 +168,20 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
170
168
|
requirements: []
|
171
169
|
|
172
170
|
rubyforge_project:
|
173
|
-
rubygems_version: 1.
|
171
|
+
rubygems_version: 1.8.10
|
174
172
|
signing_key:
|
175
173
|
specification_version: 3
|
176
174
|
summary: Simple database switching for ActiveRecord.
|
177
175
|
test_files:
|
178
|
-
- test/
|
179
|
-
- test/connection_switching_test.rb
|
176
|
+
- test/models.rb
|
180
177
|
- test/database.yml
|
178
|
+
- test/test.log
|
181
179
|
- test/database_parse_test.yml
|
182
|
-
- test/
|
183
|
-
- test/helper.rb
|
180
|
+
- test/migrator_test.rb
|
184
181
|
- test/migrations/20110824010216_shard_migration.rb
|
185
182
|
- test/migrations/20110829215912_account_migration.rb
|
186
|
-
- test/migrator_test.rb
|
187
|
-
- test/models.rb
|
188
183
|
- test/schema.rb
|
189
|
-
- test/
|
184
|
+
- test/failure_migration/20110824010215_failure_migration.rb
|
185
|
+
- test/configuration_parser_test.rb
|
186
|
+
- test/helper.rb
|
187
|
+
- test/connection_switching_test.rb
|