resque-admin-scheduler 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/AUTHORS.md +81 -0
- data/CHANGELOG.md +456 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/CONTRIBUTING.md +6 -0
- data/Gemfile +4 -0
- data/LICENSE +23 -0
- data/README.md +691 -0
- data/Rakefile +21 -0
- data/exe/resque-scheduler +5 -0
- data/lib/resque/scheduler/cli.rb +147 -0
- data/lib/resque/scheduler/configuration.rb +73 -0
- data/lib/resque/scheduler/delaying_extensions.rb +324 -0
- data/lib/resque/scheduler/env.rb +89 -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 +61 -0
- data/lib/resque/scheduler/lock/basic.rb +27 -0
- data/lib/resque/scheduler/lock/resilient.rb +78 -0
- data/lib/resque/scheduler/lock.rb +4 -0
- data/lib/resque/scheduler/locking.rb +104 -0
- data/lib/resque/scheduler/logger_builder.rb +72 -0
- data/lib/resque/scheduler/plugin.rb +31 -0
- data/lib/resque/scheduler/scheduling_extensions.rb +141 -0
- data/lib/resque/scheduler/server/views/delayed.erb +63 -0
- data/lib/resque/scheduler/server/views/delayed_schedules.erb +20 -0
- data/lib/resque/scheduler/server/views/delayed_timestamp.erb +26 -0
- data/lib/resque/scheduler/server/views/requeue-params.erb +23 -0
- data/lib/resque/scheduler/server/views/scheduler.erb +58 -0
- data/lib/resque/scheduler/server/views/search.erb +72 -0
- data/lib/resque/scheduler/server/views/search_form.erb +8 -0
- data/lib/resque/scheduler/server.rb +268 -0
- data/lib/resque/scheduler/signal_handling.rb +40 -0
- data/lib/resque/scheduler/tasks.rb +25 -0
- data/lib/resque/scheduler/util.rb +39 -0
- data/lib/resque/scheduler/version.rb +7 -0
- data/lib/resque/scheduler.rb +447 -0
- data/lib/resque-scheduler.rb +4 -0
- data/resque-scheduler.gemspec +60 -0
- metadata +330 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 6160d26c46865fb0fc43c0bff6d1c7aec56e8181
|
4
|
+
data.tar.gz: fb5889c360f0fddd2eeb5730b2fcdad4f4f84392
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 689647490f5553918f78c8341f27f232fb5424b8b0f561123671ffe461517879609d651597be86f992fc8dd1c495b543b7a70bba365b56bdb6c17c2202a6c5e8
|
7
|
+
data.tar.gz: bd77fb6cac438fa114c355599b595a01ffa55f3c16ac936c914950a9fb495db6315b32c8f4c2e007ad5ce7a1e51443f9b37bb3d1426de0782858324d57aa5c77
|
data/AUTHORS.md
ADDED
@@ -0,0 +1,81 @@
|
|
1
|
+
Resque Scheduler authors
|
2
|
+
========================
|
3
|
+
|
4
|
+
- Aaron Suggs
|
5
|
+
- Alexander Simonov
|
6
|
+
- Andrea Campolonghi
|
7
|
+
- Ben VandenBos
|
8
|
+
- Bernerd Schaefer
|
9
|
+
- Bogdan Gusiev
|
10
|
+
- Brian Landau
|
11
|
+
- Brian P O'Rourke
|
12
|
+
- Carlos Antonio da Silva
|
13
|
+
- Chris Kampmeier
|
14
|
+
- DJ Hartman
|
15
|
+
- Damon P. Cortesi
|
16
|
+
- Dan Buch
|
17
|
+
- Dave Grijalva
|
18
|
+
- David Backeus
|
19
|
+
- David Balatero
|
20
|
+
- David Doan
|
21
|
+
- David Yang
|
22
|
+
- Denis Yagofarov
|
23
|
+
- dtaniwaki
|
24
|
+
- Evan Tahler
|
25
|
+
- Eugene Batogov
|
26
|
+
- Giovanni Cappellotto
|
27
|
+
- Harry Lascelles
|
28
|
+
- Henrik Nyh
|
29
|
+
- Hormoz Kheradmand
|
30
|
+
- James Le Cuirot
|
31
|
+
- Jarkko Mönkkönen
|
32
|
+
- John Crepezzi
|
33
|
+
- John Griffin
|
34
|
+
- Jon Larkowski and Les Hill
|
35
|
+
- Jonathan Conley
|
36
|
+
- Jonathan Hyman
|
37
|
+
- Jonathan Owens
|
38
|
+
- Joshua Szmajda
|
39
|
+
- Justin Weiss
|
40
|
+
- Les Hill
|
41
|
+
- Luke Rodgers
|
42
|
+
- Manuel Meurer
|
43
|
+
- Matt Aimonetti
|
44
|
+
- Matt Simpson
|
45
|
+
- Matteo Centenaro
|
46
|
+
- Michael Lovitt
|
47
|
+
- Michael Nikitochkin
|
48
|
+
- Michael Rykov
|
49
|
+
- Nickolas Means
|
50
|
+
- Olek Janiszewski
|
51
|
+
- Olivier Brisse
|
52
|
+
- Petteri Räty
|
53
|
+
- Phil Cohen
|
54
|
+
- Rob Olson
|
55
|
+
- Russell Branca
|
56
|
+
- Ryan Biesemeyer
|
57
|
+
- Ryan Carver
|
58
|
+
- Sameer Siruguri
|
59
|
+
- Scott Francis
|
60
|
+
- Sean Stephens
|
61
|
+
- Sebastian Kippe
|
62
|
+
- Spring MC
|
63
|
+
- tbprojects
|
64
|
+
- Tim Liner
|
65
|
+
- Tony Lewis
|
66
|
+
- Tom Crayford
|
67
|
+
- Vincent Zhu
|
68
|
+
- Vladislav Shub
|
69
|
+
- V Sreekanth
|
70
|
+
- Warren Sangster
|
71
|
+
- Yuri Kasperovich
|
72
|
+
- andreas
|
73
|
+
- bbauer
|
74
|
+
- camol
|
75
|
+
- d4rk5eed
|
76
|
+
- fallwith
|
77
|
+
- gravis
|
78
|
+
- hpoydar
|
79
|
+
- malomalo
|
80
|
+
- sawanoboly
|
81
|
+
- serek
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,456 @@
|
|
1
|
+
# Change Log
|
2
|
+
|
3
|
+
**ATTN**: This project uses [semantic versioning](http://semver.org/).
|
4
|
+
|
5
|
+
## [Unreleased]
|
6
|
+
### Changed
|
7
|
+
- Change log format and file name
|
8
|
+
- Drop testing on ruby 1.9.3
|
9
|
+
- `Lock::Resilient`: Refresh lua script sha if it does not exist in redis server
|
10
|
+
|
11
|
+
### Fixed
|
12
|
+
- Reporting version via `resque-scheduler --version`
|
13
|
+
|
14
|
+
## [4.3.0] - 2016-06-26
|
15
|
+
### Added
|
16
|
+
- Windows testing on Appveyor
|
17
|
+
- Code of Conduct
|
18
|
+
|
19
|
+
### Changed
|
20
|
+
- Silence output by default when daemonizing
|
21
|
+
- Update vagrant setup
|
22
|
+
- Update gem metadata per latest Bundler defaults
|
23
|
+
|
24
|
+
## [4.2.1] - 2016-06-08
|
25
|
+
### Added
|
26
|
+
- Docs improvements
|
27
|
+
|
28
|
+
### Changed
|
29
|
+
- Optimization of `find_delayed_selection`
|
30
|
+
- More defensive code around redis disconnects
|
31
|
+
- Only trap existing signals on given platform
|
32
|
+
- RuboCop auto-fixes
|
33
|
+
- Dependency updates
|
34
|
+
|
35
|
+
## [4.2.0] - 2016-04-29
|
36
|
+
### Added
|
37
|
+
- Index column to scheduler tab
|
38
|
+
- Failure hook support for better extensibility
|
39
|
+
|
40
|
+
### Changed
|
41
|
+
- Clean up and simplify the scheduling extension
|
42
|
+
- Make `Resque::Scheduler.logger` accessible to user
|
43
|
+
- Default failure handler now outputs stacktrace
|
44
|
+
- Update rufus-scheduler
|
45
|
+
|
46
|
+
### Fixed
|
47
|
+
- Displaying schedules appropriate to the `env` in scheduler UI
|
48
|
+
- A race condition in concurrent restarts
|
49
|
+
|
50
|
+
## [4.1.0] - 2016-02-10
|
51
|
+
### Added
|
52
|
+
- View helper to cut down on repetition
|
53
|
+
- `Resque.(find|enqueue)_delayed_selection` methods to complement
|
54
|
+
`Resque.remove_delayed_selection`
|
55
|
+
|
56
|
+
### Changed
|
57
|
+
- Leave undefined env vars unset in internal options hash
|
58
|
+
- Insulate checking `Rails.env`
|
59
|
+
- Documentation updates and typo fixes
|
60
|
+
|
61
|
+
### Fixed
|
62
|
+
- Check thread life only if present
|
63
|
+
|
64
|
+
## [4.0.0] - 2014-12-21
|
65
|
+
### Added
|
66
|
+
- Show current master in the web UI
|
67
|
+
|
68
|
+
### Changed
|
69
|
+
- Bump rufus-scheduler dependency to `~> 3.0`
|
70
|
+
- Address warning from redis-namespace related to `#unwatch`
|
71
|
+
- Documentation updates
|
72
|
+
|
73
|
+
### Fixed
|
74
|
+
- Bugfix related to schedule check when no jobs are in the queue
|
75
|
+
|
76
|
+
## [3.1.0] - 2014-12-21
|
77
|
+
### Added
|
78
|
+
- Note in README.md about production redis deployment configuration
|
79
|
+
- Better PID file cleanup
|
80
|
+
- Option to filter by job class in `Resque.remove_delayed_selection`
|
81
|
+
- Tell-don't-ask with `Resque.schedule` to enable atomic clear & set
|
82
|
+
|
83
|
+
### Changed
|
84
|
+
- Avoid use of redis `KEYS` command in `Resque.remove_delayed_selection`
|
85
|
+
|
86
|
+
### Fixed
|
87
|
+
- Only release master lock if it belongs to us
|
88
|
+
- Only override configuration options if provided
|
89
|
+
|
90
|
+
## [3.0.0] - 2014-05-27
|
91
|
+
### Added
|
92
|
+
- Vagrant setup
|
93
|
+
- Support for last execution information through the web
|
94
|
+
- CodeClimate integration
|
95
|
+
- `Resque.delayed?` and `Resque.next_delayed_schedule`
|
96
|
+
- Allow scheduled jobs to be deleted via resque web
|
97
|
+
|
98
|
+
### Changed
|
99
|
+
- The grand re-namespacing of `resque_scheduler/(.*)` =>
|
100
|
+
`resque/scheduler/\1`
|
101
|
+
- "Refactoring"
|
102
|
+
- Cleanup of a ton of rubocop offenses
|
103
|
+
- Documentation updates
|
104
|
+
- Handling signals while "sleeping" by relying on `Thread#wakeup`
|
105
|
+
- Testing against same rubies as resque (+ 2.1.1)
|
106
|
+
- Renamed `Resque.set_last_run` to `Resque.last_enqueued_at`
|
107
|
+
|
108
|
+
### Fixed
|
109
|
+
- Duplicated layout for `search_form` partial template.
|
110
|
+
- Issue where Web UI was ONLY showing jobs that only run in the current
|
111
|
+
environment
|
112
|
+
|
113
|
+
## [2.5.5] - 2014-02-27
|
114
|
+
### Changed
|
115
|
+
- Only showing link to job with args if job is present
|
116
|
+
- Only showing scheduled jobs that match current env or omit env
|
117
|
+
- Ensuring lock and acquire lua scripts are refreshed on timeout change
|
118
|
+
- Switch to using `mono_logger` instead of stdlib `logger`
|
119
|
+
|
120
|
+
## [2.5.4] - 2014-02-17
|
121
|
+
### Changed
|
122
|
+
- Documentation updates
|
123
|
+
|
124
|
+
## [2.5.3] - 2014-02-12
|
125
|
+
### Fixed
|
126
|
+
- Handling signals during poll sleep
|
127
|
+
|
128
|
+
## [2.5.2] - 2014-02-11
|
129
|
+
### Changed
|
130
|
+
- Pinning down dependency versions more tightly
|
131
|
+
|
132
|
+
## [2.5.1] - 2014-02-09
|
133
|
+
### Fixed
|
134
|
+
- Make signal handling (really) Ruby 2 compatible
|
135
|
+
|
136
|
+
## [2.5.0] - 2014-02-09
|
137
|
+
### Added
|
138
|
+
- Search feature to the Delayed tab in Resque Web
|
139
|
+
|
140
|
+
### Changed
|
141
|
+
- Use `logger.error` when logging errors from `handle_errors`
|
142
|
+
|
143
|
+
### Fixed
|
144
|
+
- Confusion with redis version requirements in `README.md`
|
145
|
+
|
146
|
+
## [2.4.0] - 2014-01-14
|
147
|
+
### Added
|
148
|
+
- Including optional env and app names in procline
|
149
|
+
- A standalone `resque-scheduler` executable
|
150
|
+
- Support for persistence of dynamic schedules
|
151
|
+
- `.configure` convenience method for block-style configuration
|
152
|
+
- `.remove_delayed_selection` method to remove based on result of a block
|
153
|
+
- Support for viewing all schedules for a job in web UI
|
154
|
+
|
155
|
+
### Changed
|
156
|
+
- Bumping the copyright year
|
157
|
+
- Corrected doc for syntax of class and every keys
|
158
|
+
- Use resque redis namespace in the master lock key
|
159
|
+
- Various test improvements, :bug: fixes, and documentation updates!
|
160
|
+
|
161
|
+
### Removed
|
162
|
+
- **POSSIBLE BREAKING CHANGE**: Dropping support for ree
|
163
|
+
|
164
|
+
### Fixed
|
165
|
+
- An explosion regarding `every` in the views
|
166
|
+
- Unsafe shutdown in Ruby 2
|
167
|
+
|
168
|
+
## 2.3.1 (2013-11-20)
|
169
|
+
### Fixed
|
170
|
+
- `require_paths` in gemspec
|
171
|
+
|
172
|
+
## 2.3.0 (2013-11-07)
|
173
|
+
### Added
|
174
|
+
- Add rufus scheduler `every` notice to README
|
175
|
+
- Specify MIT license in gemspec
|
176
|
+
|
177
|
+
### Changed
|
178
|
+
- **BREAKING CHANGE**: Added `RESQUE_SCHEDULER_INTERVAL` in place of `INTERVAL`
|
179
|
+
- Use `Float()` instead of `Integer()` to calculate poll sleep amount
|
180
|
+
- Upgraded dependence of Resque to support 1.25
|
181
|
+
- Use `Resque.validate` instead of custom `.validate_job!`
|
182
|
+
|
183
|
+
### Fixed
|
184
|
+
- Re-introduced `ThreadError` on Ruby 2
|
185
|
+
|
186
|
+
## 2.2.0 (2013-10-13)
|
187
|
+
### Added
|
188
|
+
- Support for parameterized resque jobs.
|
189
|
+
- Allowing prefix for `master_lock_key`.
|
190
|
+
- `Resque.clean_schedules` method, which is useful when setting up the scheduler
|
191
|
+
for the first time.
|
192
|
+
|
193
|
+
### Changed
|
194
|
+
- Locking rufus-scheduler dependency to `~> 2.0`
|
195
|
+
- Updated redis dependency to `>= 3.0.0`
|
196
|
+
|
197
|
+
### Fixed
|
198
|
+
- Bug fixes related to first time schedule retrieval and missing schedules.
|
199
|
+
|
200
|
+
## 2.1.0 (2013-09-20)
|
201
|
+
### Added
|
202
|
+
- Add `#scheduled_at` which returns an array of timestamps at which the
|
203
|
+
specified job is scheduled
|
204
|
+
- Add `#enqueue_delayed` for enqueueing specific delayed jobs immediately
|
205
|
+
- Show server local time in resque-web
|
206
|
+
- Add support for configuring `Resque::Scheduler.poll_sleep_amount` via the
|
207
|
+
`INTERVAL` environmental variable.
|
208
|
+
|
209
|
+
### Changed
|
210
|
+
- Locking to resque < 1.25.0 (for now)
|
211
|
+
- Syncing stdout/stderr
|
212
|
+
- Using a logger instead of `#puts`, configurable via `LOGFILE`, `VERBOSE`, and
|
213
|
+
`MUTE` environmental variables, as well as being settable via
|
214
|
+
`Resque::Scheduler#logger`
|
215
|
+
- Enqueue immediately if job is being enqueued in the past
|
216
|
+
|
217
|
+
### Removed
|
218
|
+
- Dependency on `Resque::Helpers`
|
219
|
+
|
220
|
+
### Fixed
|
221
|
+
- Ensuring `Resque.schedule=` sets rather than appends
|
222
|
+
- Process daemonization fixes including stdio redirection and redis client
|
223
|
+
reconnection
|
224
|
+
- Scheduler template when arrays are passed to rufus-scheduler
|
225
|
+
- Fixed shutdown in ruby 2.0.0
|
226
|
+
|
227
|
+
## [2.0.1] - 2013-03-20
|
228
|
+
### Added
|
229
|
+
- Locking to support master failover
|
230
|
+
- Allow custom job classes to be used in `Resque.enqueue_at`
|
231
|
+
- Allowing `#enqueue_at` to call `#scheduled` when `Resque.inline` is `true`
|
232
|
+
|
233
|
+
### Changed
|
234
|
+
- More efficient `#remove_delayed` implementation
|
235
|
+
|
236
|
+
## [2.0.0] - 2012-05-04
|
237
|
+
### Added
|
238
|
+
- Support for Resque.inline configuration (carlosantoniodasilva)
|
239
|
+
|
240
|
+
### Fixed
|
241
|
+
- Possible job loss race condition around deleting delayed queues and enqueuing
|
242
|
+
a job 0 seconds in the future.
|
243
|
+
|
244
|
+
## [2.0.0.h] - 2012-03-19
|
245
|
+
### Added
|
246
|
+
- Plugin support with hooks (andreas)
|
247
|
+
|
248
|
+
## [2.0.0.f] - 2011-11-03
|
249
|
+
### Added
|
250
|
+
- Support `ENV['BACKGROUND']` flag for daemonizing (bernerdschaefer)
|
251
|
+
- Added support for `before_schedule` and `after_schedule` hooks (yaauie)
|
252
|
+
- Added `remove_delayed_job_from_timestamp` to remove delayed jobs from
|
253
|
+
a given timestamp.
|
254
|
+
|
255
|
+
### Fixed
|
256
|
+
- Address race condition with delayed jobs (using redis transactions)
|
257
|
+
|
258
|
+
## [2.0.0.e] - 2011-09-16
|
259
|
+
### Added
|
260
|
+
- `enqueue_at_with_queue`/`enqueue_in_with_queue` support (niralisse)
|
261
|
+
- `Resque::Scheduler.poll_sleep_amount` to allow for configuring
|
262
|
+
the sleep time b/w delayed queue polls.
|
263
|
+
- "Clear Delayed Jobs" button to the Delayed Jobs page (john-griffin)
|
264
|
+
|
265
|
+
### Fixed
|
266
|
+
- Pagination issue on the Delayed tab
|
267
|
+
|
268
|
+
## [2.0.0.d] - 2011-04-04
|
269
|
+
### Changed
|
270
|
+
- Porting bug fixes from v1.9-stable
|
271
|
+
|
272
|
+
## [2.0.0.c] - 2011-03-25
|
273
|
+
### Changed
|
274
|
+
- Rake task drop a pid file (sreeix)
|
275
|
+
|
276
|
+
## [2.0.0.b] - 2011-02-25
|
277
|
+
### Fixed
|
278
|
+
- Bugs
|
279
|
+
|
280
|
+
## 2.0.0.a - 2010-12-10
|
281
|
+
### Added
|
282
|
+
- Dynamic schedule support (brianjlandau, davidyang)
|
283
|
+
|
284
|
+
### Changed
|
285
|
+
- Now depends on redis >=1.3
|
286
|
+
|
287
|
+
## [1.9.11] - 2013-11-20
|
288
|
+
### Fixed
|
289
|
+
- Behavior of `#validate_job!` via `#enqueue_at_with_queue` #286
|
290
|
+
- `require_paths` in gemspec #288
|
291
|
+
|
292
|
+
## [1.9.10] - 2013-09-19
|
293
|
+
### Added
|
294
|
+
- Backported `#enqueue_at_with_queue`
|
295
|
+
- Locking to resque < 1.25.0
|
296
|
+
- Ruby 1.8 compatibility in scheduler tab when schedule keys are symbols
|
297
|
+
|
298
|
+
### Changed
|
299
|
+
- Mocha setup compatibility
|
300
|
+
|
301
|
+
## [1.9.9] - 2011-03-29
|
302
|
+
### Added
|
303
|
+
- Compatibility with resque 1.15.0
|
304
|
+
|
305
|
+
## [1.9.8] - 2011-01-14
|
306
|
+
### Changed
|
307
|
+
- Validates delayed jobs prior to insertion into the delayed queue (bogdan)
|
308
|
+
- Rescue exceptions that occur during queuing and log them (dgrijalva)
|
309
|
+
|
310
|
+
## [1.9.7] - 2010-11-09
|
311
|
+
### Added
|
312
|
+
- Support for rufus-scheduler "every" syntax (fallwith)
|
313
|
+
- Ability to pass a Time to `handle_delayed_items` for testing/staging (rcarver)
|
314
|
+
|
315
|
+
## [1.9.6] - 2010-10-08
|
316
|
+
### Added
|
317
|
+
- Support for custom job classes (like resque-status) (mattetti)
|
318
|
+
|
319
|
+
## [1.9.5] - 2010-09-09
|
320
|
+
### Changed
|
321
|
+
- Updated scheduler rake task to allow for an alternate setup task
|
322
|
+
to avoid loading the entire stack. (chewbranca)
|
323
|
+
|
324
|
+
### Fixed
|
325
|
+
- Sig issue on win32 (#25)
|
326
|
+
|
327
|
+
## [1.9.4] - 2010-07-29
|
328
|
+
### Added
|
329
|
+
- Ability to remove jobs from delayed queue (joshsz)
|
330
|
+
|
331
|
+
### Fixed
|
332
|
+
- Issue #23 (removing .present? reference)
|
333
|
+
|
334
|
+
## [1.9.3] - 2010-07-07
|
335
|
+
### Fixed
|
336
|
+
- Bug fix (#19)
|
337
|
+
|
338
|
+
## [1.9.2] - 2010-06-16
|
339
|
+
### Fixed
|
340
|
+
- Issue with redis gem 2.0.1 and redis server 1.2.6 (dbackeus)
|
341
|
+
|
342
|
+
## [1.9.1] - 2010-06-04
|
343
|
+
### Fixed
|
344
|
+
- Issue with redis server 1.2.6 and redis gem 2.0.1
|
345
|
+
|
346
|
+
## [1.9.0] - 2010-06-04
|
347
|
+
### Added
|
348
|
+
- Redis 2.0 support (bpo)
|
349
|
+
|
350
|
+
## [1.8.2] - 2010-06-04
|
351
|
+
### Added
|
352
|
+
- Queue now functionality to delayed timestamps (daviddoan)
|
353
|
+
|
354
|
+
## [1.8.1] - 2010-05-19
|
355
|
+
### Added
|
356
|
+
- `rails_env` for scheduled jobs to support scoping jobs by
|
357
|
+
`RAILS_ENV` (gravis).
|
358
|
+
- Adding gemspec for bundler support.
|
359
|
+
|
360
|
+
### Fixed
|
361
|
+
- Ruby 1.8.6 compatibility issue.
|
362
|
+
|
363
|
+
## [1.8.0] - 2010-04-14
|
364
|
+
### Added
|
365
|
+
- Tests for resque-web (gravis)
|
366
|
+
|
367
|
+
### Changed
|
368
|
+
- Moving version to match corresponding resque version
|
369
|
+
- Sorting schedule on Scheduler tab
|
370
|
+
|
371
|
+
## [1.0.5] - 2010-03-01
|
372
|
+
### Fixed
|
373
|
+
- Support for overriding queue from schedule config.
|
374
|
+
|
375
|
+
### Changed
|
376
|
+
- The queue is now stored with the job and arguments in the delayed queue so
|
377
|
+
there is no longer a need for the scheduler to load job classes to introspect
|
378
|
+
the queue.
|
379
|
+
|
380
|
+
### Removed
|
381
|
+
- resque-web dependency on loading the job classes for "Queue Now", provided
|
382
|
+
"queue" is specified in the schedule.
|
383
|
+
|
384
|
+
## [1.0.4] - 2010-02-26
|
385
|
+
### Added
|
386
|
+
- Support for specifying the queue to put the job onto. This allows for you to
|
387
|
+
have one job that can go onto multiple queues and be able to schedule jobs
|
388
|
+
without having to load the job classes.
|
389
|
+
|
390
|
+
## [1.0.3] - 2010-02-11
|
391
|
+
### Added
|
392
|
+
- Support for scheduled jobs with empty crons. This is helpful to have jobs that
|
393
|
+
you don't want on a schedule, but do want to be able to queue by clicking a
|
394
|
+
button.
|
395
|
+
|
396
|
+
## [1.0.2] - 2010-02-10
|
397
|
+
### Changed
|
398
|
+
- Delayed Job tab to display job details if only 1 job exists for a given
|
399
|
+
timestamp
|
400
|
+
|
401
|
+
## [1.0.1] - 2010-02-01
|
402
|
+
### Fixed
|
403
|
+
- Delayed jobs close together resulted in a 5 second sleep
|
404
|
+
|
405
|
+
## [1.0.0] - 2009-12-21
|
406
|
+
### Added
|
407
|
+
- Initial release
|
408
|
+
|
409
|
+
[Unreleased]: https://github.com/resque/resque-scheduler/compare/v4.3.0...HEAD
|
410
|
+
[4.3.0]: https://github.com/resque/resque-scheduler/compare/v4.2.1...v4.3.0
|
411
|
+
[4.2.1]: https://github.com/resque/resque-scheduler/compare/v4.2.0...v4.2.1
|
412
|
+
[4.2.0]: https://github.com/resque/resque-scheduler/compare/v4.1.0...v4.2.0
|
413
|
+
[4.1.0]: https://github.com/resque/resque-scheduler/compare/v4.0.0...v4.1.0
|
414
|
+
[4.0.0]: https://github.com/resque/resque-scheduler/compare/v3.1.0...v4.0.0
|
415
|
+
[3.1.0]: https://github.com/resque/resque-scheduler/compare/v3.0.0...v3.1.0
|
416
|
+
[3.0.0]: https://github.com/resque/resque-scheduler/compare/v2.5.5...v3.0.0
|
417
|
+
[2.5.5]: https://github.com/resque/resque-scheduler/compare/v2.5.4...v2.5.5
|
418
|
+
[2.5.4]: https://github.com/resque/resque-scheduler/compare/v2.5.3...v2.5.4
|
419
|
+
[2.5.3]: https://github.com/resque/resque-scheduler/compare/v2.5.2...v2.5.3
|
420
|
+
[2.5.2]: https://github.com/resque/resque-scheduler/compare/v2.5.1...v2.5.2
|
421
|
+
[2.5.1]: https://github.com/resque/resque-scheduler/compare/v2.5.0...v2.5.1
|
422
|
+
[2.5.0]: https://github.com/resque/resque-scheduler/compare/v2.4.0...v2.5.0
|
423
|
+
[2.4.0]: https://github.com/resque/resque-scheduler/compare/v2.3.1...v2.4.0
|
424
|
+
[2.3.1]: https://github.com/resque/resque-scheduler/compare/v2.3.0...v2.3.1
|
425
|
+
[2.3.0]: https://github.com/resque/resque-scheduler/compare/v2.2.0...v2.3.0
|
426
|
+
[2.2.0]: https://github.com/resque/resque-scheduler/compare/v2.1.0...v2.2.0
|
427
|
+
[2.1.0]: https://github.com/resque/resque-scheduler/compare/v2.0.1...v2.1.0
|
428
|
+
[2.0.1]: https://github.com/resque/resque-scheduler/compare/v2.0.0...v2.0.1
|
429
|
+
[2.0.0]: https://github.com/resque/resque-scheduler/compare/v2.0.0.h...v2.0.0
|
430
|
+
[2.0.0.h]: https://github.com/resque/resque-scheduler/compare/v2.0.0.f...v2.0.0.h
|
431
|
+
[2.0.0.f]: https://github.com/resque/resque-scheduler/compare/v2.0.0.e...v2.0.0.f
|
432
|
+
[2.0.0.e]: https://github.com/resque/resque-scheduler/compare/v2.0.0.d...v2.0.0.e
|
433
|
+
[2.0.0.d]: https://github.com/resque/resque-scheduler/compare/v2.0.0.c...v2.0.0.d
|
434
|
+
[2.0.0.c]: https://github.com/resque/resque-scheduler/compare/61c7b5f...v2.0.0.c
|
435
|
+
[2.0.0.b]: https://github.com/resque/resque-scheduler/compare/v2.0.0.a...61c7b5f
|
436
|
+
[1.9.11]: https://github.com/resque/resque-scheduler/compare/v1.9.10...v1.9.11
|
437
|
+
[1.9.10]: https://github.com/resque/resque-scheduler/compare/v1.9.9...v1.9.10
|
438
|
+
[1.9.9]: https://github.com/resque/resque-scheduler/compare/v1.9.8...v1.9.9
|
439
|
+
[1.9.8]: https://github.com/resque/resque-scheduler/compare/v1.9.7...v1.9.8
|
440
|
+
[1.9.7]: https://github.com/resque/resque-scheduler/compare/v1.9.6...v1.9.7
|
441
|
+
[1.9.6]: https://github.com/resque/resque-scheduler/compare/v1.9.5...v1.9.6
|
442
|
+
[1.9.5]: https://github.com/resque/resque-scheduler/compare/v1.9.4...v1.9.5
|
443
|
+
[1.9.4]: https://github.com/resque/resque-scheduler/compare/v1.9.3...v1.9.4
|
444
|
+
[1.9.3]: https://github.com/resque/resque-scheduler/compare/v1.9.2...v1.9.3
|
445
|
+
[1.9.2]: https://github.com/resque/resque-scheduler/compare/v1.9.1...v1.9.2
|
446
|
+
[1.9.1]: https://github.com/resque/resque-scheduler/compare/v1.9.0...v1.9.1
|
447
|
+
[1.9.0]: https://github.com/resque/resque-scheduler/compare/v1.8.2...v1.9.0
|
448
|
+
[1.8.2]: https://github.com/resque/resque-scheduler/compare/v1.8.1...v1.8.2
|
449
|
+
[1.8.1]: https://github.com/resque/resque-scheduler/compare/v1.8.0...v1.8.1
|
450
|
+
[1.8.0]: https://github.com/resque/resque-scheduler/compare/v1.0.5...v1.8.0
|
451
|
+
[1.0.5]: https://github.com/resque/resque-scheduler/compare/v1.0.4...v1.0.5
|
452
|
+
[1.0.4]: https://github.com/resque/resque-scheduler/compare/v1.0.3...v1.0.4
|
453
|
+
[1.0.3]: https://github.com/resque/resque-scheduler/compare/v1.0.2...v1.0.3
|
454
|
+
[1.0.2]: https://github.com/resque/resque-scheduler/compare/v1.0.1...v1.0.2
|
455
|
+
[1.0.1]: https://github.com/resque/resque-scheduler/compare/v1.0.0...v1.0.1
|
456
|
+
[1.0.0]: https://github.com/resque/resque-scheduler/compare/v0.0.1...v1.0.0
|
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,74 @@
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
2
|
+
|
3
|
+
## Our Pledge
|
4
|
+
|
5
|
+
In the interest of fostering an open and welcoming environment, we as
|
6
|
+
contributors and maintainers pledge to making participation in our project and
|
7
|
+
our community a harassment-free experience for everyone, regardless of age, body
|
8
|
+
size, disability, ethnicity, gender identity and expression, level of experience,
|
9
|
+
nationality, personal appearance, race, religion, or sexual identity and
|
10
|
+
orientation.
|
11
|
+
|
12
|
+
## Our Standards
|
13
|
+
|
14
|
+
Examples of behavior that contributes to creating a positive environment
|
15
|
+
include:
|
16
|
+
|
17
|
+
* Using welcoming and inclusive language
|
18
|
+
* Being respectful of differing viewpoints and experiences
|
19
|
+
* Gracefully accepting constructive criticism
|
20
|
+
* Focusing on what is best for the community
|
21
|
+
* Showing empathy towards other community members
|
22
|
+
|
23
|
+
Examples of unacceptable behavior by participants include:
|
24
|
+
|
25
|
+
* The use of sexualized language or imagery and unwelcome sexual attention or
|
26
|
+
advances
|
27
|
+
* Trolling, insulting/derogatory comments, and personal or political attacks
|
28
|
+
* Public or private harassment
|
29
|
+
* Publishing others' private information, such as a physical or electronic
|
30
|
+
address, without explicit permission
|
31
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
32
|
+
professional setting
|
33
|
+
|
34
|
+
## Our Responsibilities
|
35
|
+
|
36
|
+
Project maintainers are responsible for clarifying the standards of acceptable
|
37
|
+
behavior and are expected to take appropriate and fair corrective action in
|
38
|
+
response to any instances of unacceptable behavior.
|
39
|
+
|
40
|
+
Project maintainers have the right and responsibility to remove, edit, or
|
41
|
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
42
|
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
43
|
+
permanently any contributor for other behaviors that they deem inappropriate,
|
44
|
+
threatening, offensive, or harmful.
|
45
|
+
|
46
|
+
## Scope
|
47
|
+
|
48
|
+
This Code of Conduct applies both within project spaces and in public spaces
|
49
|
+
when an individual is representing the project or its community. Examples of
|
50
|
+
representing a project or community include using an official project e-mail
|
51
|
+
address, posting via an official social media account, or acting as an appointed
|
52
|
+
representative at an online or offline event. Representation of a project may be
|
53
|
+
further defined and clarified by project maintainers.
|
54
|
+
|
55
|
+
## Enforcement
|
56
|
+
|
57
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
58
|
+
reported by contacting the project team at resque@librelist.com. All
|
59
|
+
complaints will be reviewed and investigated and will result in a response that
|
60
|
+
is deemed necessary and appropriate to the circumstances. The project team is
|
61
|
+
obligated to maintain confidentiality with regard to the reporter of an incident.
|
62
|
+
Further details of specific enforcement policies may be posted separately.
|
63
|
+
|
64
|
+
Project maintainers who do not follow or enforce the Code of Conduct in good
|
65
|
+
faith may face temporary or permanent repercussions as determined by other
|
66
|
+
members of the project's leadership.
|
67
|
+
|
68
|
+
## Attribution
|
69
|
+
|
70
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
71
|
+
available at [http://contributor-covenant.org/version/1/4][version]
|
72
|
+
|
73
|
+
[homepage]: http://contributor-covenant.org
|
74
|
+
[version]: http://contributor-covenant.org/version/1/4/
|
data/CONTRIBUTING.md
ADDED
data/Gemfile
ADDED
data/LICENSE
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
Copyright (c) 2014 Ben VandenBos
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
23
|
+
|