Skip to content

Commit

Permalink
Remove Ruby 2.6 support (#1521)
Browse files Browse the repository at this point in the history
  • Loading branch information
dougmrqs committed Mar 22, 2023
1 parent 195153c commit c87b957
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ jobs:
- 3.1.3
- 3.0.5
- 2.7.7
- 2.6.10
appraisal:
- rails_7_0
- rails_6_1
Expand All @@ -48,7 +47,6 @@ jobs:
- { ruby: 3.0.5, appraisal: rails_5_2 }
- { ruby: 3.0.5, appraisal: rails_7_0 }
- { ruby: 2.7.7, appraisal: rails_7_0 }
- { ruby: 2.6.10, appraisal: rails_7_0 }
env:
DATABASE_ADAPTER: ${{ matrix.adapter }}
BUNDLE_GEMFILE: gemfiles/${{ matrix.appraisal }}.gemfile
Expand Down
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ require:
- rubocop-rails
AllCops:
NewCops: disable
TargetRubyVersion: 2.6
TargetRubyVersion: 2.7
Exclude:
- 'gemfiles/*'
Bundler/OrderedGems:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ machine, understanding the codebase, and creating a good pull request.

## Compatibility

Shoulda Matchers is tested and supported against Ruby 2.6+, Rails
Shoulda Matchers is tested and supported against Ruby 2.7+, Rails
5.2+, RSpec 3.x, and Minitest 5.x.

- For Ruby < 2.4 and Rails < 4.1 compatibility, please use [v3.1.3][v3.1.3].
Expand Down
2 changes: 1 addition & 1 deletion shoulda-matchers.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ Gem::Specification.new do |s|
'shoulda-matchers.gemspec']
s.require_paths = ['lib']

s.required_ruby_version = '>= 2.6.0'
s.required_ruby_version = '>= 2.7.0'
s.add_dependency('activesupport', '>= 5.2.0')
end

0 comments on commit c87b957

Please sign in to comment.