Skip to content

Commit

Permalink
Update build to encompass newer versions of ruby and rails
Browse files Browse the repository at this point in the history
  • Loading branch information
wkirby committed Oct 11, 2024
1 parent 7749316 commit 06fd4d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
matrix:
# Due to https://github.com/actions/runner/issues/849, we have to use quotes for '3.0'
ruby: ['2.7.2', '3.0', 3.1]
ruby: ['2.7.2', '3.0', 3.1, 3.2]
env:
RUBY_VERSION: ${{ matrix.ruby }}
steps:
Expand Down
6 changes: 1 addition & 5 deletions spec/dummy/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,7 @@ class Application < Rails::Application
config.paths['log'] = 'tmp/log/development.log'
config.paths.add 'config/routes.rb', with: "#{APP_ROOT}/config/routes.rb"

if Rails.version.match?(/^6.0/)
config.active_record.sqlite3.represent_boolean_as_integer = true
else
config.active_record.legacy_connection_handling = false
end
config.active_record.sqlite3.represent_boolean_as_integer = true

def require_environment!
initialize!
Expand Down

0 comments on commit 06fd4d2

Please sign in to comment.