forked from ixti/sidekiq-throttled
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support Ruby 3.0 and Sidekiq 6.2+ (ixti#102)
* Support Ruby 3.0 * Bump Ruby version for RuboCop * Apply patch from ixti#97 * rubocop --auto-correct * Fix test failure on `spec/sidekiq/throttled/strategy_collection_spec.rb` * Add session middleware to `Sidekiq::Web` See https://github.com/mperham/sidekiq/blob/v6.2.0/Changes.md * Disable `fail-fast` for the test matrix on CI * Fix RuboCop issues * Enable `bundle-cache` of `ruby/setup-ruby` * Disable coveralls temporarily * Check Sidekiq version * Set CSRF token for tests * Fix RuboCop issues * Refactor * Add tests for Sidekiq 6.2 and 6.3
- Loading branch information
1 parent
74dbf05
commit f27b067
Showing
18 changed files
with
134 additions
and
54 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 |
---|---|---|
|
@@ -16,4 +16,4 @@ AllCops: | |
- gemfiles/**/* | ||
- vendor/**/* | ||
NewCops: enable | ||
TargetRubyVersion: 2.4 | ||
TargetRubyVersion: 2.6 |
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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# This file was generated by Appraisal | ||
|
||
source "https://rubygems.org" | ||
|
||
gem "appraisal" | ||
gem "rake" | ||
gem "rspec" | ||
gem "rubocop", "~> 0.90.0", require: false | ||
gem "rubocop-performance", "~> 1.8.0", require: false | ||
gem "rubocop-rspec", "~> 1.43.2", require: false | ||
gem "sidekiq", "~> 6.2.0" | ||
|
||
group :development do | ||
gem "byebug" | ||
gem "guard", require: false | ||
gem "guard-rspec", require: false | ||
gem "guard-rubocop", require: false | ||
end | ||
|
||
group :test do | ||
gem "apparition" | ||
gem "capybara" | ||
gem "coveralls", require: false | ||
gem "puma" | ||
gem "rack-test" | ||
gem "simplecov" | ||
gem "sinatra" | ||
gem "timecop" | ||
end | ||
|
||
gemspec path: "../" |
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,31 @@ | ||
# This file was generated by Appraisal | ||
|
||
source "https://rubygems.org" | ||
|
||
gem "appraisal" | ||
gem "rake" | ||
gem "rspec" | ||
gem "rubocop", "~> 0.90.0", require: false | ||
gem "rubocop-performance", "~> 1.8.0", require: false | ||
gem "rubocop-rspec", "~> 1.43.2", require: false | ||
gem "sidekiq", "~> 6.3.0" | ||
|
||
group :development do | ||
gem "byebug" | ||
gem "guard", require: false | ||
gem "guard-rspec", require: false | ||
gem "guard-rubocop", require: false | ||
end | ||
|
||
group :test do | ||
gem "apparition" | ||
gem "capybara" | ||
gem "coveralls", require: false | ||
gem "puma" | ||
gem "rack-test" | ||
gem "simplecov" | ||
gem "sinatra" | ||
gem "timecop" | ||
end | ||
|
||
gemspec path: "../" |
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
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