resque-notify 0.0.2 → 0.0.3
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.
- checksums.yaml +4 -4
- data/lib/resque-notify/server/public/failed.gif +0 -0
- data/lib/resque-notify/server/public/notify.js +2 -3
- data/lib/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 078e8e644bf985ccdd7ab1829b2a52b8737c1323
|
4
|
+
data.tar.gz: 8c867d03a2654f882cffb1987462da87ce1279ca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f4dd47308ce6082b1d5ca2449ecd51ac7cabd41db3df7ae20db3ad8be876fb08e1c9894a1bc4092345c5cb9345cd1df6a5fc61d2796524d74eb70dc3a1092687
|
7
|
+
data.tar.gz: f3fc04269bb910ca8a376d47f8fe4279e5f2eb9d25ed09f41d23ee9b3cf6a271a550377952df156b8ab193c39447e48628119c2b1766d46133258c0d9992ec64
|
Binary file
|
@@ -14,7 +14,6 @@
|
|
14
14
|
failedCount = newFailedCount;
|
15
15
|
} else if ( newFailedCount > failedCount ) {
|
16
16
|
failedCount = newFailedCount;
|
17
|
-
//notifyFailed(newFailedCount, failedTd);
|
18
17
|
getFailed();
|
19
18
|
} else if ( newFailedCount < failedCount) {
|
20
19
|
failedCount = newFailedCount;
|
@@ -24,7 +23,7 @@
|
|
24
23
|
function notifyFailed(failedClassText, failedError) {
|
25
24
|
var failedLink = $('td.queue.failed').find('a').attr('href');
|
26
25
|
var notification = new Notification(failedClassText + ' Failed', {
|
27
|
-
icon: '
|
26
|
+
icon: '/notify/public/failed.gif',
|
28
27
|
body: "Exception Raised: " + failedError
|
29
28
|
});
|
30
29
|
clearInterval(checkFailedInterval);
|
@@ -39,7 +38,7 @@
|
|
39
38
|
$.ajax({
|
40
39
|
dataType: 'text',
|
41
40
|
type: 'get',
|
42
|
-
url: "
|
41
|
+
url: "/resque/failed.poll",
|
43
42
|
success: function(data) {
|
44
43
|
parseFailed($(data));
|
45
44
|
}
|
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: resque-notify
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stephen Coley
|
@@ -36,6 +36,7 @@ files:
|
|
36
36
|
- README.md
|
37
37
|
- Rakefile
|
38
38
|
- lib/resque-notify/server.rb
|
39
|
+
- lib/resque-notify/server/public/failed.gif
|
39
40
|
- lib/resque-notify/server/public/notify.js
|
40
41
|
- lib/resque-notify/server/views/notify-layout.erb
|
41
42
|
- lib/version.rb
|