-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add sidekiq 7.2 to test matrix (#22)
Initial discovery on #21 Root cause: https://github.com/sidekiq/sidekiq/blob/main/Changes.md#720 > Adjust redis-client adapter to avoid method_missing [#6083] This can result in app code breaking if your app's Redis API usage was depending on Sidekiq's adapter to correct invalid redis-client API usage 7.2 changed their internal API regarding calling `redis-client`; Support to 7.0 was added by _community_ in #18 and I have very vague memory of it
- Loading branch information
Showing
18 changed files
with
100 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,3 +21,4 @@ tmp | |
*.gemfile.lock | ||
.idea/ | ||
.DS_Store | ||
.tool-versions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,15 @@ | ||
appraise 'sidekiq-5' do | ||
gem 'sidekiq', '~> 5.1', '>= 5.1' | ||
appraise 'sidekiq-6_1' do | ||
gem 'sidekiq', '~> 6.1', '>= 6.1.1', '< 6.2' | ||
end | ||
|
||
appraise 'sidekiq-6' do | ||
gem 'sidekiq', '~> 6.1', '>= 6.1.1' | ||
appraise 'sidekiq-6_2' do | ||
gem 'sidekiq', '~> 6.2', '>= 6.2' | ||
end | ||
|
||
appraise 'sidekiq-7' do | ||
gem 'sidekiq', '~> 7.1', '>= 7.1.0' | ||
appraise 'sidekiq-7_1' do | ||
gem 'sidekiq', '~> 7.1', '>= 7.1.0', '< 7.2' | ||
end | ||
|
||
appraise 'sidekiq-7_2' do | ||
gem 'sidekiq', '~> 7.2', '>= 7.2.0' | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,9 @@ | ||
source "https://rubygems.org" | ||
gemspec | ||
|
||
group :test do | ||
gem "minitest" | ||
gem "mocha", require: false | ||
end | ||
|
||
gem "appraisal" | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# This file was generated by Appraisal | ||
|
||
source "https://rubygems.org" | ||
|
||
gem "appraisal" | ||
gem "sidekiq", "~> 6.1", ">= 6.1.1", "< 6.2" | ||
|
||
group :test do | ||
gem "minitest" | ||
gem "mocha", require: false | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# This file was generated by Appraisal | ||
|
||
source "https://rubygems.org" | ||
|
||
gem "appraisal" | ||
gem "sidekiq", "~> 6.2", ">= 6.2" | ||
|
||
group :test do | ||
gem "minitest" | ||
gem "mocha", require: false | ||
end |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# This file was generated by Appraisal | ||
|
||
source "https://rubygems.org" | ||
|
||
gem "appraisal" | ||
gem "sidekiq", "~> 7.1", ">= 7.1.0", "< 7.2" | ||
|
||
group :test do | ||
gem "minitest" | ||
gem "mocha", require: false | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# This file was generated by Appraisal | ||
|
||
source "https://rubygems.org" | ||
|
||
gem "appraisal" | ||
gem "sidekiq", "~> 7.2", ">= 7.2.0" | ||
|
||
group :test do | ||
gem "minitest" | ||
gem "mocha", require: false | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
$LOAD_PATH.unshift(File.expand_path('../lib', __dir__)) | ||
require 'sidekiq-lock' | ||
|
||
class LockWorker | ||
|