sidekiq 2.15.0 → 2.15.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of sidekiq might be problematic. Click here for more details.
- data/Changes.md +6 -1
- data/Pro-Changes.md +7 -0
- data/lib/sidekiq/version.rb +1 -1
- data/web/views/_paging.erb +19 -21
- data/web/views/retries.erb +14 -12
- data/web/views/scheduled.erb +9 -7
- metadata +2 -2
data/Changes.md
CHANGED
@@ -1,3 +1,8 @@
|
|
1
|
+
2.15.1
|
2
|
+
-----------
|
3
|
+
|
4
|
+
- Fix several Web UI issues with the Bootstrap 3 upgrade.
|
5
|
+
|
1
6
|
2.15.0
|
2
7
|
-----------
|
3
8
|
|
@@ -7,7 +12,7 @@
|
|
7
12
|
appear to be doing any work. [#1194]
|
8
13
|
- Sidekiq's testing behavior is now dynamic. You can choose between
|
9
14
|
`inline` and `fake` behavior in your tests. See
|
10
|
-
[Testing](wiki/Testing) for detail. [#1193]
|
15
|
+
[Testing](https://github.com/mperham/sidekiq/wiki/Testing) for detail. [#1193]
|
11
16
|
- The Retries table has a new column for the error message.
|
12
17
|
- The Web UI topbar now contains the status and live poll button.
|
13
18
|
- Orphaned worker records are now auto-vacuumed when you vist the
|
data/Pro-Changes.md
CHANGED
@@ -3,6 +3,13 @@ Sidekiq Pro Changelog
|
|
3
3
|
|
4
4
|
Please see http://sidekiq.org/pro for more details and how to buy.
|
5
5
|
|
6
|
+
1.2.4
|
7
|
+
-----------
|
8
|
+
|
9
|
+
- Convert Batch UI to Bootstrap 3
|
10
|
+
- Pro now requires Sidekiq 2.15.0
|
11
|
+
- Add Sidekiq::Batch::Status#delete [#1205]
|
12
|
+
|
6
13
|
1.2.3
|
7
14
|
-----------
|
8
15
|
|
data/lib/sidekiq/version.rb
CHANGED
data/web/views/_paging.erb
CHANGED
@@ -1,25 +1,23 @@
|
|
1
1
|
<% if @total_size > @count %>
|
2
|
-
<
|
3
|
-
<
|
4
|
-
<
|
5
|
-
|
2
|
+
<ul class="pagination pull-right">
|
3
|
+
<li class="<%= 'disabled' if @current_page == 1 %>">
|
4
|
+
<a href="<%= url %>?page=1">«</a>
|
5
|
+
</li>
|
6
|
+
<% if @current_page > 1 %>
|
7
|
+
<li>
|
8
|
+
<a href="<%= url %>?page=<%= @current_page - 1 %>"><%= @current_page - 1 %></a>
|
6
9
|
</li>
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
<li
|
13
|
-
<a href="<%= url %>?page=<%= @current_page %>"><%= @current_page %></a>
|
10
|
+
<% end %>
|
11
|
+
<li class="disabled">
|
12
|
+
<a href="<%= url %>?page=<%= @current_page %>"><%= @current_page %></a>
|
13
|
+
</li>
|
14
|
+
<% if @total_size > @current_page * @count %>
|
15
|
+
<li>
|
16
|
+
<a href="<%= url %>?page=<%= @current_page + 1 %>"><%= @current_page + 1 %></a>
|
14
17
|
</li>
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
<li class="<%= 'disabled' if @total_size <= @current_page * @count %>">
|
21
|
-
<a href="<%= url %>?page=<%= (@total_size.to_f / @count).ceil %>">»</a>
|
22
|
-
</li>
|
23
|
-
</ul>
|
24
|
-
</div>
|
18
|
+
<% end %>
|
19
|
+
<li class="<%= 'disabled' if @total_size <= @current_page * @count %>">
|
20
|
+
<a href="<%= url %>?page=<%= (@total_size.to_f / @count).ceil %>">»</a>
|
21
|
+
</li>
|
22
|
+
</ul>
|
25
23
|
<% end %>
|
data/web/views/retries.erb
CHANGED
@@ -12,17 +12,19 @@
|
|
12
12
|
<% if @retries.size > 0 %>
|
13
13
|
<form action="<%= root_path %>retries" method="post">
|
14
14
|
<table class="table table-striped table-bordered table-white">
|
15
|
-
<
|
16
|
-
<
|
17
|
-
<
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
15
|
+
<thead>
|
16
|
+
<tr>
|
17
|
+
<th width="20px">
|
18
|
+
<input type="checkbox" class="check_all" />
|
19
|
+
</th>
|
20
|
+
<th width="25%"><%= t('NextRetry') %></th>
|
21
|
+
<th width="11%"><%= t('RetryCount') %></th>
|
22
|
+
<th><%= t('Queue') %></th>
|
23
|
+
<th><%= t('Worker') %></th>
|
24
|
+
<th><%= t('Arguments') %></th>
|
25
|
+
<th><%= t('Error') %></th>
|
26
|
+
</tr>
|
27
|
+
</thead>
|
26
28
|
<% @retries.each do |msg, score| %>
|
27
29
|
<tr>
|
28
30
|
<td>
|
@@ -40,7 +42,7 @@
|
|
40
42
|
<div class="args"><%= display_args(msg['args']) %></div>
|
41
43
|
</td>
|
42
44
|
<td>
|
43
|
-
<div><%= truncate("#{msg['error_class']}: #{msg['error_message']}") %></div>
|
45
|
+
<div><%= truncate("#{msg['error_class']}: #{msg['error_message']}", 200) %></div>
|
44
46
|
</td>
|
45
47
|
</tr>
|
46
48
|
<% end %>
|
data/web/views/scheduled.erb
CHANGED
@@ -14,13 +14,15 @@
|
|
14
14
|
<form action="<%= root_path %>scheduled" method="post">
|
15
15
|
<table class="table table-striped table-bordered table-white">
|
16
16
|
<thead>
|
17
|
-
<
|
18
|
-
<
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
17
|
+
<tr>
|
18
|
+
<th width="20px">
|
19
|
+
<input type="checkbox" class="check_all" />
|
20
|
+
</th>
|
21
|
+
<th width="25%"><%= t('When') %></th>
|
22
|
+
<th width="10%"><%= t('Queue') %></th>
|
23
|
+
<th><%= t('Worker') %></th>
|
24
|
+
<th><%= t('Arguments') %></th>
|
25
|
+
</tr>
|
24
26
|
</thead>
|
25
27
|
<% @scheduled.each do |msg, score| %>
|
26
28
|
<tr>
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sidekiq
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.15.
|
4
|
+
version: 2.15.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-10-
|
12
|
+
date: 2013-10-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: redis
|