Skip to content

Commit 618ff8e

Browse files
author
Josh Branham
authored
Test Rails 7.1 and upgrade salsify_rubocop (#29)
* Test Rails 7.1 and upgrade salsify_rubocop * Version bump * Bump dep in gemspec
1 parent 380ba44 commit 618ff8e

File tree

6 files changed

+38
-20
lines changed

6 files changed

+38
-20
lines changed

.circleci/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ workflows:
7171
gemfile:
7272
- "gemfiles/rails_6.1.gemfile"
7373
- "gemfiles/rails_7.0.gemfile"
74+
- "gemfiles/rails_7.1.gemfile"
7475
ruby_version:
7576
- "3.0.6"
7677
- "3.1.4"

Appraisals

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,8 @@ appraise 'rails-7.0' do
99
gem 'activerecord', '~> 7.0.2'
1010
gem 'activesupport', '~> 7.0.2'
1111
end
12+
13+
appraise 'rails-7.1' do
14+
gem 'activerecord', '~> 7.1.1'
15+
gem 'activesupport', '~> 7.1.1'
16+
end

CHANGELOG.md

Lines changed: 20 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,61 +1,65 @@
11
# Changelog
22

3-
### 0.9.0
3+
## 0.10.0
4+
5+
- Add support for Rails 7.1
6+
7+
## 0.9.0
48
- Add a `CompleteStuckJobGroupsJob`, which can be run periodically to close "stuck" job groups
59
- Drop support for Ruby 2.7
610
- Drop support for Rails 6.0
711

8-
### 0.8.0
12+
## 0.8.0
913
- Drop support for ruby < 2.7
1014
- Add support for ruby 3.1
1115
- Drop Rails 5.2
1216
- Add Rails 7.0
1317

14-
### 0.7.0
18+
## 0.7.0
1519
* Add support for ruby 3
1620
* Drop support for ruby < 2.6
1721

18-
### 0.6.2
22+
## 0.6.2
1923
* Defer including extension until delayed_job_active_record is loaded
2024

21-
### 0.6.1
25+
## 0.6.1
2226
* Fix job_group_id `belongs_to` behavior when `config.active_record.belongs_to_required_by_default` is enabled.
2327

24-
### 0.6.0
28+
## 0.6.0
2529
* Add support for Rails 6.1.
2630

27-
### 0.5.0
31+
## 0.5.0
2832
* Drop support for Ruby 2.3 and 2.4.
2933
* Drop support for Rails < 5.2.
3034
* Bugfix for rails version in generated migration files
3135

32-
### 0.4.3
36+
## 0.4.3
3337
* Bugfix for `on_completion_job` when `failure_cancels_group` is set to false.
3438

35-
### 0.4.2
39+
## 0.4.2
3640
* Add support for Rails 6.0.
3741

38-
### 0.4.1
42+
## 0.4.1
3943
* Bugfix for `on_completion_job` and `on_cancellation_job` YAML serialization
4044

41-
### 0.4.0
45+
## 0.4.0
4246
* Drop support for Ruby 2.0, 2.1 and 2.2.
4347
* Add support for Ruby 2.5.
4448
* Drop support for Rails < 4.2.
4549
* Add support for Rails 5.2
4650

47-
### 0.3.0
51+
## 0.3.0
4852
* Drop support for Ruby 1.9 and 2.0.
4953

50-
### 0.2.0
54+
## 0.2.0
5155
* Change supported delayed job version
5256
* Clean up lifecycle management in plugin
5357

54-
### 0.1.3
58+
## 0.1.3
5559
* Change supported rails version.
5660

57-
### 0.1.2
61+
## 0.1.2
5862
* Add configuration option to allow failed jobs not to cancel a group.
5963

60-
### 0.1.1
64+
## 0.1.1
6165
* Update the run_at for all jobs in a JobGroup when it's unblocked.

delayed_job_groups.gemspec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@ Gem::Specification.new do |spec|
2727

2828
spec.required_ruby_version = '>= 3.0'
2929

30+
spec.add_dependency 'activerecord', '>= 6.1', '< 7.2'
3031
spec.add_dependency 'delayed_job', '>= 4.1'
31-
spec.add_dependency 'delayed_job_active_record', '>= 4.1'
32+
spec.add_dependency 'delayed_job_active_record', '>= 4.1.8'
3233

3334
spec.post_install_message = 'See https://github.com/salsify/delayed_job_groups_plugin#installation '\
3435
'for upgrade/installation notes.'
3536

3637
spec.add_development_dependency 'appraisal'
37-
spec.add_dependency 'activerecord', '>= 6.1', '< 7.1'
3838
spec.add_development_dependency 'coveralls_reborn', '>= 0.18.0'
3939
spec.add_development_dependency 'database_cleaner', '>= 1.2'
4040
spec.add_development_dependency 'factory_bot_rails'
@@ -43,7 +43,7 @@ Gem::Specification.new do |spec|
4343
spec.add_development_dependency 'rspec', '~> 3'
4444
spec.add_development_dependency 'rspec-its'
4545
spec.add_development_dependency 'rspec_junit_formatter'
46-
spec.add_development_dependency 'salsify_rubocop', '~> 1.0.1'
46+
spec.add_development_dependency 'salsify_rubocop', '~> 1.43.0'
4747
spec.add_development_dependency 'simplecov'
4848
spec.add_development_dependency 'sqlite3'
4949
spec.add_development_dependency 'timecop'

gemfiles/rails_7.1.gemfile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# This file was generated by Appraisal
2+
3+
source "https://rubygems.org"
4+
5+
gem "activerecord", "~> 7.1.1"
6+
gem "activesupport", "~> 7.1.1"
7+
8+
gemspec path: "../"

lib/delayed/job_groups/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
module Delayed
44
module JobGroups
5-
VERSION = '0.9.0'
5+
VERSION = '0.10.0'
66
end
77
end

0 commit comments

Comments
 (0)