ar-octopus-ruby-3 0.11.2

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.
Files changed (160) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +12 -0
  3. data/.rspec +2 -0
  4. data/.rubocop.yml +46 -0
  5. data/.rubocop_todo.yml +56 -0
  6. data/.travis.yml +18 -0
  7. data/Appraisals +16 -0
  8. data/Gemfile +4 -0
  9. data/README.mkdn +257 -0
  10. data/Rakefile +175 -0
  11. data/TODO.txt +7 -0
  12. data/ar-octopus.gemspec +44 -0
  13. data/gemfiles/rails42.gemfile +7 -0
  14. data/gemfiles/rails5.gemfile +7 -0
  15. data/gemfiles/rails51.gemfile +7 -0
  16. data/gemfiles/rails52.gemfile +7 -0
  17. data/lib/ar-octopus.rb +1 -0
  18. data/lib/octopus/abstract_adapter.rb +33 -0
  19. data/lib/octopus/association.rb +14 -0
  20. data/lib/octopus/association_shard_tracking.rb +74 -0
  21. data/lib/octopus/collection_association.rb +17 -0
  22. data/lib/octopus/collection_proxy.rb +16 -0
  23. data/lib/octopus/exception.rb +4 -0
  24. data/lib/octopus/finder_methods.rb +8 -0
  25. data/lib/octopus/load_balancing/round_robin.rb +20 -0
  26. data/lib/octopus/load_balancing.rb +4 -0
  27. data/lib/octopus/log_subscriber.rb +26 -0
  28. data/lib/octopus/migration.rb +236 -0
  29. data/lib/octopus/model.rb +216 -0
  30. data/lib/octopus/persistence.rb +45 -0
  31. data/lib/octopus/proxy.rb +399 -0
  32. data/lib/octopus/proxy_config.rb +251 -0
  33. data/lib/octopus/query_cache_for_shards.rb +24 -0
  34. data/lib/octopus/railtie.rb +11 -0
  35. data/lib/octopus/relation_proxy.rb +74 -0
  36. data/lib/octopus/result_patch.rb +19 -0
  37. data/lib/octopus/scope_proxy.rb +68 -0
  38. data/lib/octopus/shard_tracking/attribute.rb +22 -0
  39. data/lib/octopus/shard_tracking/dynamic.rb +11 -0
  40. data/lib/octopus/shard_tracking.rb +46 -0
  41. data/lib/octopus/singular_association.rb +9 -0
  42. data/lib/octopus/slave_group.rb +13 -0
  43. data/lib/octopus/version.rb +3 -0
  44. data/lib/octopus.rb +209 -0
  45. data/lib/tasks/octopus.rake +16 -0
  46. data/sample_app/.gitignore +4 -0
  47. data/sample_app/.rspec +1 -0
  48. data/sample_app/Gemfile +20 -0
  49. data/sample_app/Gemfile.lock +155 -0
  50. data/sample_app/README +3 -0
  51. data/sample_app/README.rdoc +261 -0
  52. data/sample_app/Rakefile +7 -0
  53. data/sample_app/app/assets/images/rails.png +0 -0
  54. data/sample_app/app/assets/javascripts/application.js +15 -0
  55. data/sample_app/app/assets/stylesheets/application.css +13 -0
  56. data/sample_app/app/controllers/application_controller.rb +4 -0
  57. data/sample_app/app/helpers/application_helper.rb +2 -0
  58. data/sample_app/app/mailers/.gitkeep +0 -0
  59. data/sample_app/app/models/.gitkeep +0 -0
  60. data/sample_app/app/models/item.rb +3 -0
  61. data/sample_app/app/models/user.rb +3 -0
  62. data/sample_app/app/views/layouts/application.html.erb +14 -0
  63. data/sample_app/autotest/discover.rb +2 -0
  64. data/sample_app/config/application.rb +62 -0
  65. data/sample_app/config/boot.rb +6 -0
  66. data/sample_app/config/cucumber.yml +8 -0
  67. data/sample_app/config/database.yml +28 -0
  68. data/sample_app/config/environment.rb +5 -0
  69. data/sample_app/config/environments/development.rb +37 -0
  70. data/sample_app/config/environments/production.rb +67 -0
  71. data/sample_app/config/environments/test.rb +37 -0
  72. data/sample_app/config/initializers/backtrace_silencers.rb +7 -0
  73. data/sample_app/config/initializers/inflections.rb +15 -0
  74. data/sample_app/config/initializers/mime_types.rb +5 -0
  75. data/sample_app/config/initializers/secret_token.rb +7 -0
  76. data/sample_app/config/initializers/session_store.rb +8 -0
  77. data/sample_app/config/initializers/wrap_parameters.rb +14 -0
  78. data/sample_app/config/locales/en.yml +5 -0
  79. data/sample_app/config/routes.rb +58 -0
  80. data/sample_app/config/shards.yml +28 -0
  81. data/sample_app/config.ru +4 -0
  82. data/sample_app/db/migrate/20100720172715_create_users.rb +15 -0
  83. data/sample_app/db/migrate/20100720172730_create_items.rb +16 -0
  84. data/sample_app/db/migrate/20100720210335_create_sample_users.rb +11 -0
  85. data/sample_app/db/schema.rb +29 -0
  86. data/sample_app/db/seeds.rb +16 -0
  87. data/sample_app/doc/README_FOR_APP +2 -0
  88. data/sample_app/features/migrate.feature +45 -0
  89. data/sample_app/features/seed.feature +15 -0
  90. data/sample_app/features/step_definitions/seeds_steps.rb +13 -0
  91. data/sample_app/features/step_definitions/web_steps.rb +218 -0
  92. data/sample_app/features/support/database.rb +13 -0
  93. data/sample_app/features/support/env.rb +57 -0
  94. data/sample_app/features/support/paths.rb +33 -0
  95. data/sample_app/lib/assets/.gitkeep +0 -0
  96. data/sample_app/lib/tasks/.gitkeep +0 -0
  97. data/sample_app/lib/tasks/cucumber.rake +64 -0
  98. data/sample_app/log/.gitkeep +0 -0
  99. data/sample_app/public/404.html +26 -0
  100. data/sample_app/public/422.html +26 -0
  101. data/sample_app/public/500.html +26 -0
  102. data/sample_app/public/favicon.ico +0 -0
  103. data/sample_app/public/images/rails.png +0 -0
  104. data/sample_app/public/index.html +279 -0
  105. data/sample_app/public/javascripts/application.js +2 -0
  106. data/sample_app/public/javascripts/controls.js +965 -0
  107. data/sample_app/public/javascripts/dragdrop.js +974 -0
  108. data/sample_app/public/javascripts/effects.js +1123 -0
  109. data/sample_app/public/javascripts/prototype.js +4874 -0
  110. data/sample_app/public/javascripts/rails.js +118 -0
  111. data/sample_app/public/robots.txt +5 -0
  112. data/sample_app/public/stylesheets/.gitkeep +0 -0
  113. data/sample_app/script/cucumber +10 -0
  114. data/sample_app/script/rails +6 -0
  115. data/sample_app/spec/models/item_spec.rb +5 -0
  116. data/sample_app/spec/models/user_spec.rb +5 -0
  117. data/sample_app/spec/spec_helper.rb +27 -0
  118. data/sample_app/vendor/assets/javascripts/.gitkeep +0 -0
  119. data/sample_app/vendor/assets/stylesheets/.gitkeep +0 -0
  120. data/sample_app/vendor/plugins/.gitkeep +0 -0
  121. data/spec/config/shards.yml +231 -0
  122. data/spec/migrations/10_create_users_using_replication.rb +9 -0
  123. data/spec/migrations/11_add_field_in_all_slaves.rb +11 -0
  124. data/spec/migrations/12_create_users_using_block.rb +23 -0
  125. data/spec/migrations/13_create_users_using_block_and_using.rb +15 -0
  126. data/spec/migrations/14_create_users_on_shards_of_a_group_with_versions.rb +11 -0
  127. data/spec/migrations/15_create_user_on_shards_of_default_group_with_versions.rb +9 -0
  128. data/spec/migrations/1_create_users_on_master.rb +9 -0
  129. data/spec/migrations/2_create_users_on_canada.rb +11 -0
  130. data/spec/migrations/3_create_users_on_both_shards.rb +11 -0
  131. data/spec/migrations/4_create_users_on_shards_of_a_group.rb +11 -0
  132. data/spec/migrations/5_create_users_on_multiples_groups.rb +11 -0
  133. data/spec/migrations/6_raise_exception_with_invalid_shard_name.rb +11 -0
  134. data/spec/migrations/7_raise_exception_with_invalid_multiple_shard_names.rb +11 -0
  135. data/spec/migrations/8_raise_exception_with_invalid_group_name.rb +11 -0
  136. data/spec/migrations/9_raise_exception_with_multiple_invalid_group_names.rb +11 -0
  137. data/spec/octopus/association_shard_tracking_spec.rb +1036 -0
  138. data/spec/octopus/collection_proxy_spec.rb +16 -0
  139. data/spec/octopus/load_balancing/round_robin_spec.rb +15 -0
  140. data/spec/octopus/log_subscriber_spec.rb +19 -0
  141. data/spec/octopus/migration_spec.rb +151 -0
  142. data/spec/octopus/model_spec.rb +837 -0
  143. data/spec/octopus/octopus_spec.rb +123 -0
  144. data/spec/octopus/proxy_spec.rb +303 -0
  145. data/spec/octopus/query_cache_for_shards_spec.rb +40 -0
  146. data/spec/octopus/relation_proxy_spec.rb +132 -0
  147. data/spec/octopus/replicated_slave_grouped_spec.rb +91 -0
  148. data/spec/octopus/replication_spec.rb +196 -0
  149. data/spec/octopus/scope_proxy_spec.rb +97 -0
  150. data/spec/octopus/sharded_replicated_slave_grouped_spec.rb +55 -0
  151. data/spec/octopus/sharded_spec.rb +33 -0
  152. data/spec/spec_helper.rb +18 -0
  153. data/spec/support/active_record/connection_adapters/modify_config_adapter.rb +15 -0
  154. data/spec/support/database_connection.rb +4 -0
  155. data/spec/support/database_models.rb +118 -0
  156. data/spec/support/octopus_helper.rb +66 -0
  157. data/spec/support/query_count.rb +17 -0
  158. data/spec/support/shared_contexts.rb +18 -0
  159. data/spec/tasks/octopus.rake_spec.rb +32 -0
  160. metadata +351 -0
