sidekiq-failures 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +5 -2
- data/CHANGELOG.md +4 -0
- data/README.md +1 -1
- data/lib/sidekiq/failures/version.rb +1 -1
- data/lib/sidekiq/failures/views/failures.erb +1 -1
- data/test/web_extension_test.rb +11 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ef8e45759e8632e06c43e6d68074a4c12c8e4ad6
|
4
|
+
data.tar.gz: 9388a41322307036eeee488e71be8695c481fa9b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1975b9a74bbaea66c03dad69e62b5ed007a4137cd0c9d634238d0a4f15bb28f6a6eb0aa3395433392f0d19f6408f655ebf944052623fd4fad55b40460c6f5750
|
7
|
+
data.tar.gz: dc950ec4c3015ddfab679297011e284127ffb16adb62ad931b8e7cb049aafa303b2f29dfbd05bbe9b19c1764be569870b92173b98150488c443d199597291fa0
|
data/.travis.yml
CHANGED
@@ -5,10 +5,13 @@ rvm:
|
|
5
5
|
- 1.9.3
|
6
6
|
- jruby-19mode
|
7
7
|
- 2.0.0
|
8
|
-
- 2.1
|
9
|
-
- 2.1.1
|
8
|
+
- 2.1
|
10
9
|
env:
|
11
10
|
matrix:
|
12
11
|
- SIDEKIQ_VERSION="~> 2.16.0"
|
13
12
|
- SIDEKIQ_VERSION="~> 2.17.0"
|
14
13
|
- SIDEKIQ_VERSION="~> 3.0.0"
|
14
|
+
matrix:
|
15
|
+
allow_failures:
|
16
|
+
- rvm: 1.9.3
|
17
|
+
- rvm: jruby-19mode
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -41,7 +41,7 @@
|
|
41
41
|
<td>
|
42
42
|
<a href="<%= root_path %>queues/<%= entry.queue %>"><%= entry.queue %></a>
|
43
43
|
</td>
|
44
|
-
<td><%= relative_time(Time.at(entry['failed_at'])) %></td>
|
44
|
+
<td><%= relative_time(entry['failed_at'].is_a?(Float) ? Time.at(entry['failed_at']) : Time.parse(entry['failed_at'])) %></td>
|
45
45
|
<td style="overflow: auto; padding: 10px;">
|
46
46
|
<a class="backtrace" href="#" onclick="$(this).next().toggle(); return false">
|
47
47
|
<%= h entry['error_class'] %>: <%= h entry['error_message'] %>
|
data/test/web_extension_test.rb
CHANGED
@@ -168,6 +168,17 @@ module Sidekiq
|
|
168
168
|
end
|
169
169
|
end
|
170
170
|
|
171
|
+
describe 'when there are failures with old timestamp format' do
|
172
|
+
before do
|
173
|
+
create_sample_failure failed_at: Time.now.strftime('%Y-%m-%dT%H:%M:%SZ')
|
174
|
+
get '/failures'
|
175
|
+
end
|
176
|
+
|
177
|
+
it 'should be successful' do
|
178
|
+
last_response.status.must_equal 200
|
179
|
+
end
|
180
|
+
end
|
181
|
+
|
171
182
|
describe 'when there is failure' do
|
172
183
|
before do
|
173
184
|
create_sample_failure
|
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.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marcelo Silveira
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-06-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sidekiq
|