nonschema_migrations 5.1.2 → 5.1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/nonschema_migrator.rb +4 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '082f589420fc83ae35b3b93723dad21379f4e72ff04ce8a1b1860d3f69c17bf3'
|
4
|
+
data.tar.gz: 18e8c690e07c2bb75a7669d97b816c2cd3ca61fffc150bba89b5328ff9c767f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1011c93090a31963dfdc03372866df0de6c9505c8f073e253d3ad226c8dfc977a5f7433ca1b1f4934eb86ba9ff6e4819bbe1be80b46ce52789de96bf62cc43d6
|
7
|
+
data.tar.gz: 81549ff2304fd5492f96a83aa5ac03c743528ee21c1566064a5af6cfd7e6bac634549617b39994affddf1b59f59da9d0a6d791a09aabdc802e159358061ad53d
|
data/lib/nonschema_migrator.rb
CHANGED
@@ -71,7 +71,7 @@ class NonschemaMigrator < ActiveRecord::Migrator
|
|
71
71
|
end
|
72
72
|
|
73
73
|
def move(direction, steps)
|
74
|
-
migrator = new_migrator(direction, migrations, schema_migration)
|
74
|
+
migrator = new_migrator(direction, migrations, nil, schema_migration)
|
75
75
|
|
76
76
|
if current_version != 0 && !migrator.current_migration
|
77
77
|
raise UnknownMigrationVersionError.new(current_version)
|
@@ -96,7 +96,7 @@ class NonschemaMigrator < ActiveRecord::Migrator
|
|
96
96
|
migrations
|
97
97
|
end
|
98
98
|
|
99
|
-
new_migrator(:up, selected_migrations, target_version).migrate
|
99
|
+
new_migrator(:up, selected_migrations, nil, target_version).migrate
|
100
100
|
end
|
101
101
|
|
102
102
|
def down(target_version = nil)
|
@@ -106,7 +106,7 @@ class NonschemaMigrator < ActiveRecord::Migrator
|
|
106
106
|
migrations
|
107
107
|
end
|
108
108
|
|
109
|
-
new_migrator(:down, selected_migrations, target_version).migrate
|
109
|
+
new_migrator(:down, selected_migrations, nil, target_version).migrate
|
110
110
|
end
|
111
111
|
end
|
112
112
|
|
@@ -130,7 +130,7 @@ class NonschemaMigrator < ActiveRecord::Migrator
|
|
130
130
|
end
|
131
131
|
|
132
132
|
def run(direction, path, target_version)
|
133
|
-
new_migrator(path, direction, context(path).migrations, target_version).run
|
133
|
+
new_migrator(path, direction, context(path).migrations, nil, target_version).run
|
134
134
|
end
|
135
135
|
end
|
136
136
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nonschema_migrations
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.1.2
|
4
|
+
version: 5.1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jason Fleetwood-Boldt
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-11-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|