standalone_migrations 7.1.2 → 7.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/CI.yml +1 -9
- data/Gemfile +2 -2
- data/README.markdown +13 -1
- data/VERSION +1 -1
- data/lib/standalone_migrations/configurator.rb +72 -43
- data/spec/standalone_migrations/configurator_spec.rb +90 -46
- data/spec/standalone_migrations_spec.rb +3 -3
- data/standalone_migrations.gemspec +7 -7
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aa4253d853dda697a79a89168930f03f2cd24faf8735b3c74160052ed4af42cd
|
4
|
+
data.tar.gz: 9134409f5c61cb61aa8eea4c0f8de328e46f5bf6ac8b91001252c224da72b859
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e3f45a0a083c645cefb4adf7518fcdef10304f5a742e6ed167da2e5353b687b9bf957d9880ff216c17f13197c21afa55f2a9cd5c63f80ae3e288c434450a76ce
|
7
|
+
data.tar.gz: '05090f7bfbbefaf86ca4026b2b000e3efb7460e03aa7ea66554cf6444462ec04c518788fe9ed7ae545c914d062580144b1430eca7876d221446be5a0a7c79c21'
|
data/.github/workflows/CI.yml
CHANGED
@@ -13,22 +13,14 @@ jobs:
|
|
13
13
|
fail-fast: false
|
14
14
|
matrix:
|
15
15
|
ruby:
|
16
|
-
- '2.6'
|
17
16
|
- '2.7'
|
18
17
|
- '3.0'
|
19
18
|
- '3.1'
|
20
19
|
activerecord:
|
21
|
-
- '5.2'
|
22
20
|
- '6.0'
|
23
21
|
- '6.1'
|
24
22
|
- '7.0'
|
25
|
-
|
26
|
-
- activerecord: '5.2'
|
27
|
-
ruby: '3.1'
|
28
|
-
- activerecord: '5.2'
|
29
|
-
ruby: '3.0'
|
30
|
-
- activerecord: '7.0'
|
31
|
-
ruby: '2.6'
|
23
|
+
- '7.1'
|
32
24
|
name: Ruby ${{ matrix.ruby }} / ActiveRecord ${{ matrix.activerecord }}
|
33
25
|
env:
|
34
26
|
AR: ~> ${{ matrix.activerecord }}
|
data/Gemfile
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
source 'https://rubygems.org'
|
2
2
|
|
3
3
|
gem 'rake', '>= 10.0'
|
4
|
-
gem 'activerecord', ENV['AR'] ? ENV['AR'].split(",") : [">= 6.0.0", "< 7.
|
5
|
-
gem 'railties', ENV['AR'] ? ENV['AR'].split(",") : [">= 6.0.0", "< 7.
|
4
|
+
gem 'activerecord', ENV['AR'] ? ENV['AR'].split(",") : [">= 6.0.0", "< 7.2"]
|
5
|
+
gem 'railties', ENV['AR'] ? ENV['AR'].split(",") : [">= 6.0.0", "< 7.2"]
|
6
6
|
gem 'nokogiri', "~> 1.14"
|
7
7
|
|
8
8
|
group :dev do
|
data/README.markdown
CHANGED
@@ -1,9 +1,11 @@
|
|
1
1
|
Rails migrations in non-Rails (and non Ruby) projects.
|
2
2
|
|
3
|
-
[![Build Status](https://
|
3
|
+
[![Build Status](https://github.com/thuss/standalone-migrations/actions/workflows/CI.yml/badge.svg)](https://github.com/thuss/standalone-migrations/actions)
|
4
4
|
|
5
5
|
WHAT'S NEW
|
6
6
|
==========
|
7
|
+
In the 7.x release we've added support for Rails 7 migrations thanks to multiple community submitted PR's!
|
8
|
+
|
7
9
|
In the 6.x release we've added support for Rails 6 migrations thanks to [Marco Adkins](https://github.com/marcoadkins).
|
8
10
|
|
9
11
|
In the 5.x release we have moved to using Rails 5 migrations instead of maintaining our own migration related code. Just about anything you can do with Rails 5 migrations you can now do with [Standalone Migrations](https://github.com/thuss/standalone-migrations) too!
|
@@ -18,6 +20,15 @@ Install Ruby, RubyGems and a ruby-database driver (e.g. `gem install mysql` or `
|
|
18
20
|
|
19
21
|
$ gem install standalone_migrations
|
20
22
|
|
23
|
+
or use a Gemfile (and then `bundle install`):
|
24
|
+
|
25
|
+
```
|
26
|
+
source 'https://rubygems.org'
|
27
|
+
|
28
|
+
gem 'standalone_migrations'
|
29
|
+
gem 'pg' # or mysql2
|
30
|
+
```
|
31
|
+
|
21
32
|
Add to `Rakefile` in your projects base directory:
|
22
33
|
|
23
34
|
```ruby
|
@@ -272,3 +283,4 @@ Contributors
|
|
272
283
|
- [Mithun James](https://github.com/drtechie)
|
273
284
|
- [Sarah Ridge](https://github.com/smridge)
|
274
285
|
- [John Bachir](https://jjb.cc)
|
286
|
+
- [Pysis](https://github.com/Pysis868)
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
7.1.
|
1
|
+
7.1.3
|
@@ -2,7 +2,6 @@ require 'active_support/all'
|
|
2
2
|
require 'yaml'
|
3
3
|
|
4
4
|
module StandaloneMigrations
|
5
|
-
|
6
5
|
class InternalConfigurationsProxy
|
7
6
|
|
8
7
|
attr_reader :configurations
|
@@ -32,70 +31,100 @@ module StandaloneMigrations
|
|
32
31
|
end
|
33
32
|
|
34
33
|
def initialize(options = {})
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
}
|
41
|
-
@options = load_from_file(defaults.dup) || defaults.merge(options)
|
34
|
+
options = options.dup
|
35
|
+
@schema = options.delete('schema')
|
36
|
+
@config_overrides = defaults
|
37
|
+
c_os['paths'].merge!(options.delete('paths') || {})
|
38
|
+
c_os.merge!(options)
|
42
39
|
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
Rails.application.config
|
47
|
-
Rails.application.config.paths["db/seeds.rb"] = seeds
|
48
|
-
end
|
40
|
+
load_from_file
|
41
|
+
|
42
|
+
ENV['SCHEMA'] ||= @schema if @schema
|
43
|
+
rac = Rails.application.config
|
49
44
|
|
50
|
-
|
51
|
-
|
45
|
+
rac.root = c_os['root']
|
46
|
+
c_os['paths'].each do |path, value|
|
47
|
+
rac.paths[path] = value
|
48
|
+
end
|
52
49
|
end
|
53
50
|
|
54
|
-
def
|
55
|
-
|
51
|
+
def config_for_all
|
52
|
+
Configurator.load_configurations.dup
|
56
53
|
end
|
57
54
|
|
58
|
-
def
|
59
|
-
|
55
|
+
def config_for(environment)
|
56
|
+
config_for_all[environment.to_s]
|
60
57
|
end
|
61
58
|
|
62
|
-
def
|
63
|
-
|
59
|
+
def c_os
|
60
|
+
config_overrides
|
61
|
+
end
|
62
|
+
def config_overrides
|
63
|
+
@config_overrides
|
64
64
|
end
|
65
65
|
|
66
|
-
def
|
67
|
-
|
66
|
+
def c_o_p_m
|
67
|
+
config_override_path_mappings
|
68
|
+
end
|
69
|
+
def config_override_path_mappings
|
70
|
+
{
|
71
|
+
'config/database' => {
|
72
|
+
'config_key_path' => ['config', 'database'],
|
73
|
+
'default' => 'db/config.yml'
|
74
|
+
},
|
75
|
+
'db' => {
|
76
|
+
'config_key_path' => ['db' , 'dir' ],
|
77
|
+
'default' => 'db'
|
78
|
+
},
|
79
|
+
'db/migrate' => {
|
80
|
+
'config_key_path' => ['db' , 'migrate' ],
|
81
|
+
'default' => 'db/migrate'
|
82
|
+
},
|
83
|
+
'db/seeds.rb' => {
|
84
|
+
'config_key_path' => ['db' , 'seeds' ],
|
85
|
+
'default' => 'db/seeds.rb'
|
86
|
+
},
|
87
|
+
}
|
68
88
|
end
|
69
89
|
|
70
|
-
def
|
71
|
-
|
90
|
+
def defaults
|
91
|
+
{
|
92
|
+
'paths' => c_o_p_m.map do |path, value|
|
93
|
+
[ path, value['default'] ]
|
94
|
+
end.to_h,
|
95
|
+
'root' => Pathname.pwd,
|
96
|
+
}
|
72
97
|
end
|
73
98
|
|
74
|
-
def
|
75
|
-
|
99
|
+
def schema
|
100
|
+
@schema
|
76
101
|
end
|
77
102
|
|
78
103
|
private
|
79
104
|
|
80
105
|
def configuration_file
|
81
|
-
|
82
|
-
".standalone_migrations"
|
83
|
-
else
|
84
|
-
".#{ENV['DATABASE']}.standalone_migrations"
|
85
|
-
end
|
106
|
+
".#{ENV['DATABASE']}.standalone_migrations".sub(/^\.\./, '.')
|
86
107
|
end
|
87
108
|
|
88
|
-
def load_from_file
|
109
|
+
def load_from_file
|
89
110
|
return nil unless File.exist? configuration_file
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
:migrate_dir => (config["db"] || {})["migrate"] || defaults[:migrate_dir],
|
94
|
-
:root => config["root"] || defaults[:root],
|
95
|
-
:seeds => (config["db"] || {})["seeds"] || defaults[:seeds],
|
96
|
-
:schema => (config["db"] || {})["schema"]
|
97
|
-
}
|
98
|
-
end
|
111
|
+
data = YAML.load( ERB.new(IO.read(configuration_file)).result )
|
112
|
+
|
113
|
+
@schema = data.dig('db', 'schema')
|
99
114
|
|
115
|
+
c_o_paths = c_o_p_m.map do |path, value|
|
116
|
+
[
|
117
|
+
path,
|
118
|
+
data.dig(*value['config_key_path'])
|
119
|
+
]
|
120
|
+
end.to_h.select { |key, value| value.present? }
|
121
|
+
|
122
|
+
c_o_paths = defaults['paths'].merge(c_o_paths)
|
123
|
+
|
124
|
+
@config_overrides = defaults.merge({
|
125
|
+
'paths' => c_o_paths,
|
126
|
+
'root' => data.dig('root'),
|
127
|
+
}.select { |key, value| value.present? })
|
128
|
+
end
|
100
129
|
end
|
101
130
|
end
|
@@ -12,21 +12,47 @@ module StandaloneMigrations
|
|
12
12
|
end
|
13
13
|
end
|
14
14
|
|
15
|
+
it "does not break / emit an error" do
|
16
|
+
expect { Configurator.new }.not_to raise_error
|
17
|
+
end
|
18
|
+
|
19
|
+
context "default values when .standalone_configurations is missing" do
|
20
|
+
let(:configurator) do
|
21
|
+
Configurator.new
|
22
|
+
end
|
23
|
+
|
24
|
+
it "use config/database.yml" do
|
25
|
+
expect(configurator.c_os['paths']['config/database']).to eq('db/config.yml')
|
26
|
+
end
|
27
|
+
|
28
|
+
it "use db dir" do
|
29
|
+
expect(configurator.c_os['paths']['db']).to eq('db')
|
30
|
+
end
|
31
|
+
|
32
|
+
it "use db/migrate dir" do
|
33
|
+
expect(configurator.c_os['paths']['db/migrate']).to eq('db/migrate')
|
34
|
+
end
|
35
|
+
|
36
|
+
it "use db/seeds.rb" do
|
37
|
+
expect(configurator.c_os['paths']['db/seeds.rb']).to eq("db/seeds.rb")
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
15
41
|
describe "environment yaml configuration loading" do
|
16
42
|
|
17
43
|
let(:env_hash_other_db) do
|
18
44
|
{
|
19
45
|
"development" => {"adapter" => "mysql2", "database" => "database_name"},
|
20
|
-
"test"
|
21
|
-
"production"
|
46
|
+
"test" => {"adapter" => "mysql2", "database" => "database_name"},
|
47
|
+
"production" => {"adapter" => "mysql2", "database" => "database_name"}
|
22
48
|
}
|
23
49
|
end
|
24
50
|
|
25
51
|
around(:each) do |example|
|
26
52
|
@env_hash = {
|
27
53
|
"development" => {"adapter" => "sqlite3", "database" => "db/development.sql"},
|
28
|
-
"test"
|
29
|
-
"production"
|
54
|
+
"test" => {"adapter" => "sqlite3", "database" => "db/test.sql" },
|
55
|
+
"production" => {"adapter" => "sqlite3", "database" => ":memory:" }
|
30
56
|
}
|
31
57
|
FileUtils.mkdir_p "db"
|
32
58
|
File.open("db/config.yml", "w") do |f|
|
@@ -88,31 +114,16 @@ module StandaloneMigrations
|
|
88
114
|
|
89
115
|
end
|
90
116
|
|
91
|
-
context "default values when .standalone_configurations is missing" do
|
92
|
-
let(:configurator) do
|
93
|
-
Configurator.new
|
94
|
-
end
|
95
|
-
|
96
|
-
it "use config/database.yml" do
|
97
|
-
expect(configurator.config).to eq('db/config.yml')
|
98
|
-
end
|
99
|
-
|
100
|
-
it "use db/migrate dir" do
|
101
|
-
expect(configurator.migrate_dir).to eq('db/migrate')
|
102
|
-
end
|
103
|
-
|
104
|
-
it "use db/seeds.rb" do
|
105
|
-
expect(configurator.seeds).to eq("db/seeds.rb")
|
106
|
-
end
|
107
|
-
end
|
108
|
-
|
109
117
|
context "passing configurations as a parameter" do
|
110
118
|
let(:args) do
|
111
119
|
{
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
120
|
+
'paths' => {
|
121
|
+
'config/database' => "custom/config/database.yml" ,
|
122
|
+
'db' => "db" ,
|
123
|
+
'db/migrate' => "custom/db/migrate" ,
|
124
|
+
'db/seeds.rb' => "custom/db/seeds.rb" ,
|
125
|
+
},
|
126
|
+
'schema' => "custom/db/schema.rb"
|
116
127
|
}
|
117
128
|
end
|
118
129
|
|
@@ -121,19 +132,31 @@ module StandaloneMigrations
|
|
121
132
|
end
|
122
133
|
|
123
134
|
it "use custom config" do
|
124
|
-
expect(configurator.config).to
|
135
|
+
expect(configurator.c_os['paths']['config/database']).to(
|
136
|
+
eq(args['paths']['config/database'])
|
137
|
+
)
|
138
|
+
end
|
139
|
+
|
140
|
+
it "use custom db dir" do
|
141
|
+
expect(configurator.c_os['paths']['db']).to(
|
142
|
+
eq(args['paths']['db'])
|
143
|
+
)
|
125
144
|
end
|
126
145
|
|
127
146
|
it "use custom migrate dir" do
|
128
|
-
expect(configurator.
|
147
|
+
expect(configurator.c_os['paths']['db/migrate']).to(
|
148
|
+
eq(args['paths']['db/migrate'])
|
149
|
+
)
|
129
150
|
end
|
130
151
|
|
131
152
|
it "use custom seeds" do
|
132
|
-
expect(configurator.seeds).to
|
153
|
+
expect(configurator.c_os['paths']['db/seeds.rb']).to(
|
154
|
+
eq(args['paths']['db/seeds.rb'])
|
155
|
+
)
|
133
156
|
end
|
134
157
|
|
135
158
|
it "use custom schema" do
|
136
|
-
expect(configurator.schema).to eq(args[
|
159
|
+
expect(configurator.schema).to eq(args['schema'])
|
137
160
|
end
|
138
161
|
|
139
162
|
end
|
@@ -148,9 +171,10 @@ module StandaloneMigrations
|
|
148
171
|
let(:yaml_hash) do
|
149
172
|
{
|
150
173
|
"db" => {
|
151
|
-
"
|
152
|
-
"migrate" => "file/db/migrate",
|
153
|
-
|
174
|
+
"dir" => "file/db" ,
|
175
|
+
"migrate" => "file/db/migrate" ,
|
176
|
+
"seeds" => "file/db/seeds.rb" ,
|
177
|
+
"schema" => "file/db/schema.rb"
|
154
178
|
},
|
155
179
|
"config" => {
|
156
180
|
"database" => "file/config/database.yml"
|
@@ -161,9 +185,10 @@ module StandaloneMigrations
|
|
161
185
|
let(:yaml_hash_other_db) do
|
162
186
|
{
|
163
187
|
"db" => {
|
164
|
-
|
165
|
-
"migrate" => "db2/migrate",
|
166
|
-
|
188
|
+
"dir" => "db2" ,
|
189
|
+
"migrate" => "db2/migrate" ,
|
190
|
+
"seeds" => "db2/seeds.rb" ,
|
191
|
+
"schema" => "db2/schema.rb"
|
167
192
|
},
|
168
193
|
"config" => {
|
169
194
|
"database" => "config/config_other.yml"
|
@@ -180,7 +205,9 @@ module StandaloneMigrations
|
|
180
205
|
before(:each) do
|
181
206
|
ENV['DATABASE'] = "other_db"
|
182
207
|
file_other_db = ".other_db.standalone_migrations"
|
183
|
-
File.open(file_other_db, "w")
|
208
|
+
File.open(file_other_db, "w") do |file|
|
209
|
+
file.write(yaml_hash_other_db.to_yaml)
|
210
|
+
end
|
184
211
|
end
|
185
212
|
|
186
213
|
let(:other_configurator) do
|
@@ -188,11 +215,15 @@ module StandaloneMigrations
|
|
188
215
|
end
|
189
216
|
|
190
217
|
it "look up named dot file" do
|
191
|
-
expect(other_configurator.
|
218
|
+
expect(other_configurator.c_os['paths']['config/database']).to(
|
219
|
+
eq(yaml_hash_other_db['config']['database'])
|
220
|
+
)
|
192
221
|
end
|
193
222
|
|
194
223
|
it "load config from named dot file" do
|
195
|
-
expect(other_configurator.
|
224
|
+
expect(other_configurator.c_os['paths']['db/migrate']).to(
|
225
|
+
eq('db2/migrate')
|
226
|
+
)
|
196
227
|
end
|
197
228
|
|
198
229
|
after(:all) do
|
@@ -215,33 +246,46 @@ module StandaloneMigrations
|
|
215
246
|
end
|
216
247
|
|
217
248
|
it "use default values for the missing configurations" do
|
218
|
-
expect(configurator.
|
249
|
+
expect(configurator.c_os['paths']['db']).to(
|
250
|
+
eq('db' )
|
251
|
+
)
|
252
|
+
expect(configurator.c_os['paths']['db/migrate']).to(
|
253
|
+
eq('db/migrate' )
|
254
|
+
)
|
219
255
|
end
|
220
256
|
|
221
257
|
it "use custom config from file" do
|
222
|
-
expect(configurator.
|
258
|
+
expect(configurator.c_os['paths']['config/database']).to(
|
259
|
+
eq(yaml_hash["config"]["database"])
|
260
|
+
)
|
223
261
|
end
|
224
262
|
|
225
263
|
it "use custom config value from partial configuration" do
|
226
|
-
expect(configurator.
|
264
|
+
expect(configurator.c_os['paths']['db/seeds.rb']).to(
|
265
|
+
eq(yaml_hash["db"]["seeds"])
|
266
|
+
)
|
227
267
|
end
|
228
268
|
|
229
269
|
end
|
230
270
|
|
231
271
|
it "use custom config from file" do
|
232
|
-
expect(configurator.
|
272
|
+
expect(configurator.c_os['paths']['config/database']).to(
|
273
|
+
eq(yaml_hash["config"]["database"])
|
274
|
+
)
|
233
275
|
end
|
234
276
|
|
235
277
|
it "use custom migrate dir from file" do
|
236
|
-
expect(configurator.
|
278
|
+
expect(configurator.c_os['paths']['db/migrate']).to eq(yaml_hash["db"]["migrate"])
|
237
279
|
end
|
238
280
|
|
239
281
|
it "use custom seeds from file" do
|
240
|
-
expect(configurator.seeds).to eq(yaml_hash["db"]["seeds"])
|
282
|
+
expect(configurator.c_os['paths']['db/seeds.rb']).to eq(yaml_hash["db"]["seeds"])
|
241
283
|
end
|
242
284
|
|
243
285
|
it "use custom schema from file" do
|
244
|
-
expect(configurator.schema).to
|
286
|
+
expect(configurator.schema).to(
|
287
|
+
eq(yaml_hash["db"]["schema"])
|
288
|
+
)
|
245
289
|
end
|
246
290
|
|
247
291
|
end
|
@@ -18,7 +18,7 @@ describe 'Standalone migrations' do
|
|
18
18
|
end
|
19
19
|
|
20
20
|
def schema
|
21
|
-
ENV['SCHEMA'] ||
|
21
|
+
ENV['SCHEMA'] || 'db/schema.rb'
|
22
22
|
end
|
23
23
|
|
24
24
|
def run(cmd)
|
@@ -296,13 +296,13 @@ production:
|
|
296
296
|
describe 'db:test:load' do
|
297
297
|
it 'loads' do
|
298
298
|
write(schema, "puts 'LOADEDDD'")
|
299
|
-
expect(run("rake db:test:
|
299
|
+
expect(run("rake db:test:load_schema")).to match(/LOADEDDD/)
|
300
300
|
end
|
301
301
|
|
302
302
|
it "fails without schema" do
|
303
303
|
schema_path = schema
|
304
304
|
`rm -rf #{schema_path}` if File.exist?(schema_path)
|
305
|
-
expect { run("rake db:test:
|
305
|
+
expect { run("rake db:test:load_schema") }.to raise_error(/try again/)
|
306
306
|
end
|
307
307
|
end
|
308
308
|
|
@@ -2,16 +2,16 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: standalone_migrations 7.1.
|
5
|
+
# stub: standalone_migrations 7.1.3 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "standalone_migrations".freeze
|
9
|
-
s.version = "7.1.
|
9
|
+
s.version = "7.1.3"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib".freeze]
|
13
13
|
s.authors = ["Todd Huss".freeze, "Michael Grosser".freeze]
|
14
|
-
s.date = "2023-11-
|
14
|
+
s.date = "2023-11-17"
|
15
15
|
s.email = "thuss@gabrito.com".freeze
|
16
16
|
s.extra_rdoc_files = [
|
17
17
|
"LICENSE",
|
@@ -66,13 +66,13 @@ Gem::Specification.new do |s|
|
|
66
66
|
|
67
67
|
if s.respond_to? :add_runtime_dependency then
|
68
68
|
s.add_runtime_dependency(%q<rake>.freeze, [">= 10.0"])
|
69
|
-
s.add_runtime_dependency(%q<activerecord>.freeze, [">= 6.0.0", "< 7.
|
70
|
-
s.add_runtime_dependency(%q<railties>.freeze, [">= 6.0.0", "< 7.
|
69
|
+
s.add_runtime_dependency(%q<activerecord>.freeze, [">= 6.0.0", "< 7.2"])
|
70
|
+
s.add_runtime_dependency(%q<railties>.freeze, [">= 6.0.0", "< 7.2"])
|
71
71
|
s.add_runtime_dependency(%q<nokogiri>.freeze, ["~> 1.14"])
|
72
72
|
else
|
73
73
|
s.add_dependency(%q<rake>.freeze, [">= 10.0"])
|
74
|
-
s.add_dependency(%q<activerecord>.freeze, [">= 6.0.0", "< 7.
|
75
|
-
s.add_dependency(%q<railties>.freeze, [">= 6.0.0", "< 7.
|
74
|
+
s.add_dependency(%q<activerecord>.freeze, [">= 6.0.0", "< 7.2"])
|
75
|
+
s.add_dependency(%q<railties>.freeze, [">= 6.0.0", "< 7.2"])
|
76
76
|
s.add_dependency(%q<nokogiri>.freeze, ["~> 1.14"])
|
77
77
|
end
|
78
78
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: standalone_migrations
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.1.
|
4
|
+
version: 7.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Todd Huss
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2023-11-
|
12
|
+
date: 2023-11-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|
@@ -34,7 +34,7 @@ dependencies:
|
|
34
34
|
version: 6.0.0
|
35
35
|
- - "<"
|
36
36
|
- !ruby/object:Gem::Version
|
37
|
-
version: 7.
|
37
|
+
version: '7.2'
|
38
38
|
type: :runtime
|
39
39
|
prerelease: false
|
40
40
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -44,7 +44,7 @@ dependencies:
|
|
44
44
|
version: 6.0.0
|
45
45
|
- - "<"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 7.
|
47
|
+
version: '7.2'
|
48
48
|
- !ruby/object:Gem::Dependency
|
49
49
|
name: railties
|
50
50
|
requirement: !ruby/object:Gem::Requirement
|
@@ -54,7 +54,7 @@ dependencies:
|
|
54
54
|
version: 6.0.0
|
55
55
|
- - "<"
|
56
56
|
- !ruby/object:Gem::Version
|
57
|
-
version: 7.
|
57
|
+
version: '7.2'
|
58
58
|
type: :runtime
|
59
59
|
prerelease: false
|
60
60
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -64,7 +64,7 @@ dependencies:
|
|
64
64
|
version: 6.0.0
|
65
65
|
- - "<"
|
66
66
|
- !ruby/object:Gem::Version
|
67
|
-
version: 7.
|
67
|
+
version: '7.2'
|
68
68
|
- !ruby/object:Gem::Dependency
|
69
69
|
name: nokogiri
|
70
70
|
requirement: !ruby/object:Gem::Requirement
|