resque-scheduler 2.2.0 → 4.10.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (68) hide show
  1. checksums.yaml +7 -0
  2. data/.github/dependabot.yml +12 -0
  3. data/.github/funding.yml +4 -0
  4. data/.github/workflows/codeql-analysis.yml +59 -0
  5. data/.github/workflows/rubocop.yml +27 -0
  6. data/.github/workflows/ruby.yml +81 -0
  7. data/AUTHORS.md +31 -0
  8. data/CHANGELOG.md +539 -0
  9. data/CODE_OF_CONDUCT.md +74 -0
  10. data/Gemfile +26 -2
  11. data/LICENSE +1 -1
  12. data/README.md +423 -91
  13. data/Rakefile +12 -35
  14. data/exe/resque-scheduler +5 -0
  15. data/lib/resque/scheduler/cli.rb +147 -0
  16. data/lib/resque/scheduler/configuration.rb +102 -0
  17. data/lib/resque/scheduler/delaying_extensions.rb +371 -0
  18. data/lib/resque/scheduler/env.rb +85 -0
  19. data/lib/resque/scheduler/extension.rb +13 -0
  20. data/lib/resque/scheduler/failure_handler.rb +11 -0
  21. data/lib/resque/scheduler/lock/base.rb +12 -3
  22. data/lib/resque/scheduler/lock/basic.rb +4 -5
  23. data/lib/resque/scheduler/lock/resilient.rb +52 -43
  24. data/lib/resque/scheduler/lock.rb +2 -1
  25. data/lib/resque/scheduler/locking.rb +104 -0
  26. data/lib/resque/scheduler/logger_builder.rb +83 -0
  27. data/lib/resque/scheduler/plugin.rb +31 -0
  28. data/lib/resque/scheduler/scheduling_extensions.rb +142 -0
  29. data/lib/{resque_scheduler → resque/scheduler}/server/views/delayed.erb +23 -8
  30. data/lib/resque/scheduler/server/views/delayed_schedules.erb +20 -0
  31. data/lib/{resque_scheduler → resque/scheduler}/server/views/delayed_timestamp.erb +1 -1
  32. data/lib/resque/scheduler/server/views/scheduler.erb +58 -0
  33. data/lib/resque/scheduler/server/views/search.erb +69 -0
  34. data/lib/resque/scheduler/server/views/search_form.erb +4 -0
  35. data/lib/resque/scheduler/server.rb +268 -0
  36. data/lib/resque/scheduler/signal_handling.rb +40 -0
  37. data/lib/resque/scheduler/tasks.rb +25 -0
  38. data/lib/resque/scheduler/util.rb +39 -0
  39. data/lib/resque/scheduler/version.rb +7 -0
  40. data/lib/resque/scheduler.rb +333 -149
  41. data/lib/resque-scheduler.rb +4 -0
  42. data/resque-scheduler.gemspec +56 -20
  43. metadata +205 -104
  44. data/.gitignore +0 -8
  45. data/.rubocop.yml +0 -120
  46. data/.travis.yml +0 -10
  47. data/HISTORY.md +0 -180
  48. data/lib/resque/scheduler_locking.rb +0 -90
  49. data/lib/resque_scheduler/logger_builder.rb +0 -51
  50. data/lib/resque_scheduler/plugin.rb +0 -25
  51. data/lib/resque_scheduler/server/views/scheduler.erb +0 -44
  52. data/lib/resque_scheduler/server.rb +0 -92
  53. data/lib/resque_scheduler/tasks.rb +0 -40
  54. data/lib/resque_scheduler/version.rb +0 -3
  55. data/lib/resque_scheduler.rb +0 -355
  56. data/script/migrate_to_timestamps_set.rb +0 -14
  57. data/tasks/resque_scheduler.rake +0 -2
  58. data/test/delayed_queue_test.rb +0 -383
  59. data/test/redis-test.conf +0 -108
  60. data/test/resque-web_test.rb +0 -116
  61. data/test/scheduler_args_test.rb +0 -156
  62. data/test/scheduler_hooks_test.rb +0 -23
  63. data/test/scheduler_locking_test.rb +0 -180
  64. data/test/scheduler_setup_test.rb +0 -59
  65. data/test/scheduler_test.rb +0 -256
  66. data/test/support/redis_instance.rb +0 -129
  67. data/test/test_helper.rb +0 -92
  68. /data/lib/{resque_scheduler → resque/scheduler}/server/views/requeue-params.erb +0 -0
@@ -1,32 +1,68 @@
1
- # -*- encoding: utf-8 -*-
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 'resque_scheduler/version'
4
+ require 'resque/scheduler/version'
5
5
 
6
6
  Gem::Specification.new do |spec|
7
- spec.name = 'resque-scheduler'
8
- spec.version = ResqueScheduler::VERSION
9
- spec.authors = ['Ben VandenBos']
10
- spec.email = ['bvandenbos@gmail.com']
11
- spec.homepage = 'http://github.com/resque/resque-scheduler'
12
- spec.summary = 'Light weight job scheduling on top of Resque'
13
- spec.description = %q{Light weight job scheduling on top of Resque.
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'
32
+ spec.license = 'MIT'
33
+ spec.metadata['rubygems_mfa_required'] = 'true'
16
34
 
17
- spec.files = `git ls-files`.split("\n")
18
- spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
19
- spec.test_files = spec.files.grep(%r{^test/})
20
- spec.require_path = ['lib']
35
+ spec.required_ruby_version = '>= 2.3.0'
21
36
 
22
- spec.add_development_dependency 'bundler', '~> 1.3'
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'
23
49
  spec.add_development_dependency 'mocha'
50
+ spec.add_development_dependency 'pry'
24
51
  spec.add_development_dependency 'rack-test'
25
52
  spec.add_development_dependency 'rake'
26
- spec.add_development_dependency 'json' if RUBY_VERSION < '1.9'
27
- spec.add_development_dependency 'rubocop' unless RUBY_VERSION < '1.9'
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'
28
61
 
29
- spec.add_runtime_dependency 'redis', '>= 3.0.0'
30
- spec.add_runtime_dependency 'resque', ['>= 1.20.0', '< 1.25']
31
- spec.add_runtime_dependency 'rufus-scheduler', '~> 2.0'
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'
32
68
  end
metadata CHANGED
@@ -1,230 +1,331 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: resque-scheduler
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
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: bin
14
+ bindir: exe
11
15
  cert_chain: []
12
- date: 2013-10-03 00:00:00.000000000 Z
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: '1.3'
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'
22
39
  type: :development
23
40
  prerelease: false
24
41
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
42
  requirements:
27
- - - ~>
43
+ - - ">="
28
44
  - !ruby/object:Gem::Version
29
- version: '1.3'
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'
53
+ type: :development
54
+ prerelease: false
55
+ version_requirements: !ruby/object:Gem::Requirement
56
+ requirements:
57
+ - - ">="
58
+ - !ruby/object:Gem::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
+ - - ">="
72
+ - !ruby/object:Gem::Version
73
+ version: '0'
74
+ - !ruby/object:Gem::Dependency
75
+ name: pry
76
+ requirement: !ruby/object:Gem::Requirement
77
+ requirements:
78
+ - - ">="
79
+ - !ruby/object:Gem::Version
80
+ version: '0'
81
+ type: :development
82
+ prerelease: false
83
+ version_requirements: !ruby/object:Gem::Requirement
84
+ requirements:
85
+ - - ">="
44
86
  - !ruby/object:Gem::Version
45
87
  version: '0'
46
88
  - !ruby/object:Gem::Dependency
47
89
  name: rack-test
48
90
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
91
  requirements:
51
- - - ! '>='
92
+ - - ">="
52
93
  - !ruby/object:Gem::Version
53
94
  version: '0'
54
95
  type: :development
55
96
  prerelease: false
56
97
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
98
  requirements:
59
- - - ! '>='
99
+ - - ">="
60
100
  - !ruby/object:Gem::Version
61
101
  version: '0'
62
102
  - !ruby/object:Gem::Dependency
63
103
  name: rake
64
104
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
105
  requirements:
67
- - - ! '>='
106
+ - - ">="
68
107
  - !ruby/object:Gem::Version
69
108
  version: '0'
70
109
  type: :development
71
110
  prerelease: false
72
111
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
112
  requirements:
75
- - - ! '>='
113
+ - - ">="
76
114
  - !ruby/object:Gem::Version
77
115
  version: '0'
78
116
  - !ruby/object:Gem::Dependency
79
- name: rubocop
117
+ name: simplecov
118
+ requirement: !ruby/object:Gem::Requirement
119
+ requirements:
120
+ - - ">="
121
+ - !ruby/object:Gem::Version
122
+ version: '0'
123
+ type: :development
124
+ prerelease: false
125
+ version_requirements: !ruby/object:Gem::Requirement
126
+ requirements:
127
+ - - ">="
128
+ - !ruby/object:Gem::Version
129
+ version: '0'
130
+ - !ruby/object:Gem::Dependency
131
+ name: test-unit
80
132
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
133
  requirements:
83
- - - ! '>='
134
+ - - ">="
84
135
  - !ruby/object:Gem::Version
85
136
  version: '0'
86
137
  type: :development
87
138
  prerelease: false
88
139
  version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
140
  requirements:
91
- - - ! '>='
141
+ - - ">="
92
142
  - !ruby/object:Gem::Version
93
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'
94
200
  - !ruby/object:Gem::Dependency
95
201
  name: redis
96
202
  requirement: !ruby/object:Gem::Requirement
97
- none: false
98
203
  requirements:
99
- - - ! '>='
204
+ - - ">="
100
205
  - !ruby/object:Gem::Version
101
- version: 3.0.0
206
+ version: '3.3'
102
207
  type: :runtime
103
208
  prerelease: false
104
209
  version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
210
  requirements:
107
- - - ! '>='
211
+ - - ">="
108
212
  - !ruby/object:Gem::Version
109
- version: 3.0.0
213
+ version: '3.3'
110
214
  - !ruby/object:Gem::Dependency
111
215
  name: resque
112
216
  requirement: !ruby/object:Gem::Requirement
113
- none: false
114
217
  requirements:
115
- - - ! '>='
218
+ - - ">="
116
219
  - !ruby/object:Gem::Version
117
- version: 1.20.0
118
- - - <
119
- - !ruby/object:Gem::Version
120
- version: '1.25'
220
+ version: '1.27'
121
221
  type: :runtime
122
222
  prerelease: false
123
223
  version_requirements: !ruby/object:Gem::Requirement
124
- none: false
125
224
  requirements:
126
- - - ! '>='
127
- - !ruby/object:Gem::Version
128
- version: 1.20.0
129
- - - <
225
+ - - ">="
130
226
  - !ruby/object:Gem::Version
131
- version: '1.25'
227
+ version: '1.27'
132
228
  - !ruby/object:Gem::Dependency
133
229
  name: rufus-scheduler
134
230
  requirement: !ruby/object:Gem::Requirement
135
- none: false
136
231
  requirements:
137
- - - ~>
232
+ - - "~>"
233
+ - !ruby/object:Gem::Version
234
+ version: '3.2'
235
+ - - "!="
138
236
  - !ruby/object:Gem::Version
139
- version: '2.0'
237
+ version: '3.3'
140
238
  type: :runtime
141
239
  prerelease: false
142
240
  version_requirements: !ruby/object:Gem::Requirement
143
- none: false
144
241
  requirements:
145
- - - ~>
242
+ - - "~>"
146
243
  - !ruby/object:Gem::Version
147
- version: '2.0'
148
- description: ! "Light weight job scheduling on top of Resque.\n Adds methods enqueue_at/enqueue_in
149
- to schedule jobs in the future.\n Also supports queueing jobs on a fixed, cron-like
150
- schedule."
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.
151
252
  email:
152
253
  - bvandenbos@gmail.com
153
- executables: []
254
+ - sirup@sirupsen.com
255
+ - ryan@yaauie.com
256
+ - dan@meatballhat.com
257
+ - mike@mikebian.co
258
+ - patricktulskie@gmail.com
259
+ executables:
260
+ - resque-scheduler
154
261
  extensions: []
155
262
  extra_rdoc_files: []
156
263
  files:
157
- - .gitignore
158
- - .rubocop.yml
159
- - .travis.yml
264
+ - ".github/dependabot.yml"
265
+ - ".github/funding.yml"
266
+ - ".github/workflows/codeql-analysis.yml"
267
+ - ".github/workflows/rubocop.yml"
268
+ - ".github/workflows/ruby.yml"
160
269
  - AUTHORS.md
270
+ - CHANGELOG.md
271
+ - CODE_OF_CONDUCT.md
161
272
  - CONTRIBUTING.md
162
273
  - Gemfile
163
- - HISTORY.md
164
274
  - LICENSE
165
275
  - README.md
166
276
  - Rakefile
277
+ - exe/resque-scheduler
278
+ - lib/resque-scheduler.rb
167
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
168
286
  - lib/resque/scheduler/lock.rb
169
287
  - lib/resque/scheduler/lock/base.rb
170
288
  - lib/resque/scheduler/lock/basic.rb
171
289
  - lib/resque/scheduler/lock/resilient.rb
172
- - lib/resque/scheduler_locking.rb
173
- - lib/resque_scheduler.rb
174
- - lib/resque_scheduler/logger_builder.rb
175
- - lib/resque_scheduler/plugin.rb
176
- - lib/resque_scheduler/server.rb
177
- - lib/resque_scheduler/server/views/delayed.erb
178
- - lib/resque_scheduler/server/views/delayed_timestamp.erb
179
- - lib/resque_scheduler/server/views/requeue-params.erb
180
- - lib/resque_scheduler/server/views/scheduler.erb
181
- - lib/resque_scheduler/tasks.rb
182
- - lib/resque_scheduler/version.rb
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
183
306
  - resque-scheduler.gemspec
184
- - script/migrate_to_timestamps_set.rb
185
- - tasks/resque_scheduler.rake
186
- - test/delayed_queue_test.rb
187
- - test/redis-test.conf
188
- - test/resque-web_test.rb
189
- - test/scheduler_args_test.rb
190
- - test/scheduler_hooks_test.rb
191
- - test/scheduler_locking_test.rb
192
- - test/scheduler_setup_test.rb
193
- - test/scheduler_test.rb
194
- - test/support/redis_instance.rb
195
- - test/test_helper.rb
196
- homepage: http://github.com/resque/resque-scheduler
197
- licenses: []
307
+ homepage: https://github.com/resque/resque-scheduler
308
+ licenses:
309
+ - MIT
310
+ metadata:
311
+ rubygems_mfa_required: 'true'
198
312
  post_install_message:
199
313
  rdoc_options: []
200
314
  require_paths:
201
- - - lib
315
+ - lib
202
316
  required_ruby_version: !ruby/object:Gem::Requirement
203
- none: false
204
317
  requirements:
205
- - - ! '>='
318
+ - - ">="
206
319
  - !ruby/object:Gem::Version
207
- version: '0'
320
+ version: 2.3.0
208
321
  required_rubygems_version: !ruby/object:Gem::Requirement
209
- none: false
210
322
  requirements:
211
- - - ! '>='
323
+ - - ">="
212
324
  - !ruby/object:Gem::Version
213
325
  version: '0'
214
326
  requirements: []
215
- rubyforge_project:
216
- rubygems_version: 1.8.23
327
+ rubygems_version: 3.0.3.1
217
328
  signing_key:
218
- specification_version: 3
329
+ specification_version: 4
219
330
  summary: Light weight job scheduling on top of Resque
220
- test_files:
221
- - test/delayed_queue_test.rb
222
- - test/redis-test.conf
223
- - test/resque-web_test.rb
224
- - test/scheduler_args_test.rb
225
- - test/scheduler_hooks_test.rb
226
- - test/scheduler_locking_test.rb
227
- - test/scheduler_setup_test.rb
228
- - test/scheduler_test.rb
229
- - test/support/redis_instance.rb
230
- - test/test_helper.rb
331
+ test_files: []
data/.gitignore DELETED
@@ -1,8 +0,0 @@
1
- .bundle/
2
- doc/
3
- pkg
4
- nbproject
5
- Gemfile.lock
6
- .rvmrc
7
- *.swp
8
-
data/.rubocop.yml DELETED
@@ -1,120 +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
- AccessControl:
6
- Enabled: false
7
-
8
- AlignParameters:
9
- Enabled: false
10
-
11
- AssignmentInCondition:
12
- Enabled: false
13
-
14
- CaseEquality:
15
- Enabled: false
16
-
17
- ClassVars:
18
- Enabled: false
19
-
20
- CollectionMethods:
21
- Enabled: false
22
-
23
- ColonMethodCall:
24
- Enabled: false
25
-
26
- CommentAnnotation:
27
- Enabled: false
28
-
29
- Documentation:
30
- Enabled: false
31
-
32
- EmptyLines:
33
- Enabled: false
34
-
35
- Encoding:
36
- Enabled: false
37
-
38
- FavorUnlessOverNegatedIf:
39
- Enabled: false
40
-
41
- FavorUntilOverNegatedWhile:
42
- Enabled: false
43
-
44
- HandleExceptions:
45
- Enabled: false
46
-
47
- HashSyntax:
48
- Enabled: false
49
-
50
- IfUnlessModifier:
51
- Enabled: false
52
-
53
- LineLength:
54
- Enabled: false
55
-
56
- Loop:
57
- Enabled: false
58
-
59
- MethodCallParentheses:
60
- Enabled: false
61
-
62
- MethodLength:
63
- Enabled: false
64
-
65
- ModuleFunction:
66
- Enabled: false
67
-
68
- NumericLiterals:
69
- Enabled: false
70
-
71
- ParenthesesAroundCondition:
72
- Enabled: false
73
-
74
- PerlBackrefs:
75
- Enabled: false
76
-
77
- RedundantBegin:
78
- Enabled: false
79
-
80
- RescueException:
81
- Enabled: false
82
-
83
- RescueModifier:
84
- Enabled: false
85
-
86
- SingleLineMethods:
87
- Enabled: false
88
-
89
- SpaceAfterComma:
90
- Enabled: false
91
-
92
- SpaceAroundBlockBraces:
93
- Enabled: false
94
-
95
- SpaceAroundEqualsInParameterDefault:
96
- Enabled: false
97
-
98
- SpaceAroundOperators:
99
- Enabled: false
100
-
101
- SpaceInsideHashLiteralBraces:
102
- Enabled: false
103
-
104
- SpecialGlobalVars:
105
- Enabled: false
106
-
107
- StringLiterals:
108
- Enabled: false
109
-
110
- TrailingBlankLines:
111
- Enabled: false
112
-
113
- TrailingWhitespace:
114
- Enabled: false
115
-
116
- TrivialAccessors:
117
- Enabled: false
118
-
119
- UselessAssignment:
120
- Enabled: false
data/.travis.yml DELETED
@@ -1,10 +0,0 @@
1
- ---
2
- language: ruby
3
- rvm:
4
- - ree
5
- - 1.9.3
6
- - 2.0.0
7
- script: bundle exec rake rubocop test
8
- notifications:
9
- email:
10
- recipients: daniel.buch+resque-scheduler@gmail.com