multi_db_migration 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d5cf93d64500c13a30417619c04b4dd63719f9cae1c5709ea3f1c59dc500b427
4
- data.tar.gz: 4d6441944ee98083f0ae0be1015c779b09bb8755e49bf96e5b96e3f56595d0ed
3
+ metadata.gz: 0511f2eb53a6c3ee3ef421b53be6a3b2656c9ae0dada097fec3e6057f7182921
4
+ data.tar.gz: b75b645cdd442bd8d033603255d4870c43bae816acc18b7369115d4f13991928
5
5
  SHA512:
6
- metadata.gz: 7c6153f530af30f3615ea50779d6eb41f8eec39028999ca871188ee37844c722a40dde8e489b4a4d6b8d32773bf2532be3c01475d8fa27d1f18c0f2275f4f9e4
7
- data.tar.gz: 512fb3716f3f9205f7a0235a518ca7fb3051ea5578bbd7c63ac178b15024f2c880e15a0992e38b49529b8b1c53503e92a6bf33a429cde24f2169a865dba7c1ed
6
+ metadata.gz: 1776d851a0bfadfbc870b2ad24c3a8a4e5371db2c733c1a4652725afad97be40b78873b002f7f493ad76336a8a944e0944346cbc5da31ffb263be3a33a7c6667
7
+ data.tar.gz: d5f1e6f6d11004bb0eaf00054d4af2c4e1bca9d6d9e07d80403a161cc2de84db9cc599832aba617ad76b6dc93c70d97e3c9479da25c5e89e39329063d3c72d76
@@ -1,3 +1,3 @@
1
1
  module MultiDbMigration
2
- VERSION = "0.1.0"
2
+ VERSION = "0.2.0"
3
3
  end
@@ -35,14 +35,10 @@ namespace :multi_db_migration do
35
35
  shard_config = config.shard_config(shard)
36
36
 
37
37
  client = MultiDbMigration::RidgepoleClient.new(
38
+ shard_config: shard_config,
38
39
  env: ENV['RAILS_ENV'],
39
40
  config: config.db_config,
40
- file: shard_config[:file],
41
- spec_name: shard_config[:spec_name],
42
- dry_run: dry_run,
43
- ignore_tables: shard_config[:ignore_tables],
44
- skip_drop_table: shard_config[:skip_drop_table],
45
- mysql_change_table_comment: shard_config[:mysql_change_table_comment],
41
+ dry_run: dry_run
46
42
  )
47
43
 
48
44
  command = client.generate_command
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: multi_db_migration
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takahiro Ooishi