resque-poll 1.0.1 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -1
- data/app/controllers/resque_poll/application_controller.rb +0 -1
- data/app/controllers/resque_poll/jobs_controller.rb +0 -2
- data/lib/resque-poll.rb +0 -1
- data/lib/resque_poll/version.rb +1 -1
- metadata +22 -36
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d9378b21f3052d5caedf53cc8aae1316d594164f
|
4
|
+
data.tar.gz: 14d39aaf44735953a9914207f43e5b04ea62a351
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 337c142f392618c4f9757a0a98825a401eedfa827b011ff55d05f43b91b78fab569a94ddc0e30567e05735fbd09ad8b910bde2e435d6e06d0c3a2baaf02114e9
|
7
|
+
data.tar.gz: b91bf349ffd0a4b252412b5f719e58cd03b6ac02200dc8c5093b163a806a3e13b6683c933334e1ce29c0fc7a69892e17ba6578f4a0b578ad9f6703a01253f72c
|
data/README.md
CHANGED
@@ -40,7 +40,7 @@ Your controller can then use ResquePoll to return the appropriate response to be
|
|
40
40
|
```ruby
|
41
41
|
class MoviesController < ApplicationController
|
42
42
|
def create
|
43
|
-
poll = ResquePoll.create(LongRunningMoveJob, {title: params[:title]})
|
43
|
+
poll = ResquePoll::Job.create(LongRunningMoveJob, {title: params[:title]})
|
44
44
|
render json: poll.to_json
|
45
45
|
end
|
46
46
|
end
|
@@ -72,3 +72,7 @@ Since a common use case would be to enable/disable the submit button during the
|
|
72
72
|
```erb
|
73
73
|
<%= f.submit :'data-resque-poll-disable-with' => 'Creating...' %>
|
74
74
|
```
|
75
|
+
|
76
|
+
## Dependencies
|
77
|
+
|
78
|
+
resque-poll's latest version, 2.0.0, is dependent on Rails 4.0.0. It is not backwards-compatible with Rails 3. For the Rails 3 compatible version of resque-poll, please downgrade to 1.0.1.
|
data/lib/resque-poll.rb
CHANGED
data/lib/resque_poll/version.rb
CHANGED
metadata
CHANGED
@@ -1,65 +1,51 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: resque-poll
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Anthony Zacharakis
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-06-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: bartt-ssl_requirement
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - ~>
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '1.4'
|
20
|
-
type: :runtime
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - ~>
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '1.4'
|
27
13
|
- !ruby/object:Gem::Dependency
|
28
14
|
name: rails
|
29
15
|
requirement: !ruby/object:Gem::Requirement
|
30
16
|
requirements:
|
31
|
-
- -
|
17
|
+
- - '='
|
32
18
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
19
|
+
version: 4.0.0
|
34
20
|
type: :runtime
|
35
21
|
prerelease: false
|
36
22
|
version_requirements: !ruby/object:Gem::Requirement
|
37
23
|
requirements:
|
38
|
-
- -
|
24
|
+
- - '='
|
39
25
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
26
|
+
version: 4.0.0
|
41
27
|
- !ruby/object:Gem::Dependency
|
42
28
|
name: resque-status
|
43
29
|
requirement: !ruby/object:Gem::Requirement
|
44
30
|
requirements:
|
45
31
|
- - ~>
|
46
32
|
- !ruby/object:Gem::Version
|
47
|
-
version: '0.
|
33
|
+
version: '0.5'
|
48
34
|
type: :runtime
|
49
35
|
prerelease: false
|
50
36
|
version_requirements: !ruby/object:Gem::Requirement
|
51
37
|
requirements:
|
52
38
|
- - ~>
|
53
39
|
- !ruby/object:Gem::Version
|
54
|
-
version: '0.
|
40
|
+
version: '0.5'
|
55
41
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
42
|
+
name: fakeredis
|
57
43
|
requirement: !ruby/object:Gem::Requirement
|
58
44
|
requirements:
|
59
45
|
- - '>='
|
60
46
|
- !ruby/object:Gem::Version
|
61
47
|
version: '0'
|
62
|
-
type: :
|
48
|
+
type: :development
|
63
49
|
prerelease: false
|
64
50
|
version_requirements: !ruby/object:Gem::Requirement
|
65
51
|
requirements:
|
@@ -67,7 +53,7 @@ dependencies:
|
|
67
53
|
- !ruby/object:Gem::Version
|
68
54
|
version: '0'
|
69
55
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
56
|
+
name: pry
|
71
57
|
requirement: !ruby/object:Gem::Requirement
|
72
58
|
requirements:
|
73
59
|
- - '>='
|
@@ -81,33 +67,33 @@ dependencies:
|
|
81
67
|
- !ruby/object:Gem::Version
|
82
68
|
version: '0'
|
83
69
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
70
|
+
name: rspec-its
|
85
71
|
requirement: !ruby/object:Gem::Requirement
|
86
72
|
requirements:
|
87
|
-
- -
|
73
|
+
- - ~>
|
88
74
|
- !ruby/object:Gem::Version
|
89
|
-
version:
|
75
|
+
version: 1.1.0
|
90
76
|
type: :development
|
91
77
|
prerelease: false
|
92
78
|
version_requirements: !ruby/object:Gem::Requirement
|
93
79
|
requirements:
|
94
|
-
- -
|
80
|
+
- - ~>
|
95
81
|
- !ruby/object:Gem::Version
|
96
|
-
version:
|
82
|
+
version: 1.1.0
|
97
83
|
- !ruby/object:Gem::Dependency
|
98
84
|
name: rspec-rails
|
99
85
|
requirement: !ruby/object:Gem::Requirement
|
100
86
|
requirements:
|
101
87
|
- - ~>
|
102
88
|
- !ruby/object:Gem::Version
|
103
|
-
version:
|
89
|
+
version: 3.2.1
|
104
90
|
type: :development
|
105
91
|
prerelease: false
|
106
92
|
version_requirements: !ruby/object:Gem::Requirement
|
107
93
|
requirements:
|
108
94
|
- - ~>
|
109
95
|
- !ruby/object:Gem::Version
|
110
|
-
version:
|
96
|
+
version: 3.2.1
|
111
97
|
- !ruby/object:Gem::Dependency
|
112
98
|
name: sqlite3
|
113
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -129,9 +115,6 @@ executables: []
|
|
129
115
|
extensions: []
|
130
116
|
extra_rdoc_files: []
|
131
117
|
files:
|
132
|
-
- MIT-LICENSE
|
133
|
-
- README.md
|
134
|
-
- Rakefile
|
135
118
|
- app/assets/javascripts/resque_poll/index.coffee
|
136
119
|
- app/assets/javascripts/resque_poll/poller.coffee
|
137
120
|
- app/controllers/resque_poll/application_controller.rb
|
@@ -142,6 +125,9 @@ files:
|
|
142
125
|
- lib/resque_poll/engine.rb
|
143
126
|
- lib/resque_poll/version.rb
|
144
127
|
- lib/tasks/resque-poll_tasks.rake
|
128
|
+
- MIT-LICENSE
|
129
|
+
- Rakefile
|
130
|
+
- README.md
|
145
131
|
homepage: https://www.lumosity.com
|
146
132
|
licenses: []
|
147
133
|
metadata: {}
|
@@ -161,7 +147,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
161
147
|
version: '0'
|
162
148
|
requirements: []
|
163
149
|
rubyforge_project:
|
164
|
-
rubygems_version: 2.
|
150
|
+
rubygems_version: 2.0.14
|
165
151
|
signing_key:
|
166
152
|
specification_version: 4
|
167
153
|
summary: A resque-based web poller
|