nonschema_migrations 5.0.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_migrations.rb +0 -2
- data/lib/nonschema_migrator.rb +4 -4
- metadata +18 -9
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_migrations.rb
CHANGED
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.
|
4
|
+
version: 5.1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jason Fleetwood-Boldt
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-11-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -32,7 +32,7 @@ dependencies:
|
|
32
32
|
version: '7'
|
33
33
|
description: Separate schema-only migrations from nonschema (data) migrations in your
|
34
34
|
Rails app
|
35
|
-
email:
|
35
|
+
email: code@jasonfb.net
|
36
36
|
executables: []
|
37
37
|
extensions: []
|
38
38
|
extra_rdoc_files: []
|
@@ -45,11 +45,20 @@ files:
|
|
45
45
|
- lib/nonschema_migrations/railtie.rb
|
46
46
|
- lib/nonschema_migrator.rb
|
47
47
|
- lib/tasks/data.rb
|
48
|
-
homepage: https://
|
48
|
+
homepage: https://jasonfleetwoodboldt.com/my-open-source-projects/nonschema
|
49
49
|
licenses:
|
50
50
|
- MIT
|
51
|
-
metadata:
|
52
|
-
|
51
|
+
metadata:
|
52
|
+
source_code_uri: https://github.com/jasonfb/nonschema_migrations
|
53
|
+
documentation_uri: https://jasonfleetwoodboldt.com/my-open-source-projects/nonschema-migrations/
|
54
|
+
homepage_uri: https://jasonfleetwoodboldt.com/my-open-source-projects/nonschema-migrations/
|
55
|
+
post_install_message: |
|
56
|
+
---------------------------------------------
|
57
|
+
Welcome to Nonschema Migrations
|
58
|
+
to set up, please run
|
59
|
+
|
60
|
+
rails generate data_migrations:install
|
61
|
+
---------------------------------------------
|
53
62
|
rdoc_options: []
|
54
63
|
require_paths:
|
55
64
|
- lib
|
@@ -64,8 +73,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
64
73
|
- !ruby/object:Gem::Version
|
65
74
|
version: '0'
|
66
75
|
requirements: []
|
67
|
-
rubygems_version: 3.1.
|
68
|
-
signing_key:
|
76
|
+
rubygems_version: 3.1.4
|
77
|
+
signing_key:
|
69
78
|
specification_version: 4
|
70
79
|
summary: Nonschema(data-only) migrations for your Rails app
|
71
80
|
test_files: []
|