metadata ADDED
@@ -0,0 +1,351 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: ar-octopus-ruby-3
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.11.2
5
+ platform: ruby
6
+ authors:
7
+ - Thiago Pradi
8
+ - Mike Perham
9
+ - Gabriel Sobrinho
10
+ autorequire:
11
+ bindir: bin
12
+ cert_chain: []
13
+ date: 2023-06-13 00:00:00.000000000 Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: activerecord
17
+ requirement: !ruby/object:Gem::Requirement
18
+ requirements:
19
+ - - "~>"
20
+ - !ruby/object:Gem::Version
21
+ version: 6.0.6.1
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ requirements:
26
+ - - "~>"
27
+ - !ruby/object:Gem::Version
28
+ version: 6.0.6.1
29
+ - !ruby/object:Gem::Dependency
30
+ name: activesupport
31
+ requirement: !ruby/object:Gem::Requirement
32
+ requirements:
33
+ - - "~>"
34
+ - !ruby/object:Gem::Version
35
+ version: 6.0.6.1
36
+ type: :runtime
37
+ prerelease: false
38
+ version_requirements: !ruby/object:Gem::Requirement
39
+ requirements:
40
+ - - "~>"
41
+ - !ruby/object:Gem::Version
42
+ version: 6.0.6.1
43
+ - !ruby/object:Gem::Dependency
44
+ name: appraisal
45
+ requirement: !ruby/object:Gem::Requirement
46
+ requirements:
47
+ - - ">="
48
+ - !ruby/object:Gem::Version
49
+ version: 0.3.8
50
+ type: :development
51
+ prerelease: false
52
+ version_requirements: !ruby/object:Gem::Requirement
53
+ requirements:
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
56
+ version: 0.3.8
57
+ - !ruby/object:Gem::Dependency
58
+ name: mysql2
59
+ requirement: !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - "~>"
62
+ - !ruby/object:Gem::Version
63
+ version: '0.5'
64
+ type: :development
65
+ prerelease: false
66
+ version_requirements: !ruby/object:Gem::Requirement
67
+ requirements:
68
+ - - "~>"
69
+ - !ruby/object:Gem::Version
70
+ version: '0.5'
71
+ - !ruby/object:Gem::Dependency
72
+ name: pg
73
+ requirement: !ruby/object:Gem::Requirement
74
+ requirements:
75
+ - - "~>"
76
+ - !ruby/object:Gem::Version
77
+ version: '0.18'
78
+ type: :development
79
+ prerelease: false
80
+ version_requirements: !ruby/object:Gem::Requirement
81
+ requirements:
82
+ - - "~>"
83
+ - !ruby/object:Gem::Version
84
+ version: '0.18'
85
+ - !ruby/object:Gem::Dependency
86
+ name: rake
87
+ requirement: !ruby/object:Gem::Requirement
88
+ requirements:
89
+ - - ">="
90
+ - !ruby/object:Gem::Version
91
+ version: '0'
92
+ type: :development
93
+ prerelease: false
94
+ version_requirements: !ruby/object:Gem::Requirement
95
+ requirements:
96
+ - - ">="
97
+ - !ruby/object:Gem::Version
98
+ version: '0'
99
+ - !ruby/object:Gem::Dependency
100
+ name: rspec
101
+ requirement: !ruby/object:Gem::Requirement
102
+ requirements:
103
+ - - ">="
104
+ - !ruby/object:Gem::Version
105
+ version: '3'
106
+ type: :development
107
+ prerelease: false
108
+ version_requirements: !ruby/object:Gem::Requirement
109
+ requirements:
110
+ - - ">="
111
+ - !ruby/object:Gem::Version
112
+ version: '3'
113
+ - !ruby/object:Gem::Dependency
114
+ name: rubocop
115
+ requirement: !ruby/object:Gem::Requirement
116
+ requirements:
117
+ - - ">="
118
+ - !ruby/object:Gem::Version
119
+ version: '0'
120
+ type: :development
121
+ prerelease: false
122
+ version_requirements: !ruby/object:Gem::Requirement
123
+ requirements:
124
+ - - ">="
125
+ - !ruby/object:Gem::Version
126
+ version: '0'
127
+ - !ruby/object:Gem::Dependency
128
+ name: sqlite3
129
+ requirement: !ruby/object:Gem::Requirement
130
+ requirements:
131
+ - - "~>"
132
+ - !ruby/object:Gem::Version
133
+ version: '1.4'
134
+ type: :development
135
+ prerelease: false
136
+ version_requirements: !ruby/object:Gem::Requirement
137
+ requirements:
138
+ - - "~>"
139
+ - !ruby/object:Gem::Version
140
+ version: '1.4'
141
+ - !ruby/object:Gem::Dependency
142
+ name: pry-byebug
143
+ requirement: !ruby/object:Gem::Requirement
144
+ requirements:
145
+ - - ">="
146
+ - !ruby/object:Gem::Version
147
+ version: '0'
148
+ type: :development
149
+ prerelease: false
150
+ version_requirements: !ruby/object:Gem::Requirement
151
+ requirements:
152
+ - - ">="
153
+ - !ruby/object:Gem::Version
154
+ version: '0'
155
+ description: This gem allows you to use sharded databases with ActiveRecord. This
156
+ also provides a interface for replication and for running migrations with multiples
157
+ shards.
158
+ email:
159
+ - tchandy@gmail.com
160
+ - mperham@gmail.com
161
+ - gabriel.sobrinho@gmail.com
162
+ executables: []
163
+ extensions: []
164
+ extra_rdoc_files: []
165
+ files:
166
+ - ".gitignore"
167
+ - ".rspec"
168
+ - ".rubocop.yml"
169
+ - ".rubocop_todo.yml"
170
+ - ".travis.yml"
171
+ - Appraisals
172
+ - Gemfile
173
+ - README.mkdn
174
+ - Rakefile
175
+ - TODO.txt
176
+ - ar-octopus.gemspec
177
+ - gemfiles/rails42.gemfile
178
+ - gemfiles/rails5.gemfile
179
+ - gemfiles/rails51.gemfile
180
+ - gemfiles/rails52.gemfile
181
+ - lib/ar-octopus.rb
182
+ - lib/octopus.rb
183
+ - lib/octopus/abstract_adapter.rb
184
+ - lib/octopus/association.rb
185
+ - lib/octopus/association_shard_tracking.rb
186
+ - lib/octopus/collection_association.rb
187
+ - lib/octopus/collection_proxy.rb
188
+ - lib/octopus/exception.rb
189
+ - lib/octopus/finder_methods.rb
190
+ - lib/octopus/load_balancing.rb
191
+ - lib/octopus/load_balancing/round_robin.rb
192
+ - lib/octopus/log_subscriber.rb
193
+ - lib/octopus/migration.rb
194
+ - lib/octopus/model.rb
195
+ - lib/octopus/persistence.rb
196
+ - lib/octopus/proxy.rb
197
+ - lib/octopus/proxy_config.rb
198
+ - lib/octopus/query_cache_for_shards.rb
199
+ - lib/octopus/railtie.rb
200
+ - lib/octopus/relation_proxy.rb
201
+ - lib/octopus/result_patch.rb
202
+ - lib/octopus/scope_proxy.rb
203
+ - lib/octopus/shard_tracking.rb
204
+ - lib/octopus/shard_tracking/attribute.rb
205
+ - lib/octopus/shard_tracking/dynamic.rb
206
+ - lib/octopus/singular_association.rb
207
+ - lib/octopus/slave_group.rb
208
+ - lib/octopus/version.rb
209
+ - lib/tasks/octopus.rake
210
+ - sample_app/.gitignore
211
+ - sample_app/.rspec
212
+ - sample_app/Gemfile
213
+ - sample_app/Gemfile.lock
214
+ - sample_app/README
215
+ - sample_app/README.rdoc
216
+ - sample_app/Rakefile
217
+ - sample_app/app/assets/images/rails.png
218
+ - sample_app/app/assets/javascripts/application.js
219
+ - sample_app/app/assets/stylesheets/application.css
220
+ - sample_app/app/controllers/application_controller.rb
221
+ - sample_app/app/helpers/application_helper.rb
222
+ - sample_app/app/mailers/.gitkeep
223
+ - sample_app/app/models/.gitkeep
224
+ - sample_app/app/models/item.rb
225
+ - sample_app/app/models/user.rb
226
+ - sample_app/app/views/layouts/application.html.erb
227
+ - sample_app/autotest/discover.rb
228
+ - sample_app/config.ru
229
+ - sample_app/config/application.rb
230
+ - sample_app/config/boot.rb
231
+ - sample_app/config/cucumber.yml
232
+ - sample_app/config/database.yml
233
+ - sample_app/config/environment.rb
234
+ - sample_app/config/environments/development.rb
235
+ - sample_app/config/environments/production.rb
236
+ - sample_app/config/environments/test.rb
237
+ - sample_app/config/initializers/backtrace_silencers.rb
238
+ - sample_app/config/initializers/inflections.rb
239
+ - sample_app/config/initializers/mime_types.rb
240
+ - sample_app/config/initializers/secret_token.rb
241
+ - sample_app/config/initializers/session_store.rb
242
+ - sample_app/config/initializers/wrap_parameters.rb
243
+ - sample_app/config/locales/en.yml
244
+ - sample_app/config/routes.rb
245
+ - sample_app/config/shards.yml
246
+ - sample_app/db/migrate/20100720172715_create_users.rb
247
+ - sample_app/db/migrate/20100720172730_create_items.rb
248
+ - sample_app/db/migrate/20100720210335_create_sample_users.rb
249
+ - sample_app/db/schema.rb
250
+ - sample_app/db/seeds.rb
251
+ - sample_app/doc/README_FOR_APP
252
+ - sample_app/features/migrate.feature
253
+ - sample_app/features/seed.feature
254
+ - sample_app/features/step_definitions/seeds_steps.rb
255
+ - sample_app/features/step_definitions/web_steps.rb
256
+ - sample_app/features/support/database.rb
257
+ - sample_app/features/support/env.rb
258
+ - sample_app/features/support/paths.rb
259
+ - sample_app/lib/assets/.gitkeep
260
+ - sample_app/lib/tasks/.gitkeep
261
+ - sample_app/lib/tasks/cucumber.rake
262
+ - sample_app/log/.gitkeep
263
+ - sample_app/public/404.html
264
+ - sample_app/public/422.html
265
+ - sample_app/public/500.html
266
+ - sample_app/public/favicon.ico
267
+ - sample_app/public/images/rails.png
268
+ - sample_app/public/index.html
269
+ - sample_app/public/javascripts/application.js
270
+ - sample_app/public/javascripts/controls.js
271
+ - sample_app/public/javascripts/dragdrop.js
272
+ - sample_app/public/javascripts/effects.js
273
+ - sample_app/public/javascripts/prototype.js
274
+ - sample_app/public/javascripts/rails.js
275
+ - sample_app/public/robots.txt
276
+ - sample_app/public/stylesheets/.gitkeep
277
+ - sample_app/script/cucumber
278
+ - sample_app/script/rails
279
+ - sample_app/spec/models/item_spec.rb
280
+ - sample_app/spec/models/user_spec.rb
281
+ - sample_app/spec/spec_helper.rb
282
+ - sample_app/vendor/assets/javascripts/.gitkeep
283
+ - sample_app/vendor/assets/stylesheets/.gitkeep
284
+ - sample_app/vendor/plugins/.gitkeep
285
+ - spec/config/shards.yml
286
+ - spec/migrations/10_create_users_using_replication.rb
287
+ - spec/migrations/11_add_field_in_all_slaves.rb
288
+ - spec/migrations/12_create_users_using_block.rb
289
+ - spec/migrations/13_create_users_using_block_and_using.rb
290
+ - spec/migrations/14_create_users_on_shards_of_a_group_with_versions.rb
291
+ - spec/migrations/15_create_user_on_shards_of_default_group_with_versions.rb
292
+ - spec/migrations/1_create_users_on_master.rb
293
+ - spec/migrations/2_create_users_on_canada.rb
294
+ - spec/migrations/3_create_users_on_both_shards.rb
295
+ - spec/migrations/4_create_users_on_shards_of_a_group.rb
296
+ - spec/migrations/5_create_users_on_multiples_groups.rb
297
+ - spec/migrations/6_raise_exception_with_invalid_shard_name.rb
298
+ - spec/migrations/7_raise_exception_with_invalid_multiple_shard_names.rb
299
+ - spec/migrations/8_raise_exception_with_invalid_group_name.rb
300
+ - spec/migrations/9_raise_exception_with_multiple_invalid_group_names.rb
301
+ - spec/octopus/association_shard_tracking_spec.rb
302
+ - spec/octopus/collection_proxy_spec.rb
303
+ - spec/octopus/load_balancing/round_robin_spec.rb
304
+ - spec/octopus/log_subscriber_spec.rb
305
+ - spec/octopus/migration_spec.rb
306
+ - spec/octopus/model_spec.rb
307
+ - spec/octopus/octopus_spec.rb
308
+ - spec/octopus/proxy_spec.rb
309
+ - spec/octopus/query_cache_for_shards_spec.rb
310
+ - spec/octopus/relation_proxy_spec.rb
311
+ - spec/octopus/replicated_slave_grouped_spec.rb
312
+ - spec/octopus/replication_spec.rb
313
+ - spec/octopus/scope_proxy_spec.rb
314
+ - spec/octopus/sharded_replicated_slave_grouped_spec.rb
315
+ - spec/octopus/sharded_spec.rb
316
+ - spec/spec_helper.rb
317
+ - spec/support/active_record/connection_adapters/modify_config_adapter.rb
318
+ - spec/support/database_connection.rb
319
+ - spec/support/database_models.rb
320
+ - spec/support/octopus_helper.rb
321
+ - spec/support/query_count.rb
322
+ - spec/support/shared_contexts.rb
323
+ - spec/tasks/octopus.rake_spec.rb
324
+ homepage: https://github.com/tchandy/octopus
325
+ licenses:
326
+ - MIT
327
+ metadata: {}
328
+ post_install_message: |-
329
+ Important: If you are upgrading from < Octopus 0.5.0 you need to run:
330
+ $ rake octopus:copy_scha_versions
331
+
332
+ Octopus now stores schema version information in each shard and migrations will not work properly unless this task is invoked.
333
+ rdoc_options: []
334
+ require_paths:
335
+ - lib
336
+ required_ruby_version: !ruby/object:Gem::Requirement
337
+ requirements:
338
+ - - ">="
339
+ - !ruby/object:Gem::Version
340
+ version: 2.2.0
341
+ required_rubygems_version: !ruby/object:Gem::Requirement
342
+ requirements:
343
+ - - ">="
344
+ - !ruby/object:Gem::Version
345
+ version: '0'
346
+ requirements: []
347
+ rubygems_version: 3.2.33
348
+ signing_key:
349
+ specification_version: 4
350
+ summary: Easy Database Sharding for ActiveRecord
351
+ test_files: []