sidekiq 3.4.1 → 4.0.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.
- checksums.yaml +4 -4
- data/4.0-Upgrade.md +50 -0
- data/COMM-LICENSE +55 -45
- data/Changes.md +73 -1
- data/Ent-Changes.md +66 -0
- data/Gemfile +7 -1
- data/Pro-2.0-Upgrade.md +2 -2
- data/Pro-3.0-Upgrade.md +46 -0
- data/Pro-Changes.md +65 -2
- data/README.md +8 -9
- data/bin/sidekiq +5 -0
- data/bin/sidekiqctl +8 -2
- data/bin/sidekiqload +167 -0
- data/lib/sidekiq/api.rb +29 -31
- data/lib/sidekiq/cli.rb +41 -42
- data/lib/sidekiq/client.rb +5 -10
- data/lib/sidekiq/fetch.rb +35 -111
- data/lib/sidekiq/launcher.rb +102 -42
- data/lib/sidekiq/manager.rb +78 -180
- data/lib/sidekiq/middleware/server/logging.rb +10 -5
- data/lib/sidekiq/middleware/server/retry_jobs.rb +5 -5
- data/lib/sidekiq/processor.rb +126 -97
- data/lib/sidekiq/redis_connection.rb +23 -5
- data/lib/sidekiq/scheduled.rb +47 -26
- data/lib/sidekiq/testing.rb +96 -17
- data/lib/sidekiq/util.rb +20 -0
- data/lib/sidekiq/version.rb +1 -1
- data/lib/sidekiq/web.rb +17 -1
- data/lib/sidekiq/web_helpers.rb +26 -4
- data/lib/sidekiq/worker.rb +14 -0
- data/lib/sidekiq.rb +37 -14
- data/sidekiq.gemspec +11 -11
- data/test/helper.rb +45 -10
- data/test/test_actors.rb +137 -0
- data/test/test_api.rb +388 -388
- data/test/test_cli.rb +29 -59
- data/test/test_client.rb +60 -135
- data/test/test_extensions.rb +29 -23
- data/test/test_fetch.rb +2 -57
- data/test/test_launcher.rb +80 -0
- data/test/test_logging.rb +1 -1
- data/test/test_manager.rb +16 -131
- data/test/test_middleware.rb +3 -5
- data/test/test_processor.rb +110 -76
- data/test/test_rails.rb +21 -0
- data/test/test_redis_connection.rb +0 -1
- data/test/test_retry.rb +114 -162
- data/test/test_scheduled.rb +11 -17
- data/test/test_scheduling.rb +20 -42
- data/test/test_sidekiq.rb +46 -16
- data/test/test_testing.rb +80 -20
- data/test/test_testing_fake.rb +68 -8
- data/test/test_testing_inline.rb +3 -3
- data/test/test_util.rb +16 -0
- data/test/test_web.rb +17 -3
- data/test/test_web_helpers.rb +3 -2
- data/web/assets/images/favicon.ico +0 -0
- data/web/assets/javascripts/application.js +6 -1
- data/web/assets/javascripts/dashboard.js +2 -8
- data/web/assets/javascripts/locales/jquery.timeago.pt-br.js +14 -14
- data/web/assets/stylesheets/application.css +33 -56
- data/web/locales/de.yml +1 -1
- data/web/locales/en.yml +1 -0
- data/web/locales/{no.yml → nb.yml} +10 -2
- data/web/locales/uk.yml +76 -0
- data/web/views/_footer.erb +2 -7
- data/web/views/_job_info.erb +1 -1
- data/web/views/_nav.erb +2 -2
- data/web/views/_poll_js.erb +5 -0
- data/web/views/{_poll.erb → _poll_link.erb} +0 -3
- data/web/views/busy.erb +2 -1
- data/web/views/dead.erb +1 -0
- data/web/views/layout.erb +2 -0
- data/web/views/morgue.erb +3 -0
- data/web/views/queue.erb +1 -0
- data/web/views/queues.erb +1 -0
- data/web/views/retries.erb +3 -0
- data/web/views/retry.erb +1 -0
- data/web/views/scheduled.erb +1 -0
- data/web/views/scheduled_job_info.erb +1 -0
- metadata +81 -47
- data/lib/sidekiq/actor.rb +0 -39
- data/test/test_worker_generator.rb +0 -17
@@ -1,5 +1,5 @@
|
|
1
1
|
# elements like %{queue} are variables and should not be translated
|
2
|
-
|
2
|
+
nb:
|
3
3
|
Dashboard: Oversikt
|
4
4
|
Status: Status
|
5
5
|
Time: Tid
|
@@ -33,6 +33,7 @@ no:
|
|
33
33
|
NextRetry: Neste forsøk
|
34
34
|
RetryCount: Antall forsøk
|
35
35
|
RetryNow: Forsøk igjen nå
|
36
|
+
Kill: Kill
|
36
37
|
LastRetry: Forrige forsøk
|
37
38
|
OriginallyFailed: Feilet opprinnelig
|
38
39
|
AreYouSure: Er du sikker?
|
@@ -58,7 +59,6 @@ no:
|
|
58
59
|
OneMonth: 1 måned
|
59
60
|
ThreeMonths: 3 måneder
|
60
61
|
SixMonths: 6 måneder
|
61
|
-
Batches: Samlinger
|
62
62
|
Failures: Feil
|
63
63
|
DeadJobs: Døde jobber
|
64
64
|
NoDeadJobsFound: Ingen døde jobber funnet
|
@@ -67,3 +67,11 @@ no:
|
|
67
67
|
Thread: Tråd
|
68
68
|
Threads: Tråder
|
69
69
|
Jobs: Jobber
|
70
|
+
Paused: Pauset
|
71
|
+
Stop: Stopp
|
72
|
+
Quiet: Demp
|
73
|
+
StopAll: Stopp alle
|
74
|
+
QuietAll: Demp alle
|
75
|
+
PollingInterval: Oppdateringsintervall
|
76
|
+
Plugins: Innstikk
|
77
|
+
NotYetEnqueued: Ikke køet enda
|
data/web/locales/uk.yml
ADDED
@@ -0,0 +1,76 @@
|
|
1
|
+
uk:
|
2
|
+
Dashboard: Панель керування
|
3
|
+
Status: Статус
|
4
|
+
Time: Час
|
5
|
+
Namespace: Простір імен
|
6
|
+
Realtime: Зараз
|
7
|
+
History: Історія
|
8
|
+
Busy: Зайнятих
|
9
|
+
Processed: Опрацьовано
|
10
|
+
Failed: Невдалих
|
11
|
+
Scheduled: Заплановано
|
12
|
+
Retries: Спроби
|
13
|
+
Enqueued: У черзі
|
14
|
+
Worker: Обробник
|
15
|
+
LivePoll: Постійне опитування
|
16
|
+
StopPolling: Зупинити опитування
|
17
|
+
Queue: Черга
|
18
|
+
Class: Клас
|
19
|
+
Job: Задача
|
20
|
+
Arguments: Аргументи
|
21
|
+
Extras: Додатково
|
22
|
+
Started: Запущено
|
23
|
+
ShowAll: Відобразити усі
|
24
|
+
CurrentMessagesInQueue: Поточні задачі у черзі <span class='title'>%{queue}</span>
|
25
|
+
Delete: Видалити
|
26
|
+
AddToQueue: Додати до черги
|
27
|
+
AreYouSureDeleteJob: Ви впевнені у тому, що хочете видалити задачу?
|
28
|
+
AreYouSureDeleteQueue: Ви впевнені у тому, що хочете видалити чергу %{queue}?
|
29
|
+
Queues: Черги
|
30
|
+
Size: Розмір
|
31
|
+
Actions: Дії
|
32
|
+
NextRetry: Наступна спроба
|
33
|
+
RetryCount: Кількість спроб
|
34
|
+
RetryNow: Повторити зараз
|
35
|
+
Kill: Вбиваємо
|
36
|
+
LastRetry: Остання спроба
|
37
|
+
OriginallyFailed: Перша невдала спроба
|
38
|
+
AreYouSure: Ви впевнені?
|
39
|
+
DeleteAll: Видалити усі
|
40
|
+
RetryAll: Повторити усі
|
41
|
+
NoRetriesFound: Спроб не знайдено
|
42
|
+
Error: Помилка
|
43
|
+
ErrorClass: Клас помилки
|
44
|
+
ErrorMessage: Повідомлення про помилку
|
45
|
+
ErrorBacktrace: Трасування помилки
|
46
|
+
GoBack: ← Назад
|
47
|
+
NoScheduledFound: Запланованих задач не знайдено
|
48
|
+
When: Коли
|
49
|
+
ScheduledJobs: Заплановані задачі
|
50
|
+
idle: незайнятий
|
51
|
+
active: активний
|
52
|
+
Version: Версія
|
53
|
+
Connections: З'єднань
|
54
|
+
MemoryUsage: Використання пам'яті
|
55
|
+
PeakMemoryUsage: Максимальне використання пам'яті
|
56
|
+
Uptime: Днів безперебійної роботи
|
57
|
+
OneWeek: 1 тиждень
|
58
|
+
OneMonth: 1 місяць
|
59
|
+
ThreeMonths: 3 місяці
|
60
|
+
SixMonths: 6 місяців
|
61
|
+
Failures: Невдачі
|
62
|
+
DeadJobs: Вбиті задачі
|
63
|
+
NoDeadJobsFound: Вбитих задач не знайдено
|
64
|
+
Dead: Вбитих
|
65
|
+
Processes: Процеси
|
66
|
+
Thread: Потік
|
67
|
+
Threads: Потоки
|
68
|
+
Jobs: Задачі
|
69
|
+
Paused: Призупинено
|
70
|
+
Stop: Зупинити
|
71
|
+
Quiet: Призупинити
|
72
|
+
StopAll: Зупинити усі
|
73
|
+
QuietAll: Призупинити усі
|
74
|
+
PollingInterval: Інтервал опитування
|
75
|
+
Plugins: Плагіни
|
76
|
+
NotYetEnqueued: Ще не в черзі
|
data/web/views/_footer.erb
CHANGED
@@ -6,16 +6,11 @@
|
|
6
6
|
<p class="navbar-text" style="color:white;"><%= product_version %></p>
|
7
7
|
</li>
|
8
8
|
<li>
|
9
|
-
<p class="navbar-text redis-url"
|
9
|
+
<p class="navbar-text redis-url" title="<%= redis_connection_and_namespace %>"><%= redis_connection_and_namespace %></p>
|
10
10
|
</li>
|
11
11
|
<li>
|
12
|
-
<p class="navbar-text"><%=
|
12
|
+
<p class="navbar-text"><%= Time.now.utc.strftime('%H:%M:%S UTC') %></p>
|
13
13
|
</li>
|
14
|
-
<% if namespace %>
|
15
|
-
<li>
|
16
|
-
<p class="navbar-text redis-namespace"><%= t('Namespace') %>: <%= namespace %></p>
|
17
|
-
</li>
|
18
|
-
<% end %>
|
19
14
|
</ul>
|
20
15
|
</div>
|
21
16
|
</div>
|
data/web/views/_job_info.erb
CHANGED
@@ -34,7 +34,7 @@
|
|
34
34
|
</tr>
|
35
35
|
<tr>
|
36
36
|
<th><%= t('Enqueued') %></th>
|
37
|
-
<td><%=
|
37
|
+
<td><%= (enqueued_at = job.enqueued_at) ? relative_time(enqueued_at) : t('NotYetEnqueued') %></td>
|
38
38
|
</tr>
|
39
39
|
<% unless retry_extra_items(job).empty? %>
|
40
40
|
<tr>
|
data/web/views/_nav.erb
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
<span class="icon-bar"></span>
|
8
8
|
</button>
|
9
9
|
<div class="navbar-toggle collapsed navbar-livereload">
|
10
|
-
<%= erb :
|
10
|
+
<%= erb :_poll_link %>
|
11
11
|
<% if Sidekiq::Web.app_url %>
|
12
12
|
<a class="btn btn-inverse" href="<%= Sidekiq::Web.app_url %>">Back to App</a>
|
13
13
|
<% end %>
|
@@ -54,7 +54,7 @@
|
|
54
54
|
<ul class="nav navbar-nav navbar-right navbar-livereload" data-navbar="static">
|
55
55
|
<li>
|
56
56
|
<div class="poll-wrapper pull-right">
|
57
|
-
<%= erb :
|
57
|
+
<%= erb :_poll_link %>
|
58
58
|
<% if Sidekiq::Web.app_url %>
|
59
59
|
<a class="btn btn-inverse" href="<%= Sidekiq::Web.app_url %>">Back to App</a>
|
60
60
|
<% end %>
|
@@ -1,8 +1,5 @@
|
|
1
1
|
<% if current_path != '' %>
|
2
2
|
<% if params[:poll] %>
|
3
|
-
<script>
|
4
|
-
updatePage('<%= root_path + current_path %>')
|
5
|
-
</script>
|
6
3
|
<a id="live-poll" class="btn btn-primary active" href="<%= root_path + current_path %>"><%= t('StopPolling') %></a>
|
7
4
|
<% else %>
|
8
5
|
<a id="live-poll" class="btn btn-primary" href="<%= root_path + current_path %>?<%= qparams(poll: true) %>"><%= t('LivePoll') %></a>
|
data/web/views/busy.erb
CHANGED
@@ -4,6 +4,7 @@
|
|
4
4
|
</div>
|
5
5
|
<div class="col-sm-4 pull-right">
|
6
6
|
<form method="POST" style="margin-top: 20px; margin-bottom: 10px;">
|
7
|
+
<%= csrf_tag %>
|
7
8
|
<div class="btn-group pull-right">
|
8
9
|
<button class="btn btn-warn" type="submit" name="quiet" value="1"><%= t('QuietAll') %></button>
|
9
10
|
<button class="btn btn-danger" type="submit" name="stop" value="1"><%= t('StopAll') %></button>
|
@@ -11,7 +12,6 @@
|
|
11
12
|
</form>
|
12
13
|
</div>
|
13
14
|
</div>
|
14
|
-
</div>
|
15
15
|
|
16
16
|
<div class="table_container">
|
17
17
|
<table class="processes table table-hover table-bordered table-striped table-white">
|
@@ -40,6 +40,7 @@
|
|
40
40
|
<td>
|
41
41
|
<div class="btn-group pull-right">
|
42
42
|
<form method="POST">
|
43
|
+
<%= csrf_tag %>
|
43
44
|
<input type="hidden" name="identity" value="<%= process['identity'] %>"/>
|
44
45
|
<button class="btn btn-warn" type="submit" name="quiet" value="1"><%= t('Quiet') %></button>
|
45
46
|
<button class="btn btn-danger" type="submit" name="stop" value="1"><%= t('Stop') %></button>
|
data/web/views/dead.erb
CHANGED
@@ -27,6 +27,7 @@
|
|
27
27
|
</div>
|
28
28
|
|
29
29
|
<form class="form-horizontal" action="<%= root_path %>morgue/<%= job_params(@dead, @dead.score) %>" method="post">
|
30
|
+
<%= csrf_tag %>
|
30
31
|
<a class="btn btn-default" href="<%= root_path %>morgue"><%= t('GoBack') %></a>
|
31
32
|
<input class="btn btn-primary" type="submit" name="retry" value="<%= t('RetryNow') %>" />
|
32
33
|
<input class="btn btn-danger" type="submit" name="delete" value="<%= t('Delete') %>" />
|
data/web/views/layout.erb
CHANGED
@@ -5,6 +5,7 @@
|
|
5
5
|
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
|
6
6
|
<link href="<%= root_path %>stylesheets/bootstrap.css" media="screen" rel="stylesheet" type="text/css" />
|
7
7
|
<link href="<%= root_path %>stylesheets/application.css" media="screen" rel="stylesheet" type="text/css" />
|
8
|
+
<link rel="shortcut icon" type="image/ico" href="<%= root_path %>images/favicon.ico" />
|
8
9
|
<script type="text/javascript" src="<%= root_path %>javascripts/application.js"></script>
|
9
10
|
<script type="text/javascript" src="<%= root_path %>javascripts/locales/jquery.timeago.<%= locale %>.js"></script>
|
10
11
|
<meta name="google" content="notranslate" />
|
@@ -26,5 +27,6 @@
|
|
26
27
|
</div>
|
27
28
|
</div>
|
28
29
|
<%= erb :_footer %>
|
30
|
+
<%= erb :_poll_js %>
|
29
31
|
</body>
|
30
32
|
</html>
|
data/web/views/morgue.erb
CHANGED
@@ -12,6 +12,7 @@
|
|
12
12
|
|
13
13
|
<% if @dead.size > 0 %>
|
14
14
|
<form action="<%= root_path %>morgue" method="post">
|
15
|
+
<%= csrf_tag %>
|
15
16
|
<div class="table_container">
|
16
17
|
<table class="table table-striped table-bordered table-white">
|
17
18
|
<thead>
|
@@ -57,9 +58,11 @@
|
|
57
58
|
</form>
|
58
59
|
|
59
60
|
<form action="<%= root_path %>morgue/all/delete" method="post">
|
61
|
+
<%= csrf_tag %>
|
60
62
|
<input class="btn btn-danger btn-xs pull-right" type="submit" name="delete" value="<%= t('DeleteAll') %>" data-confirm="<%= t('AreYouSure') %>" />
|
61
63
|
</form>
|
62
64
|
<form action="<%= root_path %>morgue/all/retry" method="post">
|
65
|
+
<%= csrf_tag %>
|
63
66
|
<input class="btn btn-danger btn-xs pull-right" type="submit" name="retry" value="<%= t('RetryAll') %>" data-confirm="<%= t('AreYouSure') %>" />
|
64
67
|
</form>
|
65
68
|
|
data/web/views/queue.erb
CHANGED
@@ -33,6 +33,7 @@
|
|
33
33
|
</td>
|
34
34
|
<td>
|
35
35
|
<form action="<%= root_path %>queues/<%= @name %>/delete" method="post">
|
36
|
+
<%= csrf_tag %>
|
36
37
|
<input name="key_val" value="<%= h Sidekiq.dump_json(msg.item) %>" type="hidden" />
|
37
38
|
<input class="btn btn-danger btn-xs" type="submit" name="delete" value="<%= t('Delete') %>" data-confirm="<%= t('AreYouSure') %>" />
|
38
39
|
</form>
|
data/web/views/queues.erb
CHANGED
@@ -18,6 +18,7 @@
|
|
18
18
|
<td><%= number_with_delimiter(queue.size) %> </td>
|
19
19
|
<td width="20%">
|
20
20
|
<form action="<%=root_path %>queues/<%= queue.name %>" method="post">
|
21
|
+
<%= csrf_tag %>
|
21
22
|
<input class="btn btn-danger btn-xs" type="submit" name="delete" value="<%= t('Delete') %>" data-confirm="<%= t('AreYouSureDeleteQueue', :queue => h(queue.name)) %>" />
|
22
23
|
</form>
|
23
24
|
</td>
|
data/web/views/retries.erb
CHANGED
@@ -12,6 +12,7 @@
|
|
12
12
|
|
13
13
|
<% if @retries.size > 0 %>
|
14
14
|
<form action="<%= root_path %>retries" method="post">
|
15
|
+
<%= csrf_tag %>
|
15
16
|
<div class="table_container">
|
16
17
|
<table class="table table-striped table-bordered table-white">
|
17
18
|
<thead>
|
@@ -60,9 +61,11 @@
|
|
60
61
|
</form>
|
61
62
|
|
62
63
|
<form action="<%= root_path %>retries/all/delete" method="post">
|
64
|
+
<%= csrf_tag %>
|
63
65
|
<input class="btn btn-danger btn-xs pull-right" type="submit" name="delete" value="<%= t('DeleteAll') %>" data-confirm="<%= t('AreYouSure') %>" />
|
64
66
|
</form>
|
65
67
|
<form action="<%= root_path %>retries/all/retry" method="post">
|
68
|
+
<%= csrf_tag %>
|
66
69
|
<input class="btn btn-danger btn-xs pull-right" type="submit" name="retry" value="<%= t('RetryAll') %>" data-confirm="<%= t('AreYouSure') %>" />
|
67
70
|
</form>
|
68
71
|
|
data/web/views/retry.erb
CHANGED
@@ -27,6 +27,7 @@
|
|
27
27
|
</div>
|
28
28
|
|
29
29
|
<form class="form-horizontal" action="<%= root_path %>retries/<%= job_params(@retry, @retry.score) %>" method="post">
|
30
|
+
<%= csrf_tag %>
|
30
31
|
<a class="btn btn-default" href="<%= root_path %>retries"><%= t('GoBack') %></a>
|
31
32
|
<input class="btn btn-primary" type="submit" name="retry" value="<%= t('RetryNow') %>" />
|
32
33
|
<input class="btn btn-danger" type="submit" name="delete" value="<%= t('Delete') %>" />
|
data/web/views/scheduled.erb
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
<%= erb :_job_info, :locals => {:job => @job, :type => :scheduled} %>
|
2
2
|
|
3
3
|
<form class="form-horizontal" action="<%= root_path %>scheduled/<%= job_params(@job, @job.score) %>" method="post">
|
4
|
+
<%= csrf_tag %>
|
4
5
|
<a class="btn btn-default" href="<%= root_path %>scheduled"><%= t('GoBack') %></a>
|
5
6
|
<input class="btn btn-primary" type="submit" name="add_to_queue" value="<%= t('AddToQueue') %>" />
|
6
7
|
<input class="btn btn-danger" type="submit" name="delete" value="<%= t('Delete') %>" />
|
metadata
CHANGED
@@ -1,156 +1,178 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sidekiq
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 4.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Perham
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-11-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: redis
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '3.2'
|
17
20
|
- - ">="
|
18
21
|
- !ruby/object:Gem::Version
|
19
|
-
version: 3.
|
22
|
+
version: 3.2.1
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
27
|
+
- - "~>"
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '3.2'
|
24
30
|
- - ">="
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version: 3.
|
32
|
+
version: 3.2.1
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
34
|
+
name: connection_pool
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
30
36
|
requirements:
|
37
|
+
- - "~>"
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '2.2'
|
31
40
|
- - ">="
|
32
41
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
42
|
+
version: 2.2.0
|
34
43
|
type: :runtime
|
35
44
|
prerelease: false
|
36
45
|
version_requirements: !ruby/object:Gem::Requirement
|
37
46
|
requirements:
|
47
|
+
- - "~>"
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: '2.2'
|
38
50
|
- - ">="
|
39
51
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
52
|
+
version: 2.2.0
|
41
53
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
54
|
+
name: json
|
43
55
|
requirement: !ruby/object:Gem::Requirement
|
44
56
|
requirements:
|
45
|
-
- - "
|
57
|
+
- - "~>"
|
46
58
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
59
|
+
version: '1.0'
|
48
60
|
type: :runtime
|
49
61
|
prerelease: false
|
50
62
|
version_requirements: !ruby/object:Gem::Requirement
|
51
63
|
requirements:
|
52
|
-
- - "
|
64
|
+
- - "~>"
|
53
65
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
66
|
+
version: '1.0'
|
55
67
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
68
|
+
name: concurrent-ruby
|
57
69
|
requirement: !ruby/object:Gem::Requirement
|
58
70
|
requirements:
|
59
71
|
- - "~>"
|
60
72
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
73
|
+
version: '1.0'
|
62
74
|
type: :runtime
|
63
75
|
prerelease: false
|
64
76
|
version_requirements: !ruby/object:Gem::Requirement
|
65
77
|
requirements:
|
66
78
|
- - "~>"
|
67
79
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
80
|
+
version: '1.0'
|
69
81
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
82
|
+
name: redis-namespace
|
71
83
|
requirement: !ruby/object:Gem::Requirement
|
72
84
|
requirements:
|
85
|
+
- - "~>"
|
86
|
+
- !ruby/object:Gem::Version
|
87
|
+
version: '1.5'
|
73
88
|
- - ">="
|
74
89
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
76
|
-
type: :
|
90
|
+
version: 1.5.2
|
91
|
+
type: :development
|
77
92
|
prerelease: false
|
78
93
|
version_requirements: !ruby/object:Gem::Requirement
|
79
94
|
requirements:
|
95
|
+
- - "~>"
|
96
|
+
- !ruby/object:Gem::Version
|
97
|
+
version: '1.5'
|
80
98
|
- - ">="
|
81
99
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
100
|
+
version: 1.5.2
|
83
101
|
- !ruby/object:Gem::Dependency
|
84
102
|
name: sinatra
|
85
103
|
requirement: !ruby/object:Gem::Requirement
|
86
104
|
requirements:
|
105
|
+
- - "~>"
|
106
|
+
- !ruby/object:Gem::Version
|
107
|
+
version: '1.4'
|
87
108
|
- - ">="
|
88
109
|
- !ruby/object:Gem::Version
|
89
|
-
version:
|
110
|
+
version: 1.4.6
|
90
111
|
type: :development
|
91
112
|
prerelease: false
|
92
113
|
version_requirements: !ruby/object:Gem::Requirement
|
93
114
|
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '1.4'
|
94
118
|
- - ">="
|
95
119
|
- !ruby/object:Gem::Version
|
96
|
-
version:
|
120
|
+
version: 1.4.6
|
97
121
|
- !ruby/object:Gem::Dependency
|
98
122
|
name: minitest
|
99
123
|
requirement: !ruby/object:Gem::Requirement
|
100
124
|
requirements:
|
101
125
|
- - "~>"
|
102
126
|
- !ruby/object:Gem::Version
|
103
|
-
version: 5.
|
104
|
-
type: :development
|
105
|
-
prerelease: false
|
106
|
-
version_requirements: !ruby/object:Gem::Requirement
|
107
|
-
requirements:
|
108
|
-
- - "~>"
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: 5.3.3
|
111
|
-
- !ruby/object:Gem::Dependency
|
112
|
-
name: rake
|
113
|
-
requirement: !ruby/object:Gem::Requirement
|
114
|
-
requirements:
|
127
|
+
version: '5.7'
|
115
128
|
- - ">="
|
116
129
|
- !ruby/object:Gem::Version
|
117
|
-
version:
|
130
|
+
version: 5.7.0
|
118
131
|
type: :development
|
119
132
|
prerelease: false
|
120
133
|
version_requirements: !ruby/object:Gem::Requirement
|
121
134
|
requirements:
|
135
|
+
- - "~>"
|
136
|
+
- !ruby/object:Gem::Version
|
137
|
+
version: '5.7'
|
122
138
|
- - ">="
|
123
139
|
- !ruby/object:Gem::Version
|
124
|
-
version:
|
140
|
+
version: 5.7.0
|
125
141
|
- !ruby/object:Gem::Dependency
|
126
|
-
name:
|
142
|
+
name: rake
|
127
143
|
requirement: !ruby/object:Gem::Requirement
|
128
144
|
requirements:
|
129
145
|
- - "~>"
|
130
146
|
- !ruby/object:Gem::Version
|
131
|
-
version:
|
147
|
+
version: '10.0'
|
132
148
|
type: :development
|
133
149
|
prerelease: false
|
134
150
|
version_requirements: !ruby/object:Gem::Requirement
|
135
151
|
requirements:
|
136
152
|
- - "~>"
|
137
153
|
- !ruby/object:Gem::Version
|
138
|
-
version:
|
154
|
+
version: '10.0'
|
139
155
|
- !ruby/object:Gem::Dependency
|
140
|
-
name:
|
156
|
+
name: rails
|
141
157
|
requirement: !ruby/object:Gem::Requirement
|
142
158
|
requirements:
|
159
|
+
- - "~>"
|
160
|
+
- !ruby/object:Gem::Version
|
161
|
+
version: '4'
|
143
162
|
- - ">="
|
144
163
|
- !ruby/object:Gem::Version
|
145
|
-
version:
|
164
|
+
version: 3.2.0
|
146
165
|
type: :development
|
147
166
|
prerelease: false
|
148
167
|
version_requirements: !ruby/object:Gem::Requirement
|
149
168
|
requirements:
|
169
|
+
- - "~>"
|
170
|
+
- !ruby/object:Gem::Version
|
171
|
+
version: '4'
|
150
172
|
- - ">="
|
151
173
|
- !ruby/object:Gem::Version
|
152
|
-
version:
|
153
|
-
description: Simple, efficient background processing for Ruby
|
174
|
+
version: 3.2.0
|
175
|
+
description: Simple, efficient background processing for Ruby.
|
154
176
|
email:
|
155
177
|
- mperham@gmail.com
|
156
178
|
executables:
|
@@ -162,23 +184,26 @@ files:
|
|
162
184
|
- ".gitignore"
|
163
185
|
- ".travis.yml"
|
164
186
|
- 3.0-Upgrade.md
|
187
|
+
- 4.0-Upgrade.md
|
165
188
|
- COMM-LICENSE
|
166
189
|
- Changes.md
|
167
190
|
- Contributing.md
|
191
|
+
- Ent-Changes.md
|
168
192
|
- Gemfile
|
169
193
|
- LICENSE
|
170
194
|
- Pro-2.0-Upgrade.md
|
195
|
+
- Pro-3.0-Upgrade.md
|
171
196
|
- Pro-Changes.md
|
172
197
|
- README.md
|
173
198
|
- Rakefile
|
174
199
|
- bin/sidekiq
|
175
200
|
- bin/sidekiqctl
|
201
|
+
- bin/sidekiqload
|
176
202
|
- lib/generators/sidekiq/templates/worker.rb.erb
|
177
203
|
- lib/generators/sidekiq/templates/worker_spec.rb.erb
|
178
204
|
- lib/generators/sidekiq/templates/worker_test.rb.erb
|
179
205
|
- lib/generators/sidekiq/worker_generator.rb
|
180
206
|
- lib/sidekiq.rb
|
181
|
-
- lib/sidekiq/actor.rb
|
182
207
|
- lib/sidekiq/api.rb
|
183
208
|
- lib/sidekiq/cli.rb
|
184
209
|
- lib/sidekiq/client.rb
|
@@ -215,16 +240,19 @@ files:
|
|
215
240
|
- test/fake_env.rb
|
216
241
|
- test/fixtures/en.yml
|
217
242
|
- test/helper.rb
|
243
|
+
- test/test_actors.rb
|
218
244
|
- test/test_api.rb
|
219
245
|
- test/test_cli.rb
|
220
246
|
- test/test_client.rb
|
221
247
|
- test/test_exception_handler.rb
|
222
248
|
- test/test_extensions.rb
|
223
249
|
- test/test_fetch.rb
|
250
|
+
- test/test_launcher.rb
|
224
251
|
- test/test_logging.rb
|
225
252
|
- test/test_manager.rb
|
226
253
|
- test/test_middleware.rb
|
227
254
|
- test/test_processor.rb
|
255
|
+
- test/test_rails.rb
|
228
256
|
- test/test_redis_connection.rb
|
229
257
|
- test/test_retry.rb
|
230
258
|
- test/test_scheduled.rb
|
@@ -233,11 +261,12 @@ files:
|
|
233
261
|
- test/test_testing.rb
|
234
262
|
- test/test_testing_fake.rb
|
235
263
|
- test/test_testing_inline.rb
|
264
|
+
- test/test_util.rb
|
236
265
|
- test/test_web.rb
|
237
266
|
- test/test_web_helpers.rb
|
238
|
-
- test/test_worker_generator.rb
|
239
267
|
- web/assets/images/bootstrap/glyphicons-halflings-white.png
|
240
268
|
- web/assets/images/bootstrap/glyphicons-halflings.png
|
269
|
+
- web/assets/images/favicon.ico
|
241
270
|
- web/assets/images/logo.png
|
242
271
|
- web/assets/images/status-sd8051fd480.png
|
243
272
|
- web/assets/images/status/active.png
|
@@ -302,21 +331,23 @@ files:
|
|
302
331
|
- web/locales/it.yml
|
303
332
|
- web/locales/ja.yml
|
304
333
|
- web/locales/ko.yml
|
334
|
+
- web/locales/nb.yml
|
305
335
|
- web/locales/nl.yml
|
306
|
-
- web/locales/no.yml
|
307
336
|
- web/locales/pl.yml
|
308
337
|
- web/locales/pt-br.yml
|
309
338
|
- web/locales/pt.yml
|
310
339
|
- web/locales/ru.yml
|
311
340
|
- web/locales/sv.yml
|
312
341
|
- web/locales/ta.yml
|
342
|
+
- web/locales/uk.yml
|
313
343
|
- web/locales/zh-cn.yml
|
314
344
|
- web/locales/zh-tw.yml
|
315
345
|
- web/views/_footer.erb
|
316
346
|
- web/views/_job_info.erb
|
317
347
|
- web/views/_nav.erb
|
318
348
|
- web/views/_paging.erb
|
319
|
-
- web/views/
|
349
|
+
- web/views/_poll_js.erb
|
350
|
+
- web/views/_poll_link.erb
|
320
351
|
- web/views/_status.erb
|
321
352
|
- web/views/_summary.erb
|
322
353
|
- web/views/busy.erb
|
@@ -360,16 +391,19 @@ test_files:
|
|
360
391
|
- test/fake_env.rb
|
361
392
|
- test/fixtures/en.yml
|
362
393
|
- test/helper.rb
|
394
|
+
- test/test_actors.rb
|
363
395
|
- test/test_api.rb
|
364
396
|
- test/test_cli.rb
|
365
397
|
- test/test_client.rb
|
366
398
|
- test/test_exception_handler.rb
|
367
399
|
- test/test_extensions.rb
|
368
400
|
- test/test_fetch.rb
|
401
|
+
- test/test_launcher.rb
|
369
402
|
- test/test_logging.rb
|
370
403
|
- test/test_manager.rb
|
371
404
|
- test/test_middleware.rb
|
372
405
|
- test/test_processor.rb
|
406
|
+
- test/test_rails.rb
|
373
407
|
- test/test_redis_connection.rb
|
374
408
|
- test/test_retry.rb
|
375
409
|
- test/test_scheduled.rb
|
@@ -378,6 +412,6 @@ test_files:
|
|
378
412
|
- test/test_testing.rb
|
379
413
|
- test/test_testing_fake.rb
|
380
414
|
- test/test_testing_inline.rb
|
415
|
+
- test/test_util.rb
|
381
416
|
- test/test_web.rb
|
382
417
|
- test/test_web_helpers.rb
|
383
|
-
- test/test_worker_generator.rb
|