resque-notify 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 384e2e82291a1256b759892feee0621bb2bad4b0
4
- data.tar.gz: 3a7759a2f35ce8a73671985a760abf64bb999698
3
+ metadata.gz: 078e8e644bf985ccdd7ab1829b2a52b8737c1323
4
+ data.tar.gz: 8c867d03a2654f882cffb1987462da87ce1279ca
5
5
  SHA512:
6
- metadata.gz: 2a86f349a04fee36fa4a3f26210faf82e3d88be1272b773f9647039d134728ee4fc2098abe1a647e7114c550a38dbf68ab99dc33d2414e341d860b88ae4c4f7c
7
- data.tar.gz: a77c3cdc716ba150b2f7a6ea2012054c9cc017a1a00f13e094fb24dcea4c8e9960b9656290eb6a1fd33a21105f634a0dc3137f1f53f5992837954e19fe583142
6
+ metadata.gz: f4dd47308ce6082b1d5ca2449ecd51ac7cabd41db3df7ae20db3ad8be876fb08e1c9894a1bc4092345c5cb9345cd1df6a5fc61d2796524d74eb70dc3a1092687
7
+ data.tar.gz: f3fc04269bb910ca8a376d47f8fe4279e5f2eb9d25ed09f41d23ee9b3cf6a271a550377952df156b8ab193c39447e48628119c2b1766d46133258c0d9992ec64
@@ -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: 'https://pbs.twimg.com/profile_images/456473652515463169/xXR95uqW_normal.png',
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: "http://mobi.mobi.dev/resque/failed.poll",
41
+ url: "/resque/failed.poll",
43
42
  success: function(data) {
44
43
  parseFailed($(data));
45
44
  }
data/lib/version.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  module Resque
2
2
  module Plugins
3
3
  module Notify
4
- VERSION = "0.0.2"
4
+ VERSION = "0.0.3"
5
5
  end
6
6
  end
7
7
  end
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.2
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