data_migrate 2.0.0 → 2.0.1
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 +4 -4
- data/.gitignore +1 -1
- data/lib/data_migrate/migration.rb +0 -2
- data/lib/data_migrate/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2867f4c1b8e7a37696ea3c640e83babb573e8996
|
|
4
|
+
data.tar.gz: 1e67d3ce5fd3517d60a8687afcf9df3c151de4b7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1c5548f92419a80bd209316e505a6bc08342bc17942296bd68c5e7a248a8c3ef689b7b440d48c09caf36e633db145068fcbd17b5f1ca840eeef3a68daff075b8
|
|
7
|
+
data.tar.gz: d4341fa69a92b91308975b9b8ebc18709f39576891fd4e32a2e04caf809eb9197fc0b7be558d08898016a0489429f97cc2a98a0b2adf70098a3d8f97051d621b
|
data/.gitignore
CHANGED
|
@@ -3,7 +3,6 @@ module DataMigrate
|
|
|
3
3
|
|
|
4
4
|
class << self
|
|
5
5
|
def check_pending!(connection = ::ActiveRecord::Base.connection)
|
|
6
|
-
binding.pry
|
|
7
6
|
raise ActiveRecord::PendingMigrationError if DataMigrator::Migrator.needs_migration?(connection)
|
|
8
7
|
end
|
|
9
8
|
|
|
@@ -12,7 +11,6 @@ module DataMigrate
|
|
|
12
11
|
end
|
|
13
12
|
|
|
14
13
|
def table_name
|
|
15
|
-
binding.pry
|
|
16
14
|
ActiveRecord::Base.table_name_prefix + 'data_migrations' + ActiveRecord::Base.table_name_suffix
|
|
17
15
|
end
|
|
18
16
|
|
data/lib/data_migrate/version.rb
CHANGED
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: 2.0.
|
|
4
|
+
version: 2.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Andrew J Vargo
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2016-
|
|
12
|
+
date: 2016-03-07 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rails
|