Skip to content

Commit

Permalink
chore: drop ruby 2.7 support
Browse files Browse the repository at this point in the history
- [x] update all related files for new ruby version minimum (3.0)

Signed-off-by: jmeridth <[email protected]>
  • Loading branch information
jmeridth committed Mar 18, 2024
1 parent 27fff0b commit 5ddabe3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,12 @@ jobs:
SPEC_GEMFILE: spec/Gemfile
strategy:
matrix:
ruby: ['2.7', '3.0', '3.1', '3.2', '3.3']
os: [ubuntu-latest]
ruby: ['3.0', '3.1', '3.2', '3.3']
postgres: ['16-bookworm', '15-bookworm', '14-bookworm', '13-bookworm', '12-bookworm']
name: Ruby ${{ matrix.ruby }} - PostgreSQL ${{ matrix.postgres }}
# https://docs.github.com/en/actions/learn-github-actions/expressions#example
runs-on: ${{ matrix.ruby == '2.7' && 'ubuntu-20.04' || 'ubuntu-latest' }}
runs-on: ${{ matrix.os }}
services:
postgres:
image: postgres:${{ matrix.postgres }}
Expand Down
3 changes: 1 addition & 2 deletions SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ Ruby versions that are currently being supported with security updates.

| Version | Supported |
| ------- | ------------------ |
| <=2.6 | :x: |
| 2.7 | :white_check_mark: |
| <=2.7 | :x: |
| 3.0 | :white_check_mark: |
| 3.1 | :white_check_mark: |
| 3.2 | :white_check_mark: |
Expand Down
1 change: 1 addition & 0 deletions rspec_profiling.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Gem::Specification.new do |spec|
spec.summary = %q{Profile RSpec test suites}
spec.homepage = "https://github.com/procore-oss/rspec_profiling"
spec.license = "MIT"
spec.required_ruby_version = Gem::Requirement.new('>= 3.0')

spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
Expand Down

0 comments on commit 5ddabe3

Please sign in to comment.