resque-notify 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +25 -0
- data/lib/version.rb +1 -1
- data/resque-notify.gemspec +1 -0
- metadata +4 -4
- data/LICENSE +0 -20
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 384e2e82291a1256b759892feee0621bb2bad4b0
|
4
|
+
data.tar.gz: 3a7759a2f35ce8a73671985a760abf64bb999698
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2a86f349a04fee36fa4a3f26210faf82e3d88be1272b773f9647039d134728ee4fc2098abe1a647e7114c550a38dbf68ab99dc33d2414e341d860b88ae4c4f7c
|
7
|
+
data.tar.gz: a77c3cdc716ba150b2f7a6ea2012054c9cc017a1a00f13e094fb24dcea4c8e9960b9656290eb6a1fd33a21105f634a0dc3137f1f53f5992837954e19fe583142
|
data/README.md
CHANGED
@@ -0,0 +1,25 @@
|
|
1
|
+
A Resque plugin that sends desktop notification if a job fails.
|
2
|
+
|
3
|
+
## How to Use
|
4
|
+
|
5
|
+
### Install
|
6
|
+
`gem "resque-notify"`
|
7
|
+
|
8
|
+
### Require
|
9
|
+
`require 'resque-notify/server'`
|
10
|
+
|
11
|
+
### Poll
|
12
|
+
1. Open the Resque web view
|
13
|
+
1. Make sure you're on the overview page
|
14
|
+
1. Click "Live Poll"
|
15
|
+
1. Wait for failed jobs
|
16
|
+
|
17
|
+
## Q&A
|
18
|
+
|
19
|
+
<dl>
|
20
|
+
<dt>Why am I not being notified?</dt>
|
21
|
+
<dd>Probably because you don't have the Overview page open on the Resque web view, or you haven't clicked "Live Poll" yet</dd>
|
22
|
+
|
23
|
+
<dt>How does this work?</dt>
|
24
|
+
<dd>Resque Notify adds a second view directory to the Sinatra app that Resque uses to create a web view. This directory contains a copy of layout.erb. The only difference between this layout file and the default one is that it includes the notify script. This plugin also overrides the Resque::Server#show method so that the default layout is the layout with the notify script.</dd>
|
25
|
+
</dl>
|
data/lib/version.rb
CHANGED
data/resque-notify.gemspec
CHANGED
@@ -11,6 +11,7 @@ Gem::Specification.new do |s|
|
|
11
11
|
s.homepage = "https://github.com/srcoley/resque-notify"
|
12
12
|
s.summary = %q{A Resque plugin that sends desktop notifications when a job fails}
|
13
13
|
s.description = %q{A Resque plugin that sends desktop notifications when a job fails}
|
14
|
+
s.license = 'MIT'
|
14
15
|
|
15
16
|
s.files = `git ls-files`.split("\n")
|
16
17
|
s.require_paths = ["lib"]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stephen Coley
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-05-
|
11
|
+
date: 2015-05-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: resque
|
@@ -33,7 +33,6 @@ extra_rdoc_files: []
|
|
33
33
|
files:
|
34
34
|
- .gitignore
|
35
35
|
- Gemfile
|
36
|
-
- LICENSE
|
37
36
|
- README.md
|
38
37
|
- Rakefile
|
39
38
|
- lib/resque-notify/server.rb
|
@@ -42,7 +41,8 @@ files:
|
|
42
41
|
- lib/version.rb
|
43
42
|
- resque-notify.gemspec
|
44
43
|
homepage: https://github.com/srcoley/resque-notify
|
45
|
-
licenses:
|
44
|
+
licenses:
|
45
|
+
- MIT
|
46
46
|
metadata: {}
|
47
47
|
post_install_message:
|
48
48
|
rdoc_options: []
|
data/LICENSE
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
Copyright (c) Stephen Coley (stephen@coley.co)
|
2
|
-
|
3
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
-
a copy of this software and associated documentation files (the
|
5
|
-
"Software"), to deal in the Software without restriction, including
|
6
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
-
permit persons to whom the Software is furnished to do so, subject to
|
9
|
-
the following conditions:
|
10
|
-
|
11
|
-
The above copyright notice and this permission notice shall be
|
12
|
-
included in all copies or substantial portions of the Software.
|
13
|
-
|
14
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
-
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
-
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|