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.
Files changed (41) hide show
  1. checksums.yaml +4 -4
  2. data/.github/dependabot.yml +12 -0
  3. data/.github/workflows/ci.yml +11 -10
  4. data/.rubocop.yml +8 -7
  5. data/.rubocop_todo.yml +39 -3
  6. data/.travis.yml +2 -4
  7. data/Appraisals +4 -24
  8. data/CHANGES.md +44 -0
  9. data/Gemfile +7 -5
  10. data/LICENSE.md +1 -0
  11. data/README.md +36 -36
  12. data/Rakefile +1 -1
  13. data/gemfiles/{sidekiq_5.2.gemfile → sidekiq_6.4.gemfile} +8 -6
  14. data/gemfiles/{sidekiq_5.1.gemfile → sidekiq_6.5.gemfile} +8 -6
  15. data/lib/sidekiq/throttled/communicator/callbacks.rb +1 -1
  16. data/lib/sidekiq/throttled/communicator/exception_handler.rb +25 -0
  17. data/lib/sidekiq/throttled/communicator/listener.rb +1 -1
  18. data/lib/sidekiq/throttled/communicator.rb +1 -1
  19. data/lib/sidekiq/throttled/configuration.rb +4 -4
  20. data/lib/sidekiq/throttled/expirable_list.rb +2 -5
  21. data/lib/sidekiq/throttled/fetch/unit_of_work.rb +7 -2
  22. data/lib/sidekiq/throttled/fetch.rb +15 -24
  23. data/lib/sidekiq/throttled/job.rb +128 -0
  24. data/lib/sidekiq/throttled/strategy/base.rb +6 -2
  25. data/lib/sidekiq/throttled/version.rb +1 -1
  26. data/lib/sidekiq/throttled/web/stats.rb +5 -4
  27. data/lib/sidekiq/throttled/worker.rb +6 -121
  28. data/lib/sidekiq/throttled.rb +12 -14
  29. data/{.rubocop → rubocop}/layout.yml +0 -0
  30. data/{.rubocop → rubocop}/lint.yml +0 -0
  31. data/{.rubocop → rubocop}/metrics.yml +0 -0
  32. data/{.rubocop → rubocop}/performance.yml +0 -0
  33. data/{.rubocop → rubocop}/rspec.yml +1 -1
  34. data/{.rubocop → rubocop}/style.yml +0 -0
  35. data/sidekiq-throttled.gemspec +7 -5
  36. metadata +22 -23
  37. data/gemfiles/sidekiq_5.0.gemfile +0 -31
  38. data/gemfiles/sidekiq_6.0.gemfile +0 -31
  39. data/gemfiles/sidekiq_6.1.gemfile +0 -31
  40. data/gemfiles/sidekiq_6.2.gemfile +0 -31
  41. 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: "../"