Skip to content

Commit 22bb80a

Browse files
authored
Add support for Ruby 3.2 and drop support for Ruby 2.6 (#3)
* Drop support for Ruby 2.6 * Add support for Ruby 3.2 * Update CHANGELOG and bump version
1 parent 35a6f48 commit 22bb80a

File tree

5 files changed

+13
-8
lines changed

5 files changed

+13
-8
lines changed

.circleci/config.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@ workflows:
22
build:
33
jobs:
44
- lint:
5-
ruby_version: "2.7.2"
5+
ruby_version: "2.7.7"
66
- test:
77
matrix:
88
parameters:
99
ruby_version:
10-
- "2.6.5"
11-
- "2.7.2"
12-
- "3.0.0"
10+
- "2.7.7"
11+
- "3.0.5"
12+
- "3.1.3"
13+
- "3.2.0"
1314
version: 2.1
1415
jobs:
1516
lint:

.rubocop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ inherit_gem:
22
salsify_rubocop: conf/rubocop.yml
33

44
AllCops:
5-
TargetRubyVersion: 2.6
5+
TargetRubyVersion: 2.7
66
Exclude:
77
# IntelliJ compile target directory
88
- 'out/**/*'

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
66

77
## Unreleased
88

9+
## 3.0.0 - 2023-01-20
10+
### Changed
11+
- Drop support for Ruby 2.6
12+
913
## 2.0.0 - 2021-03-31
1014
### Changed
1115
- Require Ruby 2.6+

delayed_job_chainable_hooks.gemspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Gem::Specification.new do |spec|
3131
spec.bindir = 'bin'
3232
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
3333
spec.require_paths = ['lib']
34-
spec.required_ruby_version = '>= 2.6'
34+
spec.required_ruby_version = '>= 2.7'
3535

3636
spec.add_dependency 'activesupport', '>= 5.2'
3737
spec.add_dependency 'delayed_job', '>= 4.1'
@@ -45,7 +45,7 @@ Gem::Specification.new do |spec|
4545
spec.add_development_dependency 'rake', '~> 13.0'
4646
spec.add_development_dependency 'rspec', '>= 3.8'
4747
spec.add_development_dependency 'rspec_junit_formatter'
48-
spec.add_development_dependency 'salsify_rubocop', '~> 1.0.2'
48+
spec.add_development_dependency 'salsify_rubocop', '~> 1.43.0'
4949
spec.add_development_dependency 'simplecov'
5050
spec.add_development_dependency 'sqlite3'
5151
end
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

33
module DelayedJobChainableHooks
4-
VERSION = '2.0.0'
4+
VERSION = '3.0.0'
55
end

0 commit comments

Comments
 (0)