Skip to content

Commit

Permalink
Bump Rails support to Rails 8 (#157)
Browse files Browse the repository at this point in the history
Changes:
- Drop support for Rails 6.2 to keep with the end of life policy.
  • Loading branch information
teoljungberg authored Nov 8, 2024
1 parent cb1bb6f commit 2c061fb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
fail-fast: false
matrix:
ruby: ["3.0", "3.1", "3.2", "3.3", "3.4.0-preview2"]
rails: ["6.1", "7.0", "7.1", "7.2", "8.0.0.rc2"]
rails: ["7.0", "7.1", "7.2", "8.0.0"]
continue-on-error: [false]

services:
Expand Down
4 changes: 2 additions & 2 deletions fx.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ Gem::Specification.new do |spec|
spec.files = `git ls-files -z`.split("\x0")
spec.require_paths = ["lib"]

spec.add_dependency "activerecord", ">= 6.1"
spec.add_dependency "railties", ">= 6.1"
spec.add_dependency "activerecord", ">= 7.0"
spec.add_dependency "railties", ">= 7.0"

spec.required_ruby_version = ">= 3.0"
end
4 changes: 2 additions & 2 deletions spec/dummy/config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ class Application < Rails::Application

config.load_defaults 7.0

if Rails.version <= "7.0"
config.active_record.legacy_connection_handling = false
if Rails.version >= "8.0"
config.active_support.to_time_preserves_timezone = :zone
end
end
end

0 comments on commit 2c061fb

Please sign in to comment.