nonschema_migrations 5.1.2.1 → 6.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.bundle/config +2 -0
- data/.github/FUNDING.yml +3 -0
- data/.gitignore +3 -0
- data/.travis.yml +36 -0
- data/Appraisals +32 -0
- data/Gemfile +29 -0
- data/Gemfile.lock +102 -0
- data/LICENCE.md +21 -0
- data/README.md +166 -0
- data/Rakefile +31 -0
- data/gemfiles/.bundle/config +2 -0
- data/gemfiles/rails_4_0.gemfile +22 -0
- data/gemfiles/rails_4_0.gemfile.lock +0 -0
- data/gemfiles/rails_4_1.gemfile +21 -0
- data/gemfiles/rails_4_1.gemfile.lock +164 -0
- data/gemfiles/rails_4_2.gemfile +21 -0
- data/gemfiles/rails_4_2.gemfile.lock +189 -0
- data/gemfiles/rails_5_0.gemfile +21 -0
- data/gemfiles/rails_5_0.gemfile.lock +196 -0
- data/gemfiles/rails_5_1.gemfile +20 -0
- data/gemfiles/rails_5_1.gemfile.lock +195 -0
- data/gemfiles/rails_5_2.gemfile +20 -0
- data/gemfiles/rails_5_2.gemfile.lock +203 -0
- data/gemfiles/rails_6_0.gemfile +20 -0
- data/lib/generators/data_migrations/templates/create_data_migrations.rb +2 -2
- data/lib/generators/data_migrations/templates/migration.rb +5 -0
- data/lib/nonschema_migrations/version.rb +3 -0
- metadata +43 -19
@@ -0,0 +1,203 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ..
|
3
|
+
specs:
|
4
|
+
nondestructive_migrations (1.3)
|
5
|
+
activerecord (~> 5.1)
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: https://rubygems.org/
|
9
|
+
specs:
|
10
|
+
actioncable (5.2.0.rc1)
|
11
|
+
actionpack (= 5.2.0.rc1)
|
12
|
+
nio4r (~> 2.0)
|
13
|
+
websocket-driver (>= 0.6.1)
|
14
|
+
actionmailer (5.2.0.rc1)
|
15
|
+
actionpack (= 5.2.0.rc1)
|
16
|
+
actionview (= 5.2.0.rc1)
|
17
|
+
activejob (= 5.2.0.rc1)
|
18
|
+
mail (~> 2.5, >= 2.5.4)
|
19
|
+
rails-dom-testing (~> 2.0)
|
20
|
+
actionpack (5.2.0.rc1)
|
21
|
+
actionview (= 5.2.0.rc1)
|
22
|
+
activesupport (= 5.2.0.rc1)
|
23
|
+
rack (~> 2.0)
|
24
|
+
rack-test (>= 0.6.3)
|
25
|
+
rails-dom-testing (~> 2.0)
|
26
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
27
|
+
actionview (5.2.0.rc1)
|
28
|
+
activesupport (= 5.2.0.rc1)
|
29
|
+
builder (~> 3.1)
|
30
|
+
erubi (~> 1.4)
|
31
|
+
rails-dom-testing (~> 2.0)
|
32
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
33
|
+
activejob (5.2.0.rc1)
|
34
|
+
activesupport (= 5.2.0.rc1)
|
35
|
+
globalid (>= 0.3.6)
|
36
|
+
activemodel (5.2.0.rc1)
|
37
|
+
activesupport (= 5.2.0.rc1)
|
38
|
+
activerecord (5.2.0.rc1)
|
39
|
+
activemodel (= 5.2.0.rc1)
|
40
|
+
activesupport (= 5.2.0.rc1)
|
41
|
+
arel (>= 9.0)
|
42
|
+
activestorage (5.2.0.rc1)
|
43
|
+
actionpack (= 5.2.0.rc1)
|
44
|
+
activerecord (= 5.2.0.rc1)
|
45
|
+
marcel (~> 0.3.1)
|
46
|
+
activesupport (5.2.0.rc1)
|
47
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
48
|
+
i18n (~> 0.7)
|
49
|
+
minitest (~> 5.1)
|
50
|
+
tzinfo (~> 1.1)
|
51
|
+
appraisal (2.2.0)
|
52
|
+
bundler
|
53
|
+
rake
|
54
|
+
thor (>= 0.14.0)
|
55
|
+
arel (9.0.0)
|
56
|
+
builder (3.2.3)
|
57
|
+
byebug (10.0.0)
|
58
|
+
coderay (1.1.2)
|
59
|
+
concurrent-ruby (1.0.5)
|
60
|
+
crass (1.0.3)
|
61
|
+
diff-lcs (1.3)
|
62
|
+
docile (1.1.5)
|
63
|
+
erubi (1.7.0)
|
64
|
+
ffi (1.9.21)
|
65
|
+
formatador (0.2.5)
|
66
|
+
globalid (0.4.1)
|
67
|
+
activesupport (>= 4.2.0)
|
68
|
+
guard (2.14.2)
|
69
|
+
formatador (>= 0.2.4)
|
70
|
+
listen (>= 2.7, < 4.0)
|
71
|
+
lumberjack (>= 1.0.12, < 2.0)
|
72
|
+
nenv (~> 0.1)
|
73
|
+
notiffany (~> 0.0)
|
74
|
+
pry (>= 0.9.12)
|
75
|
+
shellany (~> 0.0)
|
76
|
+
thor (>= 0.18.1)
|
77
|
+
guard-compat (1.2.1)
|
78
|
+
guard-rspec (4.7.3)
|
79
|
+
guard (~> 2.1)
|
80
|
+
guard-compat (~> 1.1)
|
81
|
+
rspec (>= 2.99.0, < 4.0)
|
82
|
+
i18n (0.9.5)
|
83
|
+
concurrent-ruby (~> 1.0)
|
84
|
+
json (2.1.0)
|
85
|
+
listen (3.1.5)
|
86
|
+
rb-fsevent (~> 0.9, >= 0.9.4)
|
87
|
+
rb-inotify (~> 0.9, >= 0.9.7)
|
88
|
+
ruby_dep (~> 1.2)
|
89
|
+
loofah (2.2.0)
|
90
|
+
crass (~> 1.0.2)
|
91
|
+
nokogiri (>= 1.5.9)
|
92
|
+
lumberjack (1.0.12)
|
93
|
+
mail (2.7.0)
|
94
|
+
mini_mime (>= 0.1.1)
|
95
|
+
marcel (0.3.1)
|
96
|
+
mimemagic (~> 0.3.2)
|
97
|
+
metaclass (0.0.4)
|
98
|
+
method_source (0.9.0)
|
99
|
+
mimemagic (0.3.2)
|
100
|
+
mini_mime (1.0.0)
|
101
|
+
mini_portile2 (2.3.0)
|
102
|
+
minitest (5.11.3)
|
103
|
+
minitest-rg (5.2.0)
|
104
|
+
minitest (~> 5.0)
|
105
|
+
mocha (1.3.0)
|
106
|
+
metaclass (~> 0.0.1)
|
107
|
+
mysql2 (0.4.10)
|
108
|
+
nenv (0.3.0)
|
109
|
+
nio4r (2.2.0)
|
110
|
+
nokogiri (1.8.2)
|
111
|
+
mini_portile2 (~> 2.3.0)
|
112
|
+
notiffany (0.1.1)
|
113
|
+
nenv (~> 0.1)
|
114
|
+
shellany (~> 0.0)
|
115
|
+
pry (0.11.3)
|
116
|
+
coderay (~> 1.1.0)
|
117
|
+
method_source (~> 0.9.0)
|
118
|
+
rack (2.0.4)
|
119
|
+
rack-test (0.8.2)
|
120
|
+
rack (>= 1.0, < 3)
|
121
|
+
rails (5.2.0.rc1)
|
122
|
+
actioncable (= 5.2.0.rc1)
|
123
|
+
actionmailer (= 5.2.0.rc1)
|
124
|
+
actionpack (= 5.2.0.rc1)
|
125
|
+
actionview (= 5.2.0.rc1)
|
126
|
+
activejob (= 5.2.0.rc1)
|
127
|
+
activemodel (= 5.2.0.rc1)
|
128
|
+
activerecord (= 5.2.0.rc1)
|
129
|
+
activestorage (= 5.2.0.rc1)
|
130
|
+
activesupport (= 5.2.0.rc1)
|
131
|
+
bundler (>= 1.3.0)
|
132
|
+
railties (= 5.2.0.rc1)
|
133
|
+
sprockets-rails (>= 2.0.0)
|
134
|
+
rails-dom-testing (2.0.3)
|
135
|
+
activesupport (>= 4.2.0)
|
136
|
+
nokogiri (>= 1.6)
|
137
|
+
rails-html-sanitizer (1.0.3)
|
138
|
+
loofah (~> 2.0)
|
139
|
+
railties (5.2.0.rc1)
|
140
|
+
actionpack (= 5.2.0.rc1)
|
141
|
+
activesupport (= 5.2.0.rc1)
|
142
|
+
method_source
|
143
|
+
rake (>= 0.8.7)
|
144
|
+
thor (>= 0.18.1, < 2.0)
|
145
|
+
rake (12.3.0)
|
146
|
+
rb-fsevent (0.10.2)
|
147
|
+
rb-inotify (0.9.10)
|
148
|
+
ffi (>= 0.5.0, < 2)
|
149
|
+
rspec (3.7.0)
|
150
|
+
rspec-core (~> 3.7.0)
|
151
|
+
rspec-expectations (~> 3.7.0)
|
152
|
+
rspec-mocks (~> 3.7.0)
|
153
|
+
rspec-core (3.7.1)
|
154
|
+
rspec-support (~> 3.7.0)
|
155
|
+
rspec-expectations (3.7.0)
|
156
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
157
|
+
rspec-support (~> 3.7.0)
|
158
|
+
rspec-mocks (3.7.0)
|
159
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
160
|
+
rspec-support (~> 3.7.0)
|
161
|
+
rspec-support (3.7.1)
|
162
|
+
ruby_dep (1.5.0)
|
163
|
+
shellany (0.0.1)
|
164
|
+
simplecov (0.15.1)
|
165
|
+
docile (~> 1.1.0)
|
166
|
+
json (>= 1.8, < 3)
|
167
|
+
simplecov-html (~> 0.10.0)
|
168
|
+
simplecov-html (0.10.2)
|
169
|
+
sprockets (3.7.1)
|
170
|
+
concurrent-ruby (~> 1.0)
|
171
|
+
rack (> 1, < 3)
|
172
|
+
sprockets-rails (3.2.1)
|
173
|
+
actionpack (>= 4.0)
|
174
|
+
activesupport (>= 4.0)
|
175
|
+
sprockets (>= 3.0.0)
|
176
|
+
sqlite3 (1.3.13)
|
177
|
+
thor (0.20.0)
|
178
|
+
thread_safe (0.3.6)
|
179
|
+
tzinfo (1.2.5)
|
180
|
+
thread_safe (~> 0.1)
|
181
|
+
websocket-driver (0.7.0)
|
182
|
+
websocket-extensions (>= 0.1.0)
|
183
|
+
websocket-extensions (0.1.3)
|
184
|
+
|
185
|
+
PLATFORMS
|
186
|
+
ruby
|
187
|
+
|
188
|
+
DEPENDENCIES
|
189
|
+
appraisal
|
190
|
+
byebug
|
191
|
+
guard
|
192
|
+
guard-rspec
|
193
|
+
minitest-rg
|
194
|
+
mocha
|
195
|
+
mysql2
|
196
|
+
nondestructive_migrations!
|
197
|
+
rails (= 5.2.0.rc1)
|
198
|
+
rake
|
199
|
+
simplecov
|
200
|
+
sqlite3
|
201
|
+
|
202
|
+
BUNDLED WITH
|
203
|
+
1.16.1
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# This file was generated by Appraisal
|
2
|
+
|
3
|
+
source "https://rubygems.org"
|
4
|
+
|
5
|
+
gem "appraisal"
|
6
|
+
gem "guard"
|
7
|
+
gem "guard-rspec"
|
8
|
+
gem "rake"
|
9
|
+
gem "byebug", platform: :mri_21
|
10
|
+
gem "sqlite3"
|
11
|
+
gem "mysql2"
|
12
|
+
gem "mocha"
|
13
|
+
gem "rails", "6.0.0"
|
14
|
+
gem "minitest-rg"
|
15
|
+
|
16
|
+
group :test do
|
17
|
+
gem "simplecov", require: false
|
18
|
+
end
|
19
|
+
|
20
|
+
gemspec path: "../"
|
@@ -1,6 +1,6 @@
|
|
1
|
-
class CreateDataMigrations < ActiveRecord::Migration[
|
1
|
+
class CreateDataMigrations < ActiveRecord::Migration[<%= Gem.loaded_specs['activerecord'].version.to_s.split(".")[0..1].join(".") %>]
|
2
2
|
def self.up
|
3
|
-
create_table :data_migrations do |t|
|
3
|
+
create_table :data_migrations, id: false do |t|
|
4
4
|
t.string :version
|
5
5
|
end
|
6
6
|
end
|
metadata
CHANGED
@@ -1,35 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nonschema_migrations
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.1
|
4
|
+
version: 6.5.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:
|
11
|
+
date: 2024-01-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: rails
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '5.1'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: '7'
|
22
|
+
version: '7.1'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
|
-
- - "
|
27
|
+
- - ">"
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '
|
29
|
+
version: '5.1'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: '7'
|
32
|
+
version: '7.1'
|
33
33
|
description: Separate schema-only migrations from nonschema (data) migrations in your
|
34
34
|
Rails app
|
35
35
|
email: code@jasonfb.net
|
@@ -37,28 +37,52 @@ executables: []
|
|
37
37
|
extensions: []
|
38
38
|
extra_rdoc_files: []
|
39
39
|
files:
|
40
|
+
- ".bundle/config"
|
41
|
+
- ".github/FUNDING.yml"
|
42
|
+
- ".gitignore"
|
43
|
+
- ".travis.yml"
|
44
|
+
- Appraisals
|
45
|
+
- Gemfile
|
46
|
+
- Gemfile.lock
|
47
|
+
- LICENCE.md
|
48
|
+
- README.md
|
49
|
+
- Rakefile
|
50
|
+
- gemfiles/.bundle/config
|
51
|
+
- gemfiles/rails_4_0.gemfile
|
52
|
+
- gemfiles/rails_4_0.gemfile.lock
|
53
|
+
- gemfiles/rails_4_1.gemfile
|
54
|
+
- gemfiles/rails_4_1.gemfile.lock
|
55
|
+
- gemfiles/rails_4_2.gemfile
|
56
|
+
- gemfiles/rails_4_2.gemfile.lock
|
57
|
+
- gemfiles/rails_5_0.gemfile
|
58
|
+
- gemfiles/rails_5_0.gemfile.lock
|
59
|
+
- gemfiles/rails_5_1.gemfile
|
60
|
+
- gemfiles/rails_5_1.gemfile.lock
|
61
|
+
- gemfiles/rails_5_2.gemfile
|
62
|
+
- gemfiles/rails_5_2.gemfile.lock
|
63
|
+
- gemfiles/rails_6_0.gemfile
|
40
64
|
- lib/active_record/data_migration.rb
|
41
65
|
- lib/generators/data_migration_generator.rb
|
42
66
|
- lib/generators/data_migrations/install_generator.rb
|
43
67
|
- lib/generators/data_migrations/templates/create_data_migrations.rb
|
68
|
+
- lib/generators/data_migrations/templates/migration.rb
|
44
69
|
- lib/nonschema_migrations.rb
|
45
70
|
- lib/nonschema_migrations/railtie.rb
|
71
|
+
- lib/nonschema_migrations/version.rb
|
46
72
|
- lib/nonschema_migrator.rb
|
47
73
|
- lib/tasks/data.rb
|
48
|
-
homepage: https://
|
74
|
+
homepage: https://github.com/jasonfb/nonschema_migrations
|
49
75
|
licenses:
|
50
76
|
- MIT
|
51
77
|
metadata:
|
52
78
|
source_code_uri: https://github.com/jasonfb/nonschema_migrations
|
53
79
|
documentation_uri: https://jasonfleetwoodboldt.com/my-open-source-projects/nonschema-migrations/
|
54
|
-
homepage_uri: https://
|
55
|
-
post_install_message:
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
rails generate data_migrations:install
|
61
|
-
---------------------------------------------
|
80
|
+
homepage_uri: https://heliosdev.shop/
|
81
|
+
post_install_message: "---------------------------------------------\nWelcome to Nonschema
|
82
|
+
Migrations\n\n1. run set up data migrations:\nrails generate data_migrations:install\n2.
|
83
|
+
to create a data migration use\nrails generate data_migration SetupExampleData\n\nYou
|
84
|
+
can think of data migrations like seed data for production, staging, and dev environments.
|
85
|
+
\n\nFor support please see https://heliosdev.shop/\n---------------------------------------------\n"
|
62
86
|
rdoc_options: []
|
63
87
|
require_paths:
|
64
88
|
- lib
|
@@ -73,7 +97,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
73
97
|
- !ruby/object:Gem::Version
|
74
98
|
version: '0'
|
75
99
|
requirements: []
|
76
|
-
rubygems_version: 3.
|
100
|
+
rubygems_version: 3.4.10
|
77
101
|
signing_key:
|
78
102
|
specification_version: 4
|
79
103
|
summary: Nonschema(data-only) migrations for your Rails app
|