sidekiq-throttled 0.15.0 → 0.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/dependabot.yml +12 -0
- data/.github/workflows/ci.yml +11 -10
- data/.rubocop.yml +8 -7
- data/.rubocop_todo.yml +39 -3
- data/.travis.yml +2 -4
- data/Appraisals +4 -24
- data/CHANGES.md +44 -0
- data/Gemfile +7 -5
- data/LICENSE.md +1 -0
- data/README.md +36 -36
- data/Rakefile +1 -1
- data/gemfiles/{sidekiq_5.2.gemfile → sidekiq_6.4.gemfile} +8 -6
- data/gemfiles/{sidekiq_5.1.gemfile → sidekiq_6.5.gemfile} +8 -6
- data/lib/sidekiq/throttled/communicator/callbacks.rb +1 -1
- data/lib/sidekiq/throttled/communicator/exception_handler.rb +25 -0
- data/lib/sidekiq/throttled/communicator/listener.rb +1 -1
- data/lib/sidekiq/throttled/communicator.rb +1 -1
- data/lib/sidekiq/throttled/configuration.rb +4 -4
- data/lib/sidekiq/throttled/expirable_list.rb +2 -5
- data/lib/sidekiq/throttled/fetch/unit_of_work.rb +7 -2
- data/lib/sidekiq/throttled/fetch.rb +15 -24
- data/lib/sidekiq/throttled/job.rb +128 -0
- data/lib/sidekiq/throttled/strategy/base.rb +6 -2
- data/lib/sidekiq/throttled/version.rb +1 -1
- data/lib/sidekiq/throttled/web/stats.rb +5 -4
- data/lib/sidekiq/throttled/worker.rb +6 -121
- data/lib/sidekiq/throttled.rb +12 -14
- data/{.rubocop → rubocop}/layout.yml +0 -0
- data/{.rubocop → rubocop}/lint.yml +0 -0
- data/{.rubocop → rubocop}/metrics.yml +0 -0
- data/{.rubocop → rubocop}/performance.yml +0 -0
- data/{.rubocop → rubocop}/rspec.yml +1 -1
- data/{.rubocop → rubocop}/style.yml +0 -0
- data/sidekiq-throttled.gemspec +7 -5
- metadata +22 -23
- data/gemfiles/sidekiq_5.0.gemfile +0 -31
- data/gemfiles/sidekiq_6.0.gemfile +0 -31
- data/gemfiles/sidekiq_6.1.gemfile +0 -31
- data/gemfiles/sidekiq_6.2.gemfile +0 -31
- data/gemfiles/sidekiq_6.3.gemfile +0 -31
@@ -1,31 +0,0 @@
|
|
1
|
-
# This file was generated by Appraisal
|
2
|
-
|
3
|
-
source "https://rubygems.org"
|
4
|
-
|
5
|
-
gem "appraisal"
|
6
|
-
gem "rake"
|
7
|
-
gem "rspec"
|
8
|
-
gem "rubocop", "~> 0.90.0", require: false
|
9
|
-
gem "rubocop-performance", "~> 1.8.0", require: false
|
10
|
-
gem "rubocop-rspec", "~> 1.43.2", require: false
|
11
|
-
gem "sidekiq", "~> 6.1.0"
|
12
|
-
|
13
|
-
group :development do
|
14
|
-
gem "byebug"
|
15
|
-
gem "guard", require: false
|
16
|
-
gem "guard-rspec", require: false
|
17
|
-
gem "guard-rubocop", require: false
|
18
|
-
end
|
19
|
-
|
20
|
-
group :test do
|
21
|
-
gem "apparition"
|
22
|
-
gem "capybara"
|
23
|
-
gem "coveralls", require: false
|
24
|
-
gem "puma"
|
25
|
-
gem "rack-test"
|
26
|
-
gem "simplecov"
|
27
|
-
gem "sinatra"
|
28
|
-
gem "timecop"
|
29
|
-
end
|
30
|
-
|
31
|
-
gemspec path: "../"
|
@@ -1,31 +0,0 @@
|
|
1
|
-
# This file was generated by Appraisal
|
2
|
-
|
3
|
-
source "https://rubygems.org"
|
4
|
-
|
5
|
-
gem "appraisal"
|
6
|
-
gem "rake"
|
7
|
-
gem "rspec"
|
8
|
-
gem "rubocop", "~> 0.90.0", require: false
|
9
|
-
gem "rubocop-performance", "~> 1.8.0", require: false
|
10
|
-
gem "rubocop-rspec", "~> 1.43.2", require: false
|
11
|
-
gem "sidekiq", "~> 6.2.0"
|
12
|
-
|
13
|
-
group :development do
|
14
|
-
gem "byebug"
|
15
|
-
gem "guard", require: false
|
16
|
-
gem "guard-rspec", require: false
|
17
|
-
gem "guard-rubocop", require: false
|
18
|
-
end
|
19
|
-
|
20
|
-
group :test do
|
21
|
-
gem "apparition"
|
22
|
-
gem "capybara"
|
23
|
-
gem "coveralls", require: false
|
24
|
-
gem "puma"
|
25
|
-
gem "rack-test"
|
26
|
-
gem "simplecov"
|
27
|
-
gem "sinatra"
|
28
|
-
gem "timecop"
|
29
|
-
end
|
30
|
-
|
31
|
-
gemspec path: "../"
|
@@ -1,31 +0,0 @@
|
|
1
|
-
# This file was generated by Appraisal
|
2
|
-
|
3
|
-
source "https://rubygems.org"
|
4
|
-
|
5
|
-
gem "appraisal"
|
6
|
-
gem "rake"
|
7
|
-
gem "rspec"
|
8
|
-
gem "rubocop", "~> 0.90.0", require: false
|
9
|
-
gem "rubocop-performance", "~> 1.8.0", require: false
|
10
|
-
gem "rubocop-rspec", "~> 1.43.2", require: false
|
11
|
-
gem "sidekiq", "~> 6.3.0"
|
12
|
-
|
13
|
-
group :development do
|
14
|
-
gem "byebug"
|
15
|
-
gem "guard", require: false
|
16
|
-
gem "guard-rspec", require: false
|
17
|
-
gem "guard-rubocop", require: false
|
18
|
-
end
|
19
|
-
|
20
|
-
group :test do
|
21
|
-
gem "apparition"
|
22
|
-
gem "capybara"
|
23
|
-
gem "coveralls", require: false
|
24
|
-
gem "puma"
|
25
|
-
gem "rack-test"
|
26
|
-
gem "simplecov"
|
27
|
-
gem "sinatra"
|
28
|
-
gem "timecop"
|
29
|
-
end
|
30
|
-
|
31
|
-
gemspec path: "../"
|