data_migrate 6.0.3.beta → 6.0.4.beta

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 62ee3cf7421520ff906f2eb711b4af8986e60177d6fb4ec4ea44606b5756ed86
4
- data.tar.gz: 8ff0412f9c8d48328289f3a8dcd187ec3a254a7cf59ce598d641e5c880e2d8f4
3
+ metadata.gz: 04d7f1a511de2b5d2fa39aeb5bbeeb2786e916c92ad3cc1b6252e5f3fc2ed5d2
4
+ data.tar.gz: 9a7d2d4f9fef7fbd193d63844058cab15716387d595f52acd52d552a20f73a1d
5
5
  SHA512:
6
- metadata.gz: 69c7de84ed210feedd61f220fa97538356c500408f4280f97405d4a1a24438f3f6dc4947cc8d4da8827d1427a97f7cc55602ad0069d0412abc1e7ffa88561ae6
7
- data.tar.gz: b6c02d4128e90f1a958c35c6a50e30a504f361c91ff0fa3caca28d29f961e5f2b87af46705b4f80ab3e9ac9fe1a66247eb71335de26e462b759f4a7a76d57960
6
+ metadata.gz: abf2884ae3a915dd7a1ee357df76b4844d164e8e861404781b686fcdca9cedef37b8c82a401d42d56b1eb91033927fd23aaa7834699dc5e1e1fa4a40b408ac63
7
+ data.tar.gz: 36508cb78ecc4146671582e8db6ddd056e088d1b942b6aba7f78427e2ac453e749bdd18341b93b058ce580331e03ec18363d05bc2497fa7fa4e906cb0bba9183
@@ -1,5 +1,8 @@
1
1
  # Changelog
2
2
 
3
+ ## 6.0.4.beta
4
+ Fix rolling back schema migrations failing for Rails 5.2 and above
5
+
3
6
  ## 6.0.3.beta
4
7
 
5
8
  Compatiblity with Rails 6 RC2 [y-yagi](https://github.com/y-yagi)
@@ -1,3 +1,3 @@
1
1
  module DataMigrate
2
- VERSION = "6.0.3.beta".freeze
2
+ VERSION = "6.0.4.beta".freeze
3
3
  end
@@ -194,7 +194,7 @@ namespace :db do
194
194
  DataMigrate::DataMigrator.run(:down, data_migrations_path, past_migration[:version])
195
195
  elsif past_migration[:kind] == :schema
196
196
  ActiveRecord::Migration.write("== %s %s" % ['Schema', "=" * 69])
197
- ActiveRecord::Migrator.run(:down, "db/migrate/", past_migration[:version])
197
+ DataMigrate::SchemaMigration.run(:down, "db/migrate/", past_migration[:version])
198
198
  end
199
199
  end
200
200
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: data_migrate
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.0.3.beta
4
+ version: 6.0.4.beta
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew J Vargo
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2019-08-10 00:00:00.000000000 Z
13
+ date: 2019-09-13 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails