resque-scheduler 2.5.1 → 4.10.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.github/dependabot.yml +12 -0
- data/.github/funding.yml +4 -0
- data/.github/workflows/codeql-analysis.yml +59 -0
- data/.github/workflows/rubocop.yml +27 -0
- data/.github/workflows/ruby.yml +81 -0
- data/AUTHORS.md +25 -0
- data/CHANGELOG.md +539 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +26 -2
- data/README.md +291 -70
- data/Rakefile +8 -19
- data/exe/resque-scheduler +5 -0
- data/lib/resque/scheduler/cli.rb +147 -0
- data/lib/resque/scheduler/configuration.rb +102 -0
- data/lib/resque/scheduler/delaying_extensions.rb +371 -0
- data/lib/resque/scheduler/env.rb +85 -0
- data/lib/resque/scheduler/extension.rb +13 -0
- data/lib/resque/scheduler/failure_handler.rb +11 -0
- data/lib/resque/scheduler/lock/base.rb +13 -4
- data/lib/resque/scheduler/lock/basic.rb +4 -5
- data/lib/resque/scheduler/lock/resilient.rb +52 -43
- data/lib/resque/scheduler/lock.rb +2 -1
- data/lib/resque/scheduler/locking.rb +104 -0
- data/lib/resque/scheduler/logger_builder.rb +83 -0
- data/lib/resque/scheduler/plugin.rb +31 -0
- data/lib/resque/scheduler/scheduling_extensions.rb +142 -0
- data/lib/{resque_scheduler → resque/scheduler}/server/views/delayed.erb +21 -12
- data/lib/{resque_scheduler → resque/scheduler}/server/views/delayed_schedules.erb +1 -1
- data/lib/{resque_scheduler → resque/scheduler}/server/views/delayed_timestamp.erb +1 -1
- data/lib/resque/scheduler/server/views/scheduler.erb +58 -0
- data/lib/{resque_scheduler → resque/scheduler}/server/views/search.erb +4 -7
- data/lib/{resque_scheduler → resque/scheduler}/server/views/search_form.erb +1 -5
- data/lib/resque/scheduler/server.rb +268 -0
- data/lib/resque/scheduler/signal_handling.rb +40 -0
- data/lib/{resque_scheduler → resque/scheduler}/tasks.rb +3 -6
- data/lib/resque/scheduler/util.rb +39 -0
- data/lib/resque/scheduler/version.rb +7 -0
- data/lib/resque/scheduler.rb +271 -199
- data/lib/resque-scheduler.rb +3 -1
- data/resque-scheduler.gemspec +53 -20
- metadata +176 -132
- data/.gitignore +0 -11
- data/.rubocop.yml +0 -129
- data/.simplecov +0 -1
- data/.travis.yml +0 -21
- data/HISTORY.md +0 -226
- data/ROADMAP.md +0 -10
- data/bin/resque-scheduler +0 -5
- data/examples/Rakefile +0 -2
- data/examples/config/initializers/resque-web.rb +0 -37
- data/examples/dynamic-scheduling/README.md +0 -28
- data/examples/dynamic-scheduling/app/jobs/fix_schedules_job.rb +0 -54
- data/examples/dynamic-scheduling/app/jobs/send_email_job.rb +0 -9
- data/examples/dynamic-scheduling/app/models/user.rb +0 -16
- data/examples/dynamic-scheduling/config/resque.yml +0 -4
- data/examples/dynamic-scheduling/config/static_schedule.yml +0 -7
- data/examples/dynamic-scheduling/lib/tasks/resque.rake +0 -48
- data/examples/run-resque-web +0 -3
- data/lib/resque/scheduler_locking.rb +0 -91
- data/lib/resque_scheduler/cli.rb +0 -160
- data/lib/resque_scheduler/logger_builder.rb +0 -70
- data/lib/resque_scheduler/plugin.rb +0 -28
- data/lib/resque_scheduler/server/views/scheduler.erb +0 -36
- data/lib/resque_scheduler/server.rb +0 -182
- data/lib/resque_scheduler/util.rb +0 -34
- data/lib/resque_scheduler/version.rb +0 -5
- data/lib/resque_scheduler.rb +0 -386
- data/script/migrate_to_timestamps_set.rb +0 -14
- data/tasks/resque_scheduler.rake +0 -2
- data/test/cli_test.rb +0 -286
- data/test/delayed_queue_test.rb +0 -449
- data/test/redis-test.conf +0 -108
- data/test/resque-web_test.rb +0 -199
- data/test/scheduler_args_test.rb +0 -190
- data/test/scheduler_hooks_test.rb +0 -23
- data/test/scheduler_locking_test.rb +0 -242
- data/test/scheduler_setup_test.rb +0 -95
- data/test/scheduler_task_test.rb +0 -35
- data/test/scheduler_test.rb +0 -344
- data/test/support/redis_instance.rb +0 -134
- data/test/test_helper.rb +0 -131
- /data/lib/{resque_scheduler → resque/scheduler}/server/views/requeue-params.erb +0 -0
data/resque-scheduler.gemspec
CHANGED
@@ -1,35 +1,68 @@
|
|
1
1
|
# vim:fileencoding=utf-8
|
2
2
|
lib = File.expand_path('../lib', __FILE__)
|
3
3
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
-
require '
|
4
|
+
require 'resque/scheduler/version'
|
5
5
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
|
-
spec.name
|
8
|
-
spec.version
|
9
|
-
spec.authors
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
7
|
+
spec.name = 'resque-scheduler'
|
8
|
+
spec.version = Resque::Scheduler::VERSION
|
9
|
+
spec.authors = <<-EOF.split(/\n/).map(&:strip)
|
10
|
+
Ben VandenBos
|
11
|
+
Simon Eskildsen
|
12
|
+
Ryan Biesemeyer
|
13
|
+
Dan Buch
|
14
|
+
Michael Bianco
|
15
|
+
Patrick Tulskie
|
16
|
+
EOF
|
17
|
+
spec.email = %w(
|
18
|
+
bvandenbos@gmail.com
|
19
|
+
sirup@sirupsen.com
|
20
|
+
ryan@yaauie.com
|
21
|
+
dan@meatballhat.com
|
22
|
+
mike@mikebian.co
|
23
|
+
patricktulskie@gmail.com
|
24
|
+
)
|
25
|
+
spec.summary = 'Light weight job scheduling on top of Resque'
|
26
|
+
spec.description = <<-DESCRIPTION
|
27
|
+
Light weight job scheduling on top of Resque.
|
14
28
|
Adds methods enqueue_at/enqueue_in to schedule jobs in the future.
|
15
|
-
Also supports queueing jobs on a fixed, cron-like schedule.
|
29
|
+
Also supports queueing jobs on a fixed, cron-like schedule.
|
30
|
+
DESCRIPTION
|
31
|
+
spec.homepage = 'https://github.com/resque/resque-scheduler'
|
16
32
|
spec.license = 'MIT'
|
33
|
+
spec.metadata['rubygems_mfa_required'] = 'true'
|
17
34
|
|
18
|
-
spec.
|
19
|
-
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
20
|
-
spec.test_files = spec.files.grep(%r{^test/})
|
21
|
-
spec.require_paths = ['lib']
|
35
|
+
spec.required_ruby_version = '>= 2.3.0'
|
22
36
|
|
23
|
-
spec.
|
37
|
+
spec.files = `git ls-files -z`.split("\0").reject do |f|
|
38
|
+
f.match(%r{^(test|spec|features|examples|bin|tasks)/}) ||
|
39
|
+
f.match(/^(Vagrantfile|Gemfile\.lock)/) ||
|
40
|
+
f.match(/^\.(rubocop|simplecov|vagrant|gitignore)/)
|
41
|
+
end
|
42
|
+
spec.bindir = 'exe'
|
43
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
44
|
+
spec.require_paths = %w(lib)
|
45
|
+
|
46
|
+
spec.add_development_dependency 'bundler'
|
47
|
+
spec.add_development_dependency 'json'
|
48
|
+
spec.add_development_dependency 'minitest'
|
24
49
|
spec.add_development_dependency 'mocha'
|
25
50
|
spec.add_development_dependency 'pry'
|
26
51
|
spec.add_development_dependency 'rack-test'
|
27
52
|
spec.add_development_dependency 'rake'
|
28
|
-
spec.add_development_dependency '
|
29
|
-
spec.add_development_dependency '
|
30
|
-
spec.add_development_dependency '
|
53
|
+
spec.add_development_dependency 'simplecov'
|
54
|
+
spec.add_development_dependency 'test-unit'
|
55
|
+
spec.add_development_dependency 'yard'
|
56
|
+
spec.add_development_dependency 'timecop'
|
57
|
+
|
58
|
+
# We pin rubocop because new cops have a tendency to result in false-y
|
59
|
+
# positives for new contributors, which is not a nice experience.
|
60
|
+
spec.add_development_dependency 'rubocop', '~> 0.40.0'
|
31
61
|
|
32
|
-
spec.add_runtime_dependency '
|
33
|
-
spec.add_runtime_dependency '
|
34
|
-
spec.add_runtime_dependency '
|
62
|
+
spec.add_runtime_dependency 'mono_logger', '~> 1.0'
|
63
|
+
spec.add_runtime_dependency 'redis', '>= 3.3'
|
64
|
+
spec.add_runtime_dependency 'resque', '>= 1.27'
|
65
|
+
# rufus-scheduler v3.7 causes a failure in test/multi_process_test.rb
|
66
|
+
# rufus-scheduler v3.3 is missing a to_local method which fails tests
|
67
|
+
spec.add_runtime_dependency 'rufus-scheduler', '~> 3.2', '!= 3.3'
|
35
68
|
end
|
metadata
CHANGED
@@ -1,287 +1,331 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: resque-scheduler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
5
|
-
prerelease:
|
4
|
+
version: 4.10.2
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Ben VandenBos
|
8
|
+
- Simon Eskildsen
|
9
|
+
- Ryan Biesemeyer
|
10
|
+
- Dan Buch
|
11
|
+
- Michael Bianco
|
12
|
+
- Patrick Tulskie
|
9
13
|
autorequire:
|
10
|
-
bindir:
|
14
|
+
bindir: exe
|
11
15
|
cert_chain: []
|
12
|
-
date:
|
16
|
+
date: 2023-12-15 00:00:00.000000000 Z
|
13
17
|
dependencies:
|
14
18
|
- !ruby/object:Gem::Dependency
|
15
19
|
name: bundler
|
16
20
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
21
|
requirements:
|
19
|
-
- -
|
22
|
+
- - ">="
|
20
23
|
- !ruby/object:Gem::Version
|
21
|
-
version: '
|
24
|
+
version: '0'
|
25
|
+
type: :development
|
26
|
+
prerelease: false
|
27
|
+
version_requirements: !ruby/object:Gem::Requirement
|
28
|
+
requirements:
|
29
|
+
- - ">="
|
30
|
+
- !ruby/object:Gem::Version
|
31
|
+
version: '0'
|
32
|
+
- !ruby/object:Gem::Dependency
|
33
|
+
name: json
|
34
|
+
requirement: !ruby/object:Gem::Requirement
|
35
|
+
requirements:
|
36
|
+
- - ">="
|
37
|
+
- !ruby/object:Gem::Version
|
38
|
+
version: '0'
|
39
|
+
type: :development
|
40
|
+
prerelease: false
|
41
|
+
version_requirements: !ruby/object:Gem::Requirement
|
42
|
+
requirements:
|
43
|
+
- - ">="
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0'
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: minitest
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
requirements:
|
50
|
+
- - ">="
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: '0'
|
22
53
|
type: :development
|
23
54
|
prerelease: false
|
24
55
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
56
|
requirements:
|
27
|
-
- -
|
57
|
+
- - ">="
|
28
58
|
- !ruby/object:Gem::Version
|
29
|
-
version: '
|
59
|
+
version: '0'
|
30
60
|
- !ruby/object:Gem::Dependency
|
31
61
|
name: mocha
|
32
62
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
63
|
requirements:
|
35
|
-
- -
|
64
|
+
- - ">="
|
36
65
|
- !ruby/object:Gem::Version
|
37
66
|
version: '0'
|
38
67
|
type: :development
|
39
68
|
prerelease: false
|
40
69
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
70
|
requirements:
|
43
|
-
- -
|
71
|
+
- - ">="
|
44
72
|
- !ruby/object:Gem::Version
|
45
73
|
version: '0'
|
46
74
|
- !ruby/object:Gem::Dependency
|
47
75
|
name: pry
|
48
76
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
77
|
requirements:
|
51
|
-
- -
|
78
|
+
- - ">="
|
52
79
|
- !ruby/object:Gem::Version
|
53
80
|
version: '0'
|
54
81
|
type: :development
|
55
82
|
prerelease: false
|
56
83
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
84
|
requirements:
|
59
|
-
- -
|
85
|
+
- - ">="
|
60
86
|
- !ruby/object:Gem::Version
|
61
87
|
version: '0'
|
62
88
|
- !ruby/object:Gem::Dependency
|
63
89
|
name: rack-test
|
64
90
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
91
|
requirements:
|
67
|
-
- -
|
92
|
+
- - ">="
|
68
93
|
- !ruby/object:Gem::Version
|
69
94
|
version: '0'
|
70
95
|
type: :development
|
71
96
|
prerelease: false
|
72
97
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
98
|
requirements:
|
75
|
-
- -
|
99
|
+
- - ">="
|
76
100
|
- !ruby/object:Gem::Version
|
77
101
|
version: '0'
|
78
102
|
- !ruby/object:Gem::Dependency
|
79
103
|
name: rake
|
80
104
|
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
105
|
requirements:
|
83
|
-
- -
|
106
|
+
- - ">="
|
84
107
|
- !ruby/object:Gem::Version
|
85
108
|
version: '0'
|
86
109
|
type: :development
|
87
110
|
prerelease: false
|
88
111
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
112
|
requirements:
|
91
|
-
- -
|
113
|
+
- - ">="
|
92
114
|
- !ruby/object:Gem::Version
|
93
115
|
version: '0'
|
94
116
|
- !ruby/object:Gem::Dependency
|
95
|
-
name:
|
117
|
+
name: simplecov
|
96
118
|
requirement: !ruby/object:Gem::Requirement
|
97
|
-
none: false
|
98
119
|
requirements:
|
99
|
-
- -
|
120
|
+
- - ">="
|
100
121
|
- !ruby/object:Gem::Version
|
101
122
|
version: '0'
|
102
123
|
type: :development
|
103
124
|
prerelease: false
|
104
125
|
version_requirements: !ruby/object:Gem::Requirement
|
105
|
-
none: false
|
106
126
|
requirements:
|
107
|
-
- -
|
127
|
+
- - ">="
|
108
128
|
- !ruby/object:Gem::Version
|
109
129
|
version: '0'
|
110
130
|
- !ruby/object:Gem::Dependency
|
111
|
-
name:
|
131
|
+
name: test-unit
|
112
132
|
requirement: !ruby/object:Gem::Requirement
|
113
|
-
none: false
|
114
133
|
requirements:
|
115
|
-
- -
|
134
|
+
- - ">="
|
116
135
|
- !ruby/object:Gem::Version
|
117
136
|
version: '0'
|
118
137
|
type: :development
|
119
138
|
prerelease: false
|
120
139
|
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
none: false
|
122
140
|
requirements:
|
123
|
-
- -
|
141
|
+
- - ">="
|
124
142
|
- !ruby/object:Gem::Version
|
125
143
|
version: '0'
|
144
|
+
- !ruby/object:Gem::Dependency
|
145
|
+
name: yard
|
146
|
+
requirement: !ruby/object:Gem::Requirement
|
147
|
+
requirements:
|
148
|
+
- - ">="
|
149
|
+
- !ruby/object:Gem::Version
|
150
|
+
version: '0'
|
151
|
+
type: :development
|
152
|
+
prerelease: false
|
153
|
+
version_requirements: !ruby/object:Gem::Requirement
|
154
|
+
requirements:
|
155
|
+
- - ">="
|
156
|
+
- !ruby/object:Gem::Version
|
157
|
+
version: '0'
|
158
|
+
- !ruby/object:Gem::Dependency
|
159
|
+
name: timecop
|
160
|
+
requirement: !ruby/object:Gem::Requirement
|
161
|
+
requirements:
|
162
|
+
- - ">="
|
163
|
+
- !ruby/object:Gem::Version
|
164
|
+
version: '0'
|
165
|
+
type: :development
|
166
|
+
prerelease: false
|
167
|
+
version_requirements: !ruby/object:Gem::Requirement
|
168
|
+
requirements:
|
169
|
+
- - ">="
|
170
|
+
- !ruby/object:Gem::Version
|
171
|
+
version: '0'
|
172
|
+
- !ruby/object:Gem::Dependency
|
173
|
+
name: rubocop
|
174
|
+
requirement: !ruby/object:Gem::Requirement
|
175
|
+
requirements:
|
176
|
+
- - "~>"
|
177
|
+
- !ruby/object:Gem::Version
|
178
|
+
version: 0.40.0
|
179
|
+
type: :development
|
180
|
+
prerelease: false
|
181
|
+
version_requirements: !ruby/object:Gem::Requirement
|
182
|
+
requirements:
|
183
|
+
- - "~>"
|
184
|
+
- !ruby/object:Gem::Version
|
185
|
+
version: 0.40.0
|
186
|
+
- !ruby/object:Gem::Dependency
|
187
|
+
name: mono_logger
|
188
|
+
requirement: !ruby/object:Gem::Requirement
|
189
|
+
requirements:
|
190
|
+
- - "~>"
|
191
|
+
- !ruby/object:Gem::Version
|
192
|
+
version: '1.0'
|
193
|
+
type: :runtime
|
194
|
+
prerelease: false
|
195
|
+
version_requirements: !ruby/object:Gem::Requirement
|
196
|
+
requirements:
|
197
|
+
- - "~>"
|
198
|
+
- !ruby/object:Gem::Version
|
199
|
+
version: '1.0'
|
126
200
|
- !ruby/object:Gem::Dependency
|
127
201
|
name: redis
|
128
202
|
requirement: !ruby/object:Gem::Requirement
|
129
|
-
none: false
|
130
203
|
requirements:
|
131
|
-
- -
|
204
|
+
- - ">="
|
132
205
|
- !ruby/object:Gem::Version
|
133
|
-
version: 3.
|
206
|
+
version: '3.3'
|
134
207
|
type: :runtime
|
135
208
|
prerelease: false
|
136
209
|
version_requirements: !ruby/object:Gem::Requirement
|
137
|
-
none: false
|
138
210
|
requirements:
|
139
|
-
- -
|
211
|
+
- - ">="
|
140
212
|
- !ruby/object:Gem::Version
|
141
|
-
version: 3.
|
213
|
+
version: '3.3'
|
142
214
|
- !ruby/object:Gem::Dependency
|
143
215
|
name: resque
|
144
216
|
requirement: !ruby/object:Gem::Requirement
|
145
|
-
none: false
|
146
217
|
requirements:
|
147
|
-
- -
|
218
|
+
- - ">="
|
148
219
|
- !ruby/object:Gem::Version
|
149
|
-
version: '1.
|
220
|
+
version: '1.27'
|
150
221
|
type: :runtime
|
151
222
|
prerelease: false
|
152
223
|
version_requirements: !ruby/object:Gem::Requirement
|
153
|
-
none: false
|
154
224
|
requirements:
|
155
|
-
- -
|
225
|
+
- - ">="
|
156
226
|
- !ruby/object:Gem::Version
|
157
|
-
version: '1.
|
227
|
+
version: '1.27'
|
158
228
|
- !ruby/object:Gem::Dependency
|
159
229
|
name: rufus-scheduler
|
160
230
|
requirement: !ruby/object:Gem::Requirement
|
161
|
-
none: false
|
162
231
|
requirements:
|
163
|
-
- - ~>
|
232
|
+
- - "~>"
|
233
|
+
- !ruby/object:Gem::Version
|
234
|
+
version: '3.2'
|
235
|
+
- - "!="
|
164
236
|
- !ruby/object:Gem::Version
|
165
|
-
version: '
|
237
|
+
version: '3.3'
|
166
238
|
type: :runtime
|
167
239
|
prerelease: false
|
168
240
|
version_requirements: !ruby/object:Gem::Requirement
|
169
|
-
none: false
|
170
241
|
requirements:
|
171
|
-
- - ~>
|
242
|
+
- - "~>"
|
172
243
|
- !ruby/object:Gem::Version
|
173
|
-
version: '2
|
174
|
-
|
175
|
-
|
176
|
-
|
244
|
+
version: '3.2'
|
245
|
+
- - "!="
|
246
|
+
- !ruby/object:Gem::Version
|
247
|
+
version: '3.3'
|
248
|
+
description: |2
|
249
|
+
Light weight job scheduling on top of Resque.
|
250
|
+
Adds methods enqueue_at/enqueue_in to schedule jobs in the future.
|
251
|
+
Also supports queueing jobs on a fixed, cron-like schedule.
|
177
252
|
email:
|
178
253
|
- bvandenbos@gmail.com
|
254
|
+
- sirup@sirupsen.com
|
255
|
+
- ryan@yaauie.com
|
256
|
+
- dan@meatballhat.com
|
257
|
+
- mike@mikebian.co
|
258
|
+
- patricktulskie@gmail.com
|
179
259
|
executables:
|
180
260
|
- resque-scheduler
|
181
261
|
extensions: []
|
182
262
|
extra_rdoc_files: []
|
183
263
|
files:
|
184
|
-
- .
|
185
|
-
- .
|
186
|
-
- .
|
187
|
-
- .
|
264
|
+
- ".github/dependabot.yml"
|
265
|
+
- ".github/funding.yml"
|
266
|
+
- ".github/workflows/codeql-analysis.yml"
|
267
|
+
- ".github/workflows/rubocop.yml"
|
268
|
+
- ".github/workflows/ruby.yml"
|
188
269
|
- AUTHORS.md
|
270
|
+
- CHANGELOG.md
|
271
|
+
- CODE_OF_CONDUCT.md
|
189
272
|
- CONTRIBUTING.md
|
190
273
|
- Gemfile
|
191
|
-
- HISTORY.md
|
192
274
|
- LICENSE
|
193
275
|
- README.md
|
194
|
-
- ROADMAP.md
|
195
276
|
- Rakefile
|
196
|
-
-
|
197
|
-
- examples/Rakefile
|
198
|
-
- examples/config/initializers/resque-web.rb
|
199
|
-
- examples/dynamic-scheduling/README.md
|
200
|
-
- examples/dynamic-scheduling/app/jobs/fix_schedules_job.rb
|
201
|
-
- examples/dynamic-scheduling/app/jobs/send_email_job.rb
|
202
|
-
- examples/dynamic-scheduling/app/models/user.rb
|
203
|
-
- examples/dynamic-scheduling/config/resque.yml
|
204
|
-
- examples/dynamic-scheduling/config/static_schedule.yml
|
205
|
-
- examples/dynamic-scheduling/lib/tasks/resque.rake
|
206
|
-
- examples/run-resque-web
|
277
|
+
- exe/resque-scheduler
|
207
278
|
- lib/resque-scheduler.rb
|
208
279
|
- lib/resque/scheduler.rb
|
280
|
+
- lib/resque/scheduler/cli.rb
|
281
|
+
- lib/resque/scheduler/configuration.rb
|
282
|
+
- lib/resque/scheduler/delaying_extensions.rb
|
283
|
+
- lib/resque/scheduler/env.rb
|
284
|
+
- lib/resque/scheduler/extension.rb
|
285
|
+
- lib/resque/scheduler/failure_handler.rb
|
209
286
|
- lib/resque/scheduler/lock.rb
|
210
287
|
- lib/resque/scheduler/lock/base.rb
|
211
288
|
- lib/resque/scheduler/lock/basic.rb
|
212
289
|
- lib/resque/scheduler/lock/resilient.rb
|
213
|
-
- lib/resque/
|
214
|
-
- lib/
|
215
|
-
- lib/
|
216
|
-
- lib/
|
217
|
-
- lib/
|
218
|
-
- lib/
|
219
|
-
- lib/
|
220
|
-
- lib/
|
221
|
-
- lib/
|
222
|
-
- lib/
|
223
|
-
- lib/
|
224
|
-
- lib/
|
225
|
-
- lib/
|
226
|
-
- lib/
|
227
|
-
- lib/
|
228
|
-
- lib/
|
290
|
+
- lib/resque/scheduler/locking.rb
|
291
|
+
- lib/resque/scheduler/logger_builder.rb
|
292
|
+
- lib/resque/scheduler/plugin.rb
|
293
|
+
- lib/resque/scheduler/scheduling_extensions.rb
|
294
|
+
- lib/resque/scheduler/server.rb
|
295
|
+
- lib/resque/scheduler/server/views/delayed.erb
|
296
|
+
- lib/resque/scheduler/server/views/delayed_schedules.erb
|
297
|
+
- lib/resque/scheduler/server/views/delayed_timestamp.erb
|
298
|
+
- lib/resque/scheduler/server/views/requeue-params.erb
|
299
|
+
- lib/resque/scheduler/server/views/scheduler.erb
|
300
|
+
- lib/resque/scheduler/server/views/search.erb
|
301
|
+
- lib/resque/scheduler/server/views/search_form.erb
|
302
|
+
- lib/resque/scheduler/signal_handling.rb
|
303
|
+
- lib/resque/scheduler/tasks.rb
|
304
|
+
- lib/resque/scheduler/util.rb
|
305
|
+
- lib/resque/scheduler/version.rb
|
229
306
|
- resque-scheduler.gemspec
|
230
|
-
|
231
|
-
- tasks/resque_scheduler.rake
|
232
|
-
- test/cli_test.rb
|
233
|
-
- test/delayed_queue_test.rb
|
234
|
-
- test/redis-test.conf
|
235
|
-
- test/resque-web_test.rb
|
236
|
-
- test/scheduler_args_test.rb
|
237
|
-
- test/scheduler_hooks_test.rb
|
238
|
-
- test/scheduler_locking_test.rb
|
239
|
-
- test/scheduler_setup_test.rb
|
240
|
-
- test/scheduler_task_test.rb
|
241
|
-
- test/scheduler_test.rb
|
242
|
-
- test/support/redis_instance.rb
|
243
|
-
- test/test_helper.rb
|
244
|
-
homepage: http://github.com/resque/resque-scheduler
|
307
|
+
homepage: https://github.com/resque/resque-scheduler
|
245
308
|
licenses:
|
246
309
|
- MIT
|
310
|
+
metadata:
|
311
|
+
rubygems_mfa_required: 'true'
|
247
312
|
post_install_message:
|
248
313
|
rdoc_options: []
|
249
314
|
require_paths:
|
250
315
|
- lib
|
251
316
|
required_ruby_version: !ruby/object:Gem::Requirement
|
252
|
-
none: false
|
253
317
|
requirements:
|
254
|
-
- -
|
318
|
+
- - ">="
|
255
319
|
- !ruby/object:Gem::Version
|
256
|
-
version:
|
257
|
-
segments:
|
258
|
-
- 0
|
259
|
-
hash: 322946193888526441
|
320
|
+
version: 2.3.0
|
260
321
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
261
|
-
none: false
|
262
322
|
requirements:
|
263
|
-
- -
|
323
|
+
- - ">="
|
264
324
|
- !ruby/object:Gem::Version
|
265
325
|
version: '0'
|
266
|
-
segments:
|
267
|
-
- 0
|
268
|
-
hash: 322946193888526441
|
269
326
|
requirements: []
|
270
|
-
|
271
|
-
rubygems_version: 1.8.23
|
327
|
+
rubygems_version: 3.0.3.1
|
272
328
|
signing_key:
|
273
|
-
specification_version:
|
329
|
+
specification_version: 4
|
274
330
|
summary: Light weight job scheduling on top of Resque
|
275
|
-
test_files:
|
276
|
-
- test/cli_test.rb
|
277
|
-
- test/delayed_queue_test.rb
|
278
|
-
- test/redis-test.conf
|
279
|
-
- test/resque-web_test.rb
|
280
|
-
- test/scheduler_args_test.rb
|
281
|
-
- test/scheduler_hooks_test.rb
|
282
|
-
- test/scheduler_locking_test.rb
|
283
|
-
- test/scheduler_setup_test.rb
|
284
|
-
- test/scheduler_task_test.rb
|
285
|
-
- test/scheduler_test.rb
|
286
|
-
- test/support/redis_instance.rb
|
287
|
-
- test/test_helper.rb
|
331
|
+
test_files: []
|
data/.gitignore
DELETED
data/.rubocop.yml
DELETED
@@ -1,129 +0,0 @@
|
|
1
|
-
# This configuration was generated by `rubocop --auto-gen-config`.
|
2
|
-
# The point is for the user to remove these configuration records
|
3
|
-
# one by one as the offences are removed from the code base.
|
4
|
-
|
5
|
-
AccessorMethodName:
|
6
|
-
Enabled: false
|
7
|
-
|
8
|
-
AlignParameters:
|
9
|
-
Enabled: false
|
10
|
-
|
11
|
-
AssignmentInCondition:
|
12
|
-
Enabled: false
|
13
|
-
|
14
|
-
BracesAroundHashParameters:
|
15
|
-
Enabled: false
|
16
|
-
|
17
|
-
CaseEquality:
|
18
|
-
Enabled: false
|
19
|
-
|
20
|
-
ClassLength:
|
21
|
-
Max: 318
|
22
|
-
|
23
|
-
ClassVars:
|
24
|
-
Enabled: false
|
25
|
-
|
26
|
-
CollectionMethods:
|
27
|
-
Enabled: false
|
28
|
-
|
29
|
-
ColonMethodCall:
|
30
|
-
Enabled: false
|
31
|
-
|
32
|
-
CommentAnnotation:
|
33
|
-
Enabled: false
|
34
|
-
|
35
|
-
CyclomaticComplexity:
|
36
|
-
Max: 28
|
37
|
-
|
38
|
-
Documentation:
|
39
|
-
Enabled: false
|
40
|
-
|
41
|
-
Encoding:
|
42
|
-
Enabled: false
|
43
|
-
|
44
|
-
FavorUnlessOverNegatedIf:
|
45
|
-
Enabled: false
|
46
|
-
|
47
|
-
FavorUntilOverNegatedWhile:
|
48
|
-
Enabled: false
|
49
|
-
|
50
|
-
HandleExceptions:
|
51
|
-
Enabled: false
|
52
|
-
|
53
|
-
HashSyntax:
|
54
|
-
Enabled: false
|
55
|
-
|
56
|
-
IfUnlessModifier:
|
57
|
-
Enabled: false
|
58
|
-
|
59
|
-
IndentationWidth:
|
60
|
-
Enabled: false
|
61
|
-
|
62
|
-
LineLength:
|
63
|
-
Max: 152
|
64
|
-
|
65
|
-
Loop:
|
66
|
-
Enabled: false
|
67
|
-
|
68
|
-
MethodCallParentheses:
|
69
|
-
Enabled: false
|
70
|
-
|
71
|
-
MethodLength:
|
72
|
-
Max: 180
|
73
|
-
|
74
|
-
ModuleFunction:
|
75
|
-
Enabled: false
|
76
|
-
|
77
|
-
NumericLiterals:
|
78
|
-
Enabled: false
|
79
|
-
|
80
|
-
ParenthesesAroundCondition:
|
81
|
-
Enabled: false
|
82
|
-
|
83
|
-
PredicateName:
|
84
|
-
Enabled: false
|
85
|
-
|
86
|
-
RedundantBegin:
|
87
|
-
Enabled: false
|
88
|
-
|
89
|
-
RescueException:
|
90
|
-
Enabled: false
|
91
|
-
|
92
|
-
RescueModifier:
|
93
|
-
Enabled: false
|
94
|
-
|
95
|
-
SingleLineMethods:
|
96
|
-
Enabled: false
|
97
|
-
|
98
|
-
SpaceAfterComma:
|
99
|
-
Enabled: false
|
100
|
-
|
101
|
-
SpaceAroundBlockBraces:
|
102
|
-
Enabled: false
|
103
|
-
|
104
|
-
SpaceAroundEqualsInParameterDefault:
|
105
|
-
Enabled: false
|
106
|
-
|
107
|
-
SpaceAroundOperators:
|
108
|
-
Enabled: false
|
109
|
-
|
110
|
-
SpaceInsideHashLiteralBraces:
|
111
|
-
Enabled: false
|
112
|
-
|
113
|
-
SpecialGlobalVars:
|
114
|
-
Enabled: false
|
115
|
-
|
116
|
-
StringLiterals:
|
117
|
-
Enabled: false
|
118
|
-
|
119
|
-
TrailingBlankLines:
|
120
|
-
Enabled: false
|
121
|
-
|
122
|
-
TrailingWhitespace:
|
123
|
-
Enabled: false
|
124
|
-
|
125
|
-
TrivialAccessors:
|
126
|
-
Enabled: false
|
127
|
-
|
128
|
-
UselessAssignment:
|
129
|
-
Enabled: false
|
data/.simplecov
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
SimpleCov.start { add_filter '/test/' } if ENV['COVERAGE']
|