sidekiq 4.1.1 → 4.2.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of sidekiq might be problematic. Click here for more details.

Files changed (98) hide show
  1. checksums.yaml +4 -4
  2. data/.github/issue_template.md +4 -0
  3. data/.travis.yml +3 -6
  4. data/4.0-Upgrade.md +3 -0
  5. data/COMM-LICENSE +1 -1
  6. data/Changes.md +69 -0
  7. data/Ent-Changes.md +40 -0
  8. data/Gemfile +6 -5
  9. data/Pro-3.0-Upgrade.md +5 -7
  10. data/Pro-Changes.md +66 -0
  11. data/README.md +2 -1
  12. data/bin/sidekiqload +2 -2
  13. data/lib/sidekiq.rb +5 -1
  14. data/lib/sidekiq/api.rb +3 -1
  15. data/lib/sidekiq/cli.rb +15 -2
  16. data/lib/sidekiq/client.rb +11 -3
  17. data/lib/sidekiq/core_ext.rb +1 -0
  18. data/lib/sidekiq/exception_handler.rb +2 -1
  19. data/lib/sidekiq/extensions/action_mailer.rb +1 -0
  20. data/lib/sidekiq/extensions/active_record.rb +1 -0
  21. data/lib/sidekiq/extensions/class_methods.rb +1 -0
  22. data/lib/sidekiq/extensions/generic_proxy.rb +1 -0
  23. data/lib/sidekiq/fetch.rb +1 -0
  24. data/lib/sidekiq/launcher.rb +9 -3
  25. data/lib/sidekiq/logging.rb +2 -1
  26. data/lib/sidekiq/manager.rb +2 -0
  27. data/lib/sidekiq/middleware/chain.rb +1 -0
  28. data/lib/sidekiq/middleware/i18n.rb +1 -0
  29. data/lib/sidekiq/middleware/server/retry_jobs.rb +7 -7
  30. data/lib/sidekiq/paginator.rb +1 -0
  31. data/lib/sidekiq/processor.rb +29 -25
  32. data/lib/sidekiq/rails.rb +18 -0
  33. data/lib/sidekiq/redis_connection.rb +6 -3
  34. data/lib/sidekiq/scheduled.rb +2 -0
  35. data/lib/sidekiq/testing.rb +1 -0
  36. data/lib/sidekiq/testing/inline.rb +1 -0
  37. data/lib/sidekiq/util.rb +1 -0
  38. data/lib/sidekiq/version.rb +2 -1
  39. data/lib/sidekiq/web.rb +80 -202
  40. data/lib/sidekiq/web/action.rb +99 -0
  41. data/lib/sidekiq/web/application.rb +335 -0
  42. data/lib/sidekiq/{web_helpers.rb → web/helpers.rb} +31 -11
  43. data/lib/sidekiq/web/router.rb +96 -0
  44. data/lib/sidekiq/worker.rb +1 -0
  45. data/sidekiq.gemspec +2 -2
  46. data/test/fake_env.rb +1 -0
  47. data/test/helper.rb +1 -0
  48. data/test/test_actors.rb +1 -0
  49. data/test/test_api.rb +1 -0
  50. data/test/test_cli.rb +15 -2
  51. data/test/test_client.rb +34 -0
  52. data/test/test_exception_handler.rb +2 -1
  53. data/test/test_extensions.rb +1 -0
  54. data/test/test_fetch.rb +1 -0
  55. data/test/test_launcher.rb +17 -2
  56. data/test/test_logging.rb +1 -0
  57. data/test/test_manager.rb +1 -0
  58. data/test/test_middleware.rb +1 -0
  59. data/test/test_processor.rb +1 -0
  60. data/test/test_rails.rb +1 -0
  61. data/test/test_redis_connection.rb +7 -1
  62. data/test/test_retry.rb +1 -0
  63. data/test/test_scheduled.rb +1 -0
  64. data/test/test_scheduling.rb +1 -0
  65. data/test/test_sidekiq.rb +1 -0
  66. data/test/test_testing.rb +1 -0
  67. data/test/test_testing_fake.rb +1 -0
  68. data/test/test_testing_inline.rb +2 -1
  69. data/test/test_util.rb +1 -0
  70. data/test/test_web.rb +53 -5
  71. data/test/test_web_helpers.rb +1 -0
  72. data/web/assets/images/{status-sd8051fd480.png → status.png} +0 -0
  73. data/web/assets/javascripts/application.js +5 -0
  74. data/web/assets/javascripts/locales/{jquery.timeago.no.js → jquery.timeago.nb.js} +1 -1
  75. data/web/assets/stylesheets/application.css +26 -1
  76. data/web/assets/stylesheets/bootstrap.css +4 -8
  77. data/web/locales/de.yml +1 -1
  78. data/web/locales/en.yml +1 -0
  79. data/web/locales/ru.yml +3 -0
  80. data/web/views/_footer.erb +1 -1
  81. data/web/views/_nav.erb +1 -1
  82. data/web/views/busy.erb +4 -4
  83. data/web/views/dashboard.erb +2 -2
  84. data/web/views/dead.erb +1 -1
  85. data/web/views/layout.erb +3 -3
  86. data/web/views/morgue.erb +2 -2
  87. data/web/views/queue.erb +3 -3
  88. data/web/views/queues.erb +1 -1
  89. data/web/views/retries.erb +2 -2
  90. data/web/views/retry.erb +1 -1
  91. data/web/views/scheduled.erb +2 -2
  92. data/web/views/scheduled_job_info.erb +1 -1
  93. metadata +17 -29
  94. data/web/assets/images/bootstrap/glyphicons-halflings-white.png +0 -0
  95. data/web/assets/images/bootstrap/glyphicons-halflings.png +0 -0
  96. data/web/assets/images/status/active.png +0 -0
  97. data/web/assets/images/status/idle.png +0 -0
  98. data/web/views/_poll_js.erb +0 -5
Binary file
Binary file
@@ -1,5 +0,0 @@
1
- <% if current_path != '' && params[:poll] %>
2
- <script>
3
- updatePage('<%= root_path + current_path %>')
4
- </script>
5
- <% end %>