standalone_migrations 7.1.2 → 7.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f5764e519800ba6fc51161d55f3d8e12634737d88f9de3e2620a2b0fc265edf9
4
- data.tar.gz: 00575db5b1e043e6442b8ad01333eebe4b2c4f35ae7e76be3b30ba45e5ae62dd
3
+ metadata.gz: 9a9d8d0731f1f191ffebb727646434c44a2580abb0237e93e1dcc9e1f1b71370
4
+ data.tar.gz: 034312e050a785f8274c3d4ca58300a4816aa2396bd93c2db57a2c7c691e9e99
5
5
  SHA512:
6
- metadata.gz: f2f9fd28fb80d93c9d217b66d655ea76dba963da11e2546fea7a41e84cd1d9bde1305d4c9c19836662ea50625182dcbb8156b925d1c8987c260fbfb9660d2250
7
- data.tar.gz: 0dd36ec1ecf386948fb89ee65a781748c405d11f66d741b30028e922ac9444585e6180a1c441b147bd0eaed54080881baa3bf251e79e9e315156b50a25ca7e5c
6
+ metadata.gz: e77623590939b5788ea62f5086a8463c1ce1d521ddb7a64fd58baa4a4b45b7c539330d1bd9472bf0a3d11fda1bd9db95ce9b218e720150370176760f36c01d40
7
+ data.tar.gz: 0becb7d7dc2cc8c0a992d5960d172a7b8f4d4fb5695f030da5f850ebc4cf0488ff439079cc1bac1d4afac1e1a76d5788dd28d08536cd103ea473003f8edbb10d
@@ -13,22 +13,21 @@ 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'
23
+ - '7.1'
24
+ - '7.2'
25
25
  exclude:
26
- - activerecord: '5.2'
27
- ruby: '3.1'
28
- - activerecord: '5.2'
26
+ - activerecord: '7.2'
27
+ ruby: '2.7'
28
+ - activerecord: '7.2'
29
29
  ruby: '3.0'
30
- - activerecord: '7.0'
31
- ruby: '2.6'
30
+
32
31
  name: Ruby ${{ matrix.ruby }} / ActiveRecord ${{ matrix.activerecord }}
33
32
  env:
34
33
  AR: ~> ${{ matrix.activerecord }}
data/Gemfile CHANGED
@@ -1,12 +1,12 @@
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.1.0"]
5
- gem 'railties', ENV['AR'] ? ENV['AR'].split(",") : [">= 6.0.0", "< 7.1.0"]
4
+ gem 'activerecord', ENV['AR'] ? ENV['AR'].split(",") : [">= 6.0.0", "< 8.0"]
5
+ gem 'railties', ENV['AR'] ? ENV['AR'].split(",") : [">= 6.0.0", "< 8.0"]
6
6
  gem 'nokogiri', "~> 1.14"
7
7
 
8
8
  group :dev do
9
- gem 'sqlite3', '~> 1.5'
9
+ gem 'sqlite3', '< 1.7'
10
10
  gem 'rspec', '>= 2.99.0'
11
11
  gem 'jeweler'
