Skip to content

Commit

Permalink
Drop EOL Ruby and Rails versions support
Browse files Browse the repository at this point in the history
  • Loading branch information
Irving-Betterment committed Dec 28, 2023
1 parent 342acb9 commit a30aa1d
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 33 deletions.
17 changes: 1 addition & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,26 +8,11 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: ['2.6', '2.7', '3.0', '3.1', '3.2']
ruby: ['3.0', '3.1', '3.2']
gemfile:
- gemfiles/rails_5_2.gemfile
- gemfiles/rails_6_0.gemfile
- gemfiles/rails_6_1.gemfile
- gemfiles/rails_7_0.gemfile
- gemfiles/rails_7_1.gemfile
exclude:
- ruby: '3.2'
gemfile: gemfiles/rails_5_2.gemfile
- ruby: '3.1'
gemfile: gemfiles/rails_5_2.gemfile
- ruby: '3.0'
gemfile: gemfiles/rails_5_2.gemfile
- ruby: '2.7'
gemfile: gemfiles/rails_7_1.gemfile
- ruby: '2.6'
gemfile: gemfiles/rails_7_1.gemfile
- ruby: '2.6'
gemfile: gemfiles/rails_7_0.gemfile
services:
postgres:
image: postgres
Expand Down
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ inherit_mode:
- Exclude

AllCops:
TargetRubyVersion: 2.6
TargetRubyVersion: 3.0
Exclude:
- 'lib/generators/delayed/templates/*.rb'
NewCops: enable
Expand Down
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.7.5
3.2.2
12 changes: 0 additions & 12 deletions Appraisals
Original file line number Diff line number Diff line change
@@ -1,15 +1,3 @@
appraise 'rails-5-2' do
gem 'actionmailer', '~> 5.2.0'
gem 'activejob', '~> 5.2.0'
gem 'activerecord', '~> 5.2.0'
end

appraise 'rails-6-0' do
gem 'actionmailer', '~> 6.0.0'
gem 'activejob', '~> 6.0.0'
gem 'activerecord', '~> 6.0.0'
end

appraise 'rails-6-1' do
gem 'actionmailer', '~> 6.1.0'
gem 'activejob', '~> 6.1.0'
Expand Down
6 changes: 3 additions & 3 deletions delayed.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ Gem::Specification.new do |spec|
spec.require_paths = ['lib']
spec.summary = 'a multi-threaded, SQL-driven ActiveJob backend used at Betterment to process millions of background jobs per day'

spec.version = '0.5.2'
spec.version = '0.6.0'
spec.metadata = {
'changelog_uri' => 'https://github.com/betterment/delayed/blob/main/CHANGELOG.md',
'bug_tracker_uri' => 'https://github.com/betterment/delayed/issues',
'source_code_uri' => 'https://github.com/betterment/delayed',
'rubygems_mfa_required' => 'true',
}
spec.required_ruby_version = '>= 2.6'
spec.required_ruby_version = '>= 3.0'

spec.add_dependency 'activerecord', '>= 5.2'
spec.add_dependency 'activerecord', '>= 6.1'
spec.add_dependency 'concurrent-ruby'
end

0 comments on commit a30aa1d

Please sign in to comment.