Skip to content

Commit

Permalink
Update development dependencies and use Ruby 3.3 for development
Browse files Browse the repository at this point in the history
pg was updated to 1.5.6 for development with Ruby 3.3.0.
transient_record was released, so the release candidate is no longer
necessary.

CI now uses Ruby 3.3 + Active Record 7.1 as the latest version.
  • Loading branch information
gregnavis committed Mar 2, 2024
1 parent 945d3c8 commit b350205
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
# set LINT to explicitly request rubocop as a dependency.
LINT: true
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.0
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/mysql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on: [push, pull_request]

jobs:
test-latest:
name: "Active Record 7.1 + Ruby 3.2"
name: "Active Record 7.1 + Ruby 3.3"
runs-on: ubuntu-latest
services:
mysql:
Expand All @@ -23,10 +23,10 @@ jobs:
env:
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/Gemfile.activerecord-7.1.x
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: "3.2"
ruby-version: "3.3"
bundler-cache: true
- name: Prepare the database
run: |
Expand Down Expand Up @@ -63,15 +63,15 @@ jobs:
- 3306:3306
strategy:
matrix:
ruby: ["3.0", "3.1", "3.2"]
ruby: ["3.0", "3.1", "3.2", "3.3"]
active_record: ["6.1", "7.0", "7.1"]
exclude:
- ruby: "3.2"
- ruby: "3.3"
active_record: "7.1"
env:
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/Gemfile.activerecord-${{ matrix.active_record }}.x
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
Expand Down Expand Up @@ -128,7 +128,7 @@ jobs:
env:
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/Gemfile.activerecord-${{ matrix.active_record }}.x
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/postgresql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on: [push, pull_request]

jobs:
test-latest:
name: "Active Record 7.1 + Ruby 3.2"
name: "Active Record 7.1 + Ruby 3.3"
runs-on: ubuntu-latest
services:
postgres:
Expand All @@ -22,10 +22,10 @@ jobs:
env:
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/Gemfile.activerecord-7.1.x
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: "3.2"
ruby-version: "3.3"
bundler-cache: true
- name: Prepare PostgreSQL
run: createdb active_record_doctor_secondary
Expand Down Expand Up @@ -63,15 +63,15 @@ jobs:
- 5432:5432
strategy:
matrix:
ruby: ["3.0", "3.1", "3.2"]
ruby: ["3.0", "3.1", "3.2", "3.3"]
active_record: ["6.1", "7.0", "7.1"]
exclude:
- ruby: "3.2"
- ruby: "3.3"
active_record: "7.1"
env:
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/Gemfile.activerecord-${{ matrix.active_record }}.x
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
Expand Down Expand Up @@ -130,7 +130,7 @@ jobs:
env:
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/Gemfile.activerecord-${{ matrix.active_record }}.x
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
Expand Down
4 changes: 2 additions & 2 deletions active_record_doctor.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ Gem::Specification.new do |s|

s.add_development_dependency "minitest-fork_executor", "~> 1.0.2"
s.add_development_dependency "mysql2", "~> 0.5.3"
s.add_development_dependency "pg", "~> 1.1.4"
s.add_development_dependency "pg", "~> 1.5.6"
s.add_development_dependency "railties", ACTIVE_RECORD_SPEC
s.add_development_dependency "rake", "~> 12.3.3"
s.add_development_dependency "transient_record", "= 2.0.0.rc2"
s.add_development_dependency "transient_record", "~> 2.0.0"

# We don't install rubocop in CI because we test against older Rubies that
# are incompatible with Rubocop.
Expand Down

0 comments on commit b350205

Please sign in to comment.