Skip to content

Commit

Permalink
Test with Active Record 7.2.0 on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ankane committed Aug 10, 2024
1 parent 63c5f00 commit 49f7661
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ jobs:
matrix:
include:
- ruby: 3.3
gemfile: gemfiles/activerecord72.gemfile
gemfile: Gemfile
postgres: true
- ruby: 3.2
gemfile: Gemfile
gemfile: gemfiles/activerecord71.gemfile
postgres: true
- ruby: 3.1
gemfile: gemfiles/activerecord70.gemfile
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ source "https://rubygems.org"

gemspec

gem "activerecord", "~> 7.1.0"
gem "activerecord", "~> 7.2.0"
gem "minitest"
gem "pg"
gem "rake"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ source "https://rubygems.org"

gemspec path: ".."

gem "activerecord", "~> 7.2.0.beta2"
gem "activerecord", "~> 7.1.0"
gem "minitest"
gem "pg"
gem "rake"
Expand Down
4 changes: 4 additions & 0 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,7 @@ def mongoid?
else
require_relative "support/active_record"
end

if ActiveSupport::VERSION::STRING.to_f == 7.2
ActiveSupport.to_time_preserves_timezone = true
end

0 comments on commit 49f7661

Please sign in to comment.