nonschema_migrations 5.0.2 → 5.1.2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4f592f0e3bfa1f1ffcfde3f2bf34f20fe893e77e8d2d21ee199b2595863fdfc8
4
- data.tar.gz: b97a0d86518e174ab157318170250f47936b76545cd58676dc9c6840deb2afff
3
+ metadata.gz: '082f589420fc83ae35b3b93723dad21379f4e72ff04ce8a1b1860d3f69c17bf3'
4
+ data.tar.gz: 18e8c690e07c2bb75a7669d97b816c2cd3ca61fffc150bba89b5328ff9c767f5
5
5
  SHA512:
6
- metadata.gz: be79fac6bf382b969845d9a075734439c8832e5fd682877510edbb83d0a735cacc79255ee2708fe14094ce648aa295408d3724c13a3aaaf178357fa2440060ba
7
- data.tar.gz: 41d0b47e8af6235fda57db039eaed4ec369485dbdf71d1ed09e9d6a74d82cd5d34b13fb175d54524910e61e8f5f2fd86c32827a2e59be8e54e945abfc0318058
6
+ metadata.gz: 1011c93090a31963dfdc03372866df0de6c9505c8f073e253d3ad226c8dfc977a5f7433ca1b1f4934eb86ba9ff6e4819bbe1be80b46ce52789de96bf62cc43d6
7
+ data.tar.gz: 81549ff2304fd5492f96a83aa5ac03c743528ee21c1566064a5af6cfd7e6bac634549617b39994affddf1b59f59da9d0a6d791a09aabdc802e159358061ad53d
@@ -1,5 +1,3 @@
1
-
2
-
3
1
  MIGRATIONS_PATH = 'db/data_migrate'
4
2
 
5
3
  require 'generators/data_migrations/install_generator.rb'
@@ -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.0.2
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: 2019-12-10 00:00:00.000000000 Z
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: jason.fb@datatravels.com
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://github.com/jasonfb/nonschema_migrations
48
+ homepage: https://jasonfleetwoodboldt.com/my-open-source-projects/nonschema
49
49
  licenses:
50
50
  - MIT
51
- metadata: {}
52
- post_install_message:
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.0.pre3
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: []