sidekiq-failures 0.4.4 → 0.4.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/sidekiq/failures/version.rb +1 -1
- data/lib/sidekiq/failures/views/failure.erb +1 -0
- data/lib/sidekiq/failures/views/failures.erb +5 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3cf2e8b86ea584dc2d01d303a8b810a3527da318
|
4
|
+
data.tar.gz: ea8731360ed096a6f6b885cb3f078a80bb96747e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd021e8afcbd6a59c8d725d2954f7d45cbb50475b3c342b8e5d00533dd3c72594548d4fdb197e3d5a3cd51d158f000c050da57d353ef294c67bfe7880243dad8
|
7
|
+
data.tar.gz: 422b175ead022b822ae08838a03365f22e6e4a0a2213ff8f9c2756ed3f41b14c58e9e7f950f32adce8d8f25e440c3a5a8b78753798a4162ddf8626cd9bb2c977
|
data/CHANGELOG.md
CHANGED
@@ -24,6 +24,7 @@
|
|
24
24
|
</tbody>
|
25
25
|
</table>
|
26
26
|
<form class="form-horizontal" action="<%= root_path %>failures/<%= job_params(@failure, @failure.score) %>" method="post">
|
27
|
+
<%= csrf_tag if respond_to?(:csrf_tag) %>
|
27
28
|
<a class="btn" href="<%= root_path %>failures"><%= t('GoBack') %></a>
|
28
29
|
<input class="btn btn-primary" type="submit" name="retry" value="<%= t('RetryNow') %>" />
|
29
30
|
<input class="btn btn-danger" type="submit" name="delete" value="<%= t('Delete') %>" />
|
@@ -12,6 +12,7 @@
|
|
12
12
|
|
13
13
|
<% if @failures.size > 0 %>
|
14
14
|
<form action="<%= root_path %>failures" method="post">
|
15
|
+
<%= csrf_tag if respond_to?(:csrf_tag) %>
|
15
16
|
<table class="table table-striped table-bordered table-white">
|
16
17
|
<thead>
|
17
18
|
<tr>
|
@@ -44,7 +45,7 @@
|
|
44
45
|
<td><%= safe_relative_time(entry['failed_at']) %></td>
|
45
46
|
<td style="overflow: auto; padding: 10px;">
|
46
47
|
<a class="backtrace" href="#" onclick="$(this).next().toggle(); return false">
|
47
|
-
<%= h entry['error_class'] %>: <%= h entry['error_message'] %>
|
48
|
+
<%= h entry['error_class'] %>: <%= h entry['error_message'].size > 500 ? entry['error_message'][0..500] + '...' : entry['error_message'] %>
|
48
49
|
</a>
|
49
50
|
<pre style="display: none; background: none; border: 0; width: 100%; max-height: 30em; font-size: 0.8em; white-space: nowrap; overflow: auto;">
|
50
51
|
<%= entry['error_backtrace'].join("<br />") if entry['error_backtrace'] %>
|
@@ -61,9 +62,11 @@
|
|
61
62
|
</form>
|
62
63
|
|
63
64
|
<form action="<%= root_path %>failures/all/delete" method="post">
|
65
|
+
<%= csrf_tag if respond_to?(:csrf_tag) %>
|
64
66
|
<input class="btn btn-danger btn-xs pull-right" type="submit" name="delete" value="<%= t('DeleteAll') %>" data-confirm="<%= t('AreYouSure') %>" />
|
65
67
|
</form>
|
66
68
|
<form action="<%= root_path %>failures/all/retry" method="post">
|
69
|
+
<%= csrf_tag if respond_to?(:csrf_tag) %>
|
67
70
|
<input class="btn btn-danger btn-xs pull-right" type="submit" name="retry" value="<%= t('RetryAll') %>" data-confirm="<%= t('AreYouSure') %>" />
|
68
71
|
</form>
|
69
72
|
|
@@ -77,5 +80,6 @@
|
|
77
80
|
<div class="alert alert-success"><%= t('NoFailedJobsFound') %></div>
|
78
81
|
<% end %>
|
79
82
|
<form action="<%= root_path %>failures/all/reset" method="post">
|
83
|
+
<%= csrf_tag if respond_to?(:csrf_tag) %>
|
80
84
|
<input class="btn btn-danger btn-xs pull-right" type="submit" name="reset" value="<%= t('Reset Counter') %>" data-confirm="<%= t('AreYouSure') %>" />
|
81
85
|
</form>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sidekiq-failures
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marcelo Silveira
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-07-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sidekiq
|
@@ -127,7 +127,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
127
127
|
version: '0'
|
128
128
|
requirements: []
|
129
129
|
rubyforge_project:
|
130
|
-
rubygems_version: 2.4.
|
130
|
+
rubygems_version: 2.4.5
|
131
131
|
signing_key:
|
132
132
|
specification_version: 4
|
133
133
|
summary: Keeps track of Sidekiq failed jobs and adds a tab to the Web UI to let you
|
@@ -136,4 +136,3 @@ test_files:
|
|
136
136
|
- test/middleware_test.rb
|
137
137
|
- test/test_helper.rb
|
138
138
|
- test/web_extension_test.rb
|
139
|
-
has_rdoc:
|