sidekiq-failures 0.0.1 → 0.0.2
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.
- data/CHANGELOG.md +5 -0
- data/README.md +2 -3
- data/lib/sidekiq/failures/version.rb +1 -1
- data/lib/sidekiq/failures/views/failures.slim +5 -4
- metadata +5 -4
data/CHANGELOG.md
ADDED
data/README.md
CHANGED
@@ -5,9 +5,8 @@ them. Makes use of Sidekiq's custom tabs and middleware chain.
|
|
5
5
|
|
6
6
|
It mimics the way Resque keeps track of failures.
|
7
7
|
|
8
|
-
Note that each failed retry will create a new failed job
|
9
|
-
|
10
|
-
automatic retries allied to exception notifications will be enough.
|
8
|
+
TIP: Note that each failed job/retry will create a new failed job that will
|
9
|
+
only be removed by you manually. This might result in a pretty big failures list.
|
11
10
|
|
12
11
|
## Installation
|
13
12
|
|
@@ -8,17 +8,18 @@ h1 Failed Jobs
|
|
8
8
|
th Worker
|
9
9
|
th Args
|
10
10
|
th Queue
|
11
|
-
th Exception
|
12
|
-
th Error
|
13
11
|
th Failed At
|
12
|
+
th Exception
|
14
13
|
- @messages.each do |msg|
|
15
14
|
tr
|
16
15
|
td= msg['worker']
|
17
16
|
td= msg['payload']['args'].inspect[0..100]
|
18
17
|
td= msg['queue']
|
19
|
-
td= msg['exception']
|
20
|
-
td= msg['error']
|
21
18
|
td= msg['failed_at']
|
19
|
+
td
|
20
|
+
= "#{msg['exception']}: "
|
21
|
+
a.backtrace href="#" onclick="$(this).next().toggle()" =msg['error']
|
22
|
+
pre style="display:none; font-size: 0.8em" = msg['backtrace'].join("\n")
|
22
23
|
|
23
24
|
form.form-horizontal action="#{root_path}failures/remove" method="post"
|
24
25
|
input.btn.btn-danger type="submit" name="delete" value="Clear All"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sidekiq-failures
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
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: 2012-10-
|
12
|
+
date: 2012-10-30 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: sidekiq
|
@@ -115,6 +115,7 @@ extensions: []
|
|
115
115
|
extra_rdoc_files: []
|
116
116
|
files:
|
117
117
|
- .gitignore
|
118
|
+
- CHANGELOG.md
|
118
119
|
- Gemfile
|
119
120
|
- LICENSE
|
120
121
|
- README.md
|
@@ -143,7 +144,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
143
144
|
version: '0'
|
144
145
|
segments:
|
145
146
|
- 0
|
146
|
-
hash: -
|
147
|
+
hash: -1783905454239624780
|
147
148
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
148
149
|
none: false
|
149
150
|
requirements:
|
@@ -152,7 +153,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
152
153
|
version: '0'
|
153
154
|
segments:
|
154
155
|
- 0
|
155
|
-
hash: -
|
156
|
+
hash: -1783905454239624780
|
156
157
|
requirements: []
|
157
158
|
rubyforge_project:
|
158
159
|
rubygems_version: 1.8.23
|