Skip to content

Commit

Permalink
Test Rails 7.1 and upgrade salsify_rubocop (#29)
Browse files Browse the repository at this point in the history
* Test Rails 7.1 and upgrade salsify_rubocop

* Version bump

* Bump dep in gemspec
  • Loading branch information
Josh Branham authored Oct 13, 2023
1 parent 380ba44 commit 618ff8e
Show file tree
Hide file tree
Showing 6 changed files with 38 additions and 20 deletions.
1 change: 1 addition & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ workflows:
gemfile:
- "gemfiles/rails_6.1.gemfile"
- "gemfiles/rails_7.0.gemfile"
- "gemfiles/rails_7.1.gemfile"
ruby_version:
- "3.0.6"
- "3.1.4"
Expand Down
5 changes: 5 additions & 0 deletions Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,8 @@ appraise 'rails-7.0' do
gem 'activerecord', '~> 7.0.2'
gem 'activesupport', '~> 7.0.2'
end

appraise 'rails-7.1' do
gem 'activerecord', '~> 7.1.1'
gem 'activesupport', '~> 7.1.1'
end
36 changes: 20 additions & 16 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,61 +1,65 @@
# Changelog

### 0.9.0
## 0.10.0

- Add support for Rails 7.1

## 0.9.0
- Add a `CompleteStuckJobGroupsJob`, which can be run periodically to close "stuck" job groups
- Drop support for Ruby 2.7
- Drop support for Rails 6.0

### 0.8.0
## 0.8.0
- Drop support for ruby < 2.7
- Add support for ruby 3.1
- Drop Rails 5.2
- Add Rails 7.0

### 0.7.0
## 0.7.0
* Add support for ruby 3
* Drop support for ruby < 2.6

### 0.6.2
## 0.6.2
* Defer including extension until delayed_job_active_record is loaded

### 0.6.1
## 0.6.1
* Fix job_group_id `belongs_to` behavior when `config.active_record.belongs_to_required_by_default` is enabled.

### 0.6.0
## 0.6.0
* Add support for Rails 6.1.

### 0.5.0
## 0.5.0
* Drop support for Ruby 2.3 and 2.4.
* Drop support for Rails < 5.2.
* Bugfix for rails version in generated migration files

### 0.4.3
## 0.4.3
* Bugfix for `on_completion_job` when `failure_cancels_group` is set to false.

### 0.4.2
## 0.4.2
* Add support for Rails 6.0.

### 0.4.1
## 0.4.1
* Bugfix for `on_completion_job` and `on_cancellation_job` YAML serialization

### 0.4.0
## 0.4.0
* Drop support for Ruby 2.0, 2.1 and 2.2.
* Add support for Ruby 2.5.
* Drop support for Rails < 4.2.
* Add support for Rails 5.2

### 0.3.0
## 0.3.0
* Drop support for Ruby 1.9 and 2.0.

### 0.2.0
## 0.2.0
* Change supported delayed job version
* Clean up lifecycle management in plugin

### 0.1.3
## 0.1.3
* Change supported rails version.

### 0.1.2
## 0.1.2
* Add configuration option to allow failed jobs not to cancel a group.

### 0.1.1
## 0.1.1
* Update the run_at for all jobs in a JobGroup when it's unblocked.
6 changes: 3 additions & 3 deletions delayed_job_groups.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ Gem::Specification.new do |spec|

spec.required_ruby_version = '>= 3.0'

spec.add_dependency 'activerecord', '>= 6.1', '< 7.2'
spec.add_dependency 'delayed_job', '>= 4.1'
spec.add_dependency 'delayed_job_active_record', '>= 4.1'
spec.add_dependency 'delayed_job_active_record', '>= 4.1.8'

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

spec.add_development_dependency 'appraisal'
spec.add_dependency 'activerecord', '>= 6.1', '< 7.1'
spec.add_development_dependency 'coveralls_reborn', '>= 0.18.0'
spec.add_development_dependency 'database_cleaner', '>= 1.2'
spec.add_development_dependency 'factory_bot_rails'
Expand All @@ -43,7 +43,7 @@ Gem::Specification.new do |spec|
spec.add_development_dependency 'rspec', '~> 3'
spec.add_development_dependency 'rspec-its'
spec.add_development_dependency 'rspec_junit_formatter'
spec.add_development_dependency 'salsify_rubocop', '~> 1.0.1'
spec.add_development_dependency 'salsify_rubocop', '~> 1.43.0'
spec.add_development_dependency 'simplecov'
spec.add_development_dependency 'sqlite3'
spec.add_development_dependency 'timecop'
Expand Down
8 changes: 8 additions & 0 deletions gemfiles/rails_7.1.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# This file was generated by Appraisal

source "https://rubygems.org"

gem "activerecord", "~> 7.1.1"
gem "activesupport", "~> 7.1.1"

gemspec path: "../"
2 changes: 1 addition & 1 deletion lib/delayed/job_groups/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

module Delayed
module JobGroups
VERSION = '0.9.0'
VERSION = '0.10.0'
end
end

0 comments on commit 618ff8e

Please sign in to comment.