sidekiq 2.15.0 → 2.15.1

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.

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
@@ -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
 
@@ -1,3 +1,3 @@
1
1
  module Sidekiq
2
- VERSION = "2.15.0"
2
+ VERSION = "2.15.1"
3
3
  end
@@ -1,25 +1,23 @@
1
1
  <% if @total_size > @count %>
2
- <div class="pagination pagination-right">
3
- <ul>
4
- <li class="<%= 'disabled' if @current_page == 1 %>">
5
- <a href="<%= url %>?page=1">«</a>
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
- <% if @current_page > 1 %>
8
- <li>
9
- <a href="<%= url %>?page=<%= @current_page - 1 %>"><%= @current_page - 1 %></a>
10
- </li>
11
- <% end %>
12
- <li class="disabled">
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
- <% if @total_size > @current_page * @count %>
16
- <li>
17
- <a href="<%= url %>?page=<%= @current_page + 1 %>"><%= @current_page + 1 %></a>
18
- </li>
19
- <% end %>
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 %>
@@ -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
- <tr>
16
- <th width="20px">
17
- <input type="checkbox" class="check_all" />
18
- </th>
19
- <th width="25%"><%= t('NextRetry') %></th>
20
- <th width="11%"><%= t('RetryCount') %></th>
21
- <th><%= t('Queue') %></th>
22
- <th><%= t('Worker') %></th>
23
- <th><%= t('Arguments') %></th>
24
- <th><%= t('Error') %></th>
25
- </tr>
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 %>
@@ -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
- <th width="20px">
18
- <input type="checkbox" class="check_all" />
19
- </th>
20
- <th width="25%"><%= t('When') %></th>
21
- <th width="10%"><%= t('Queue') %></th>
22
- <th><%= t('Worker') %></th>
23
- <th><%= t('Arguments') %></th>
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.0
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-01 00:00:00.000000000 Z
12
+ date: 2013-10-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: redis