resque-poll 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/resque_poll/poller.coffee +1 -1
- data/lib/resque_poll/version.rb +1 -1
- 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: 44f0ef243bf7f8742ead4adb4096a50f2a9fd90b
|
4
|
+
data.tar.gz: 219e781aa95bef4693a27255b01e58cbe34b2689
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5944f480c6e5685fe8a5f188622505c067753465f638529e91a5bdd436ff7225e220c3723d979d0725003fd1ec4f8167ee4824be76e5fce22997a362d827a18d
|
7
|
+
data.tar.gz: 8bb9b08defb7f62d2e1a100c75bbc8f3e6728ba2963d5edb204872e2d2b6570e4219b3fe57e2448d69f68ecff9da51c5d9b16008af107875bdf8b1a357865792
|
@@ -11,7 +11,7 @@ class ResquePoller
|
|
11
11
|
_poll: => $.getJSON @url, (resp) => @_handleResponse(resp)
|
12
12
|
|
13
13
|
_handleResponse: (resp) ->
|
14
|
-
return if resp.status is 'queued'
|
14
|
+
return if (resp.status is 'queued' || resp.status is 'working')
|
15
15
|
clearInterval @intervalID if @intervalID
|
16
16
|
switch resp.status
|
17
17
|
when 'completed'
|
data/lib/resque_poll/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: resque-poll
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Anthony Zacharakis
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-03-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bartt-ssl_requirement
|