Skip to content

Commit

Permalink
refactor!: update minimum Ruby version to 3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
blocknotes committed Feb 25, 2024
1 parent fa1567a commit 5bf2ec9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ AllCops:
- gemfiles/*
- spec/dummy??/**/*
- vendor/**/*
TargetRubyVersion: 2.7
TargetRubyVersion: 3.0

Lint/MissingSuper:
Exclude:
Expand Down
2 changes: 1 addition & 1 deletion active_storage_db.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Gem::Specification.new do |spec|
spec.description = 'An ActiveStorage service plugin to store files in database.'
spec.license = 'MIT'

spec.required_ruby_version = '>= 2.7.0'
spec.required_ruby_version = '>= 3.0'

spec.metadata['homepage_uri'] = spec.homepage
spec.metadata['source_code_uri'] = spec.homepage
Expand Down
2 changes: 1 addition & 1 deletion spec/rails_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
require 'factory_bot_rails'

support_files = File.expand_path('support/**/*.rb', __dir__)
Dir[support_files].sort.each { |f| require f }
Dir[support_files].each { |f| require f }

# begin
# ActiveRecord::Migration.maintain_test_schema!
Expand Down

0 comments on commit 5bf2ec9

Please sign in to comment.