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 93db173 commit efcf66f
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ jobs:
matrix:
include:
- ruby: 3.3
gemfile: gemfiles/activerecord72.gemfile
- ruby: 3.2
gemfile: Gemfile
- ruby: 3.2
gemfile: gemfiles/activerecord71.gemfile
- ruby: 3.1
gemfile: gemfiles/activerecord70.gemfile
- ruby: "3.0"
Expand Down
4 changes: 2 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ gemspec

gem "rake"
gem "minitest"
gem "activerecord", "~> 7.1.0"
gem "activerecord", "~> 7.2.0"
gem "pg"
gem "mysql2"
gem "trilogy"
gem "sqlite3", "< 2"
gem "sqlite3"
gem "ruby-prof", require: false
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ gemspec path: ".."

gem "rake"
gem "minitest"
gem "activerecord", "~> 7.2.0.beta1"
gem "activerecord", "~> 7.1.0"
gem "pg"
gem "mysql2"
gem "trilogy"
gem "sqlite3"
gem "sqlite3", "< 2"
4 changes: 4 additions & 0 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@
formats: {special: "%b %e, %Y"}
}

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

class Minitest::Test
def setup
if enumerable?
Expand Down

0 comments on commit efcf66f

Please sign in to comment.