12
12
  end
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://travis-ci.org/thuss/standalone-migrations.svg?branch=master)](https://travis-ci.org/thuss/standalone-migrations)
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.2
1
+ 7.2.0
@@ -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
- defaults = {
36
- :config => "db/config.yml",
37
- :migrate_dir => "db/migrate",
38
- :root => Pathname.pwd,
39
- :seeds => "db/seeds.rb",
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
- ENV['SCHEMA'] ||= schema if schema
44
- Rails.application.config.root = root
45
- Rails.application.config.paths["config/database"] = config
46
- Rails.application.config.paths["db/migrate"] = migrate_dir
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
- def config
51
- @options[:config]
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 migrate_dir
55
- @options[:migrate_dir]
51
+ def config_for_all
52
+ Configurator.load_configurations.dup
56
53
  end
57
54
 
58
- def root
59
- @options[:root]
55
+ def config_for(environment)
56
+ config_for_all[environment.to_s]
60
57
  end
61
58
 
62
- def seeds
63
- @options[:seeds]
59
+ def c_os
60
+ config_overrides
61
+ end
62
+ def config_overrides
63
+ @config_overrides
64
64
  end
65
65
 
66
- def schema
67
- @options[:schema]
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 config_for_all
71
- Configurator.load_configurations.dup
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 config_for(environment)
75
- config_for_all[environment.to_s]
99
+ def schema
100
+ @schema
76
101
  end
77
102
 
78
103
  private
79
104
 
80
105
  def configuration_file
81
- if !ENV['DATABASE']
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(defaults)
109
+ def load_from_file
89
110
  return nil unless File.exist? configuration_file
90
- config = YAML.load( ERB.new(IO.read(configuration_file)).result )
91
- {
92
- :config => config["config"] ? config["config"]["database"] : defaults[:config],
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" => {"adapter" => "mysql2", "database" => "database_name"},
21
- "production" => {"adapter" => "mysql2", "database" => "database_name"}
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" => {"adapter" => "sqlite3", "database" => "db/test.sql"},
29
- "production" => {"adapter" => "sqlite3", "database" => ":memory:"}
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
- :config => "custom/config/database.yml",
113
- :migrate_dir => "custom/db/migrate",
114
- :seeds => "custom/db/seeds.rb",
115
- :schema => "custom/db/schema.rb"
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 eq(args[:config])
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.migrate_dir).to eq(args[:migrate_dir])
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 eq(args[:seeds])
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[:schema])
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
- "seeds" => "file/db/seeds.rb",
152
- "migrate" => "file/db/migrate",
153
- "schema" => "file/db/schema.rb"
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
- "seeds" => "db2/seeds.rb",
165
- "migrate" => "db2/migrate",
166
- "schema" => "db2/schema.rb"
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") { |file| file.write(yaml_hash_other_db.to_yaml) }
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.config).to eq(yaml_hash_other_db['config']['database'])
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.migrate_dir).to eq('db2/migrate')
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.migrate_dir).to eq('db/migrate')
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.config).to eq(yaml_hash["config"]["database"])
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.seeds).to eq(yaml_hash["db"]["seeds"])
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.config).to eq(yaml_hash["config"]["database"])
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.migrate_dir).to eq(yaml_hash["db"]["migrate"])
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 eq(yaml_hash["db"]["schema"])
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'] || ActiveRecord::Tasks::DatabaseTasks.schema_file(ActiveRecord::Base.schema_format)
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:load")).to match(/LOADEDDD/)
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:load") }.to raise_error(/try again/)
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.2 ruby lib
5
+ # stub: standalone_migrations 7.2.0 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "standalone_migrations".freeze
9
- s.version = "7.1.2"
9
+ s.version = "7.2.0"
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-02"
14
+ s.date = "2024-09-13"
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.1.0"])
70
- s.add_runtime_dependency(%q<railties>.freeze, [">= 6.0.0", "< 7.1.0"])
69
+ s.add_runtime_dependency(%q<activerecord>.freeze, [">= 6.0.0", "< 8.0"])
70
+ s.add_runtime_dependency(%q<railties>.freeze, [">= 6.0.0", "< 8.0"])
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.1.0"])
75
- s.add_dependency(%q<railties>.freeze, [">= 6.0.0", "< 7.1.0"])
74
+ s.add_dependency(%q<activerecord>.freeze, [">= 6.0.0", "< 8.0"])
75
+ s.add_dependency(%q<railties>.freeze, [">= 6.0.0", "< 8.0"])
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.2
4
+ version: 7.2.0
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-02 00:00:00.000000000 Z
12
+ date: 2024-09-13 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.1.0
37
+ version: '8.0'
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.1.0
47
+ version: '8.0'
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.1.0
57
+ version: '8.0'
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.1.0
67
+ version: '8.0'
68
68
  - !ruby/object:Gem::Dependency
69
69
  name: nokogiri
70
70
  requirement: !ruby/object:Gem::Requirement