Skip to content

Commit

Permalink
Add support for Ruby 3.2 and drop support for Ruby 2.6 (#3)
Browse files Browse the repository at this point in the history
* Drop support for Ruby 2.6

* Add support for Ruby 3.2

* Update CHANGELOG and bump version
  • Loading branch information
erikkessler1 authored Jan 20, 2023
1 parent 35a6f48 commit 22bb80a
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 8 deletions.
9 changes: 5 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@ workflows:
build:
jobs:
- lint:
ruby_version: "2.7.2"
ruby_version: "2.7.7"
- test:
matrix:
parameters:
ruby_version:
- "2.6.5"
- "2.7.2"
- "3.0.0"
- "2.7.7"
- "3.0.5"
- "3.1.3"
- "3.2.0"
version: 2.1
jobs:
lint:
Expand Down
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ inherit_gem:
salsify_rubocop: conf/rubocop.yml

AllCops:
TargetRubyVersion: 2.6
TargetRubyVersion: 2.7
Exclude:
# IntelliJ compile target directory
- 'out/**/*'
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).

## Unreleased

## 3.0.0 - 2023-01-20
### Changed
- Drop support for Ruby 2.6

## 2.0.0 - 2021-03-31
### Changed
- Require Ruby 2.6+
Expand Down
4 changes: 2 additions & 2 deletions delayed_job_chainable_hooks.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Gem::Specification.new do |spec|
spec.bindir = 'bin'
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.require_paths = ['lib']
spec.required_ruby_version = '>= 2.6'
spec.required_ruby_version = '>= 2.7'

spec.add_dependency 'activesupport', '>= 5.2'
spec.add_dependency 'delayed_job', '>= 4.1'
Expand All @@ -45,7 +45,7 @@ Gem::Specification.new do |spec|
spec.add_development_dependency 'rake', '~> 13.0'
spec.add_development_dependency 'rspec', '>= 3.8'
spec.add_development_dependency 'rspec_junit_formatter'
spec.add_development_dependency 'salsify_rubocop', '~> 1.0.2'
spec.add_development_dependency 'salsify_rubocop', '~> 1.43.0'
spec.add_development_dependency 'simplecov'
spec.add_development_dependency 'sqlite3'
end
2 changes: 1 addition & 1 deletion lib/delayed_job_chainable_hooks/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module DelayedJobChainableHooks
VERSION = '2.0.0'
VERSION = '3.0.0'
end

0 comments on commit 22bb80a

Please sign in to comment.