resque_admin 0.2.0 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/HISTORY.md +30 -30
- data/README.markdown +83 -83
- data/Rakefile +1 -1
- data/bin/{resque-admin → resque} +8 -8
- data/bin/{resque-admin-web → resque-web} +5 -5
- data/lib/{resque_admin → resque}/data_store.rb +4 -4
- data/lib/{resque_admin → resque}/errors.rb +1 -1
- data/lib/{resque_admin → resque}/failure/airbrake.rb +4 -4
- data/lib/{resque_admin → resque}/failure/base.rb +1 -1
- data/lib/{resque_admin → resque}/failure/multiple.rb +2 -2
- data/lib/{resque_admin → resque}/failure/redis.rb +7 -7
- data/lib/{resque_admin → resque}/failure/redis_multi_queue.rb +11 -11
- data/lib/{resque_admin → resque}/failure.rb +8 -8
- data/lib/{resque_admin → resque}/helpers.rb +9 -9
- data/lib/{resque_admin → resque}/job.rb +22 -22
- data/lib/{resque_admin → resque}/log_formatters/quiet_formatter.rb +1 -1
- data/lib/{resque_admin → resque}/log_formatters/verbose_formatter.rb +1 -1
- data/lib/{resque_admin → resque}/log_formatters/very_verbose_formatter.rb +1 -1
- data/lib/{resque_admin → resque}/logging.rb +2 -2
- data/lib/{resque_admin → resque}/plugin.rb +2 -2
- data/lib/{resque_admin → resque}/server/helpers.rb +4 -4
- data/lib/{resque_admin → resque}/server/public/favicon.ico +0 -0
- data/lib/{resque_admin → resque}/server/public/idle.png +0 -0
- data/lib/{resque_admin → resque}/server/public/jquery-1.12.4.min.js +0 -0
- data/lib/{resque_admin → resque}/server/public/jquery.relatize_date.js +0 -0
- data/lib/{resque_admin → resque}/server/public/poll.png +0 -0
- data/lib/{resque_admin → resque}/server/public/ranger.js +0 -0
- data/lib/{resque_admin → resque}/server/public/reset.css +0 -0
- data/lib/{resque_admin → resque}/server/public/style.css +0 -0
- data/lib/{resque_admin → resque}/server/public/working.png +0 -0
- data/lib/{resque_admin → resque}/server/test_helper.rb +3 -3
- data/lib/{resque_admin → resque}/server/views/error.erb +0 -0
- data/lib/{resque_admin → resque}/server/views/failed.erb +2 -2
- data/lib/{resque_admin → resque}/server/views/failed_job.erb +0 -0
- data/lib/{resque_admin → resque}/server/views/failed_queues_overview.erb +3 -3
- data/lib/{resque_admin → resque}/server/views/job_class.erb +0 -0
- data/lib/{resque_admin → resque}/server/views/key_sets.erb +0 -0
- data/lib/{resque_admin → resque}/server/views/key_string.erb +0 -0
- data/lib/{resque_admin → resque}/server/views/layout.erb +6 -6
- data/lib/{resque_admin → resque}/server/views/next_more.erb +0 -0
- data/lib/{resque_admin → resque}/server/views/overview.erb +0 -0
- data/lib/{resque_admin → resque}/server/views/processing.erb +0 -0
- data/lib/{resque_admin → resque}/server/views/queues.erb +5 -5
- data/lib/{resque_admin → resque}/server/views/stats.erb +1 -1
- data/lib/{resque_admin → resque}/server/views/workers.erb +4 -4
- data/lib/{resque_admin → resque}/server/views/working.erb +1 -1
- data/lib/{resque_admin → resque}/server.rb +35 -35
- data/lib/{resque_admin → resque}/stat.rb +2 -2
- data/lib/{resque_admin → resque}/tasks.rb +11 -11
- data/lib/{resque_admin → resque}/thread_signal.rb +1 -1
- data/lib/{resque_admin → resque}/vendor/utf8_util.rb +0 -0
- data/lib/resque/version.rb +3 -0
- data/lib/{resque_admin → resque}/worker.rb +29 -29
- data/lib/{resque_admin.rb → resque.rb} +27 -27
- data/lib/tasks/{resque_admin.rake → resque.rake} +1 -1
- metadata +60 -60
- data/lib/resque_admin/version.rb +0 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 237ea0c0332281a00c95be844d9b217700c64874
|
4
|
+
data.tar.gz: f70bb39801f82c74e361884e1b6d98dadeb64506
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d1f350c50469d7caa47bd1afe350359aa42b6ba18412aac5e0566b9ac8de51fb9e2145e35084a892ff58217a2f0c73f347e4585ca6387d4b496884ab471f7d5
|
7
|
+
data.tar.gz: 305da3ea203d898ff993b4b27589071f8211ebd83fc1fccb9637a36ae5670bf0d2ecf69b07932cad6cafcb67dcae753056f8d7b53a755a6542ced2eb0e843717
|
data/HISTORY.md
CHANGED
@@ -6,12 +6,12 @@
|
|
6
6
|
## 1.27.4 (2017-04-15)
|
7
7
|
|
8
8
|
### Fixed
|
9
|
-
* Fix issue where removing a failure from
|
9
|
+
* Fix issue where removing a failure from Resque web didn't work when using `RedisMultiQueue` backend.
|
10
10
|
|
11
11
|
## 1.27.3 (2017-04-10)
|
12
12
|
|
13
13
|
### Fixed
|
14
|
-
* Fix issue where initializing a data store would attempt to hit Redis, even when
|
14
|
+
* Fix issue where initializing a data store would attempt to hit Redis, even when Resque.inline = true
|
15
15
|
|
16
16
|
## 1.27.2 (2017-02-20)
|
17
17
|
|
@@ -46,7 +46,7 @@
|
|
46
46
|
* No longer user Thread.kill to stop heartbeat (@Sinjo)
|
47
47
|
|
48
48
|
### Added
|
49
|
-
*
|
49
|
+
* Resque Web UI now prompts for confirmation on clearing failed jobs (Markus Olsen)
|
50
50
|
* Adds process status to DirtyExit exception when job is killed via signal (@MishaConway)
|
51
51
|
|
52
52
|
## 1.26.0 (2016-03-10)
|
@@ -59,7 +59,7 @@ the next release.
|
|
59
59
|
worker instead of the current pid. (@yaauie)
|
60
60
|
* Add support for RESQUE_PROCLINE_PREFIX environment variable to prefix
|
61
61
|
procline strings with a static identifier. (@rbroemeling)
|
62
|
-
*
|
62
|
+
* Resque::Worker logs errors at the correct logging level (@chrisccerami)
|
63
63
|
|
64
64
|
## 1.25.2 (2014-3-3)
|
65
65
|
|
@@ -69,7 +69,7 @@ the next release.
|
|
69
69
|
* use redis-namespace 1.3 (Andrea Rossi)
|
70
70
|
* fix DOCS link in README (@cade)
|
71
71
|
* Fix worker prune test to actually run its assertion & cover reality. (@yaauie)
|
72
|
-
* Eliminate infinite recursion when
|
72
|
+
* Eliminate infinite recursion when Resque::Helpers mixed into Resque (@yaml)
|
73
73
|
* use ruby, avoid shelling out. google++ (@hone)
|
74
74
|
* Failed Assertions Don't Fail Tests :rage: (@yaauie)
|
75
75
|
|
@@ -85,7 +85,7 @@ the next release.
|
|
85
85
|
https://github.com/resque/resque/pull/902 (@jonhyman)
|
86
86
|
* Fixed uninitialize constant for the module/class that contains the perform
|
87
87
|
method causing job failures to no be reported, #792 (@sideshowcoder)
|
88
|
-
* Fix
|
88
|
+
* Fix Resque::Failure::Base.all to have the correct signature.
|
89
89
|
(@rentalutions)
|
90
90
|
* Don't close stdio pipes when daemonizing so as to not hide errors. #967
|
91
91
|
(@sideshowcoder)
|
@@ -116,7 +116,7 @@ the next release.
|
|
116
116
|
* Web UI: Add page list to queues (@ql)
|
117
117
|
* Web UI: Fix regression that caused the failure tab to break when clicking on
|
118
118
|
"clear all failures" under certain failure backends, #859 (@jonhyman)
|
119
|
-
* Fix regression for
|
119
|
+
* Fix regression for Resque hooks where Resque would error out if you assigned
|
120
120
|
multiple hooks using an array, #859 (@jonhyman)
|
121
121
|
* Adds ENV["RUN_AT_EXIT_HOOKS"] which when set to 1 causes any defined
|
122
122
|
`at_exit` hooks to be run on the child when the forked process exits, #862
|
@@ -149,12 +149,12 @@ the next release.
|
|
149
149
|
the RedisMultiQueue failure backend (@tarcieri)
|
150
150
|
* Disable forking completely with FORK_PER_JOB=false env var (@tarcieri)
|
151
151
|
* Report a failure when processes are killed with signals (@dylanahsmith)
|
152
|
-
* Enable registering of multiple
|
152
|
+
* Enable registering of multiple Resque hooks (@panthomakos, @jonhyman)
|
153
153
|
|
154
154
|
## 1.23.0 (2012-10-01)
|
155
155
|
|
156
|
-
* don't run `before_fork` hook if
|
157
|
-
* don't run `after_fork` hook if
|
156
|
+
* don't run `before_fork` hook if Resque can't fork (@kjwierenga, @tarcieri, #672, #697)
|
157
|
+
* don't run `after_fork` hook if Resque can't fork (@kjwierenga, @tarcieri, #672, #697)
|
158
158
|
* retry connecting to redis up to 3 times (@trevorturk, #693)
|
159
159
|
* pass exceptions raised by the worker into the Failure backend (@trevorturk, #693)
|
160
160
|
|
@@ -162,7 +162,7 @@ the next release.
|
|
162
162
|
|
163
163
|
* unregister signal handlers in child process when ENV["TERM_CHILD"] is set (@dylanasmith, #621)
|
164
164
|
* new signal handling for TERM. See http://hone.heroku.com/resque/2012/08/21/resque-signals.html. (@wuputah, @yaaule, #638)
|
165
|
-
* supports calling perform hooks when using
|
165
|
+
* supports calling perform hooks when using Resque.inline (@jonhyman, #506)
|
166
166
|
|
167
167
|
## 1.21.0 (2012-07-02)
|
168
168
|
|
@@ -184,12 +184,12 @@ the next release.
|
|
184
184
|
* #decode raise takes a string when re-raising as a different exception class (Trevor Hart)
|
185
185
|
* Use Sinatra's `pubilc_folder` if it exists (@defunkt, #420, #421)
|
186
186
|
* Assign the job's worker before calling `before_fork` (@quirkey)
|
187
|
-
* Fix
|
187
|
+
* Fix Resque::Helpers#constantize to work correctly on 1.9.2 (@rtlong)
|
188
188
|
* Added before & after hooks for dequeue (@humancopy, #398)
|
189
189
|
* daemonize support using `ENV["BACKGROUND"]` (@chrisleishman)
|
190
190
|
* requeue and remove failed jobs by queue name (@evanwhalen)
|
191
191
|
* `-r` flag for resque-web for redis connection (@gjastrab)
|
192
|
-
* Added `
|
192
|
+
* Added `Resque.enqueue_to`: allows you to specif the queue and still run hooks (@dan-g)
|
193
193
|
* Web UI: Set the default encoding to UTF-8 (@elubow)
|
194
194
|
* fix finding worker pids on JRuby (John Andrews + Andrew Grieser)
|
195
195
|
* Added distributed redis support (@stipple)
|
@@ -230,12 +230,12 @@ the next release.
|
|
230
230
|
## 1.18.0 (2011-08-18)
|
231
231
|
|
232
232
|
* Added before_enqueue hook.
|
233
|
-
*
|
233
|
+
* Resque workers now preload files under app/ in Rails
|
234
234
|
* Switch to MultiJSON
|
235
235
|
* Bugfix: Finding worker pids on Solaris
|
236
236
|
* Web UI: Fix NaN days ago for worker screens
|
237
237
|
* Web UI: Add Cache-Control header to prevent proxy caching
|
238
|
-
* Web UI: Update
|
238
|
+
* Web UI: Update Resque.redis_id so it can be used in a distributed ring.
|
239
239
|
|
240
240
|
## 1.17.1 (2011-05-27)
|
241
241
|
|
@@ -251,7 +251,7 @@ the next release.
|
|
251
251
|
|
252
252
|
## 1.16.1 (2011-05-17)
|
253
253
|
|
254
|
-
* Bugfix:
|
254
|
+
* Bugfix: Resque::Failure::Hoptoad.configure works again
|
255
255
|
* Bugfix: Loading rake tasks
|
256
256
|
|
257
257
|
## 1.16.0 (2011-05-16)
|
@@ -259,7 +259,7 @@ the next release.
|
|
259
259
|
* Optional Hoptoad backend extracted into hoptoad_notifier. Install the gem to use it.
|
260
260
|
* Added `Worker#paused?` method
|
261
261
|
* Bugfix: Properly reseed random number generator after forking.
|
262
|
-
* Bugfix:
|
262
|
+
* Bugfix: Resque.redis=(<a Redis::Namespace>)
|
263
263
|
* Bugfix: Monit example stdout/stderr redirection
|
264
264
|
* Bugfix: Removing single failure now works with multiple failure backends
|
265
265
|
* Web: 'Remove Queue' now requires confirmation
|
@@ -277,12 +277,12 @@ the next release.
|
|
277
277
|
## 1.14.0 (2011-03-17)
|
278
278
|
|
279
279
|
* Sleep interval can now be a float
|
280
|
-
* Added
|
280
|
+
* Added Resque.inline to allow in-process performing of jobs (for testing)
|
281
281
|
* Fixed tests for Ruby 1.9.2
|
282
|
-
* Added
|
282
|
+
* Added Resque.validate(klass) to validate a Job
|
283
283
|
* Decode errors are no longer ignored to help debugging
|
284
284
|
* Web: Sinatra 1.2 compatibility
|
285
|
-
* Fixed after_enqueue hook to actually run in `
|
285
|
+
* Fixed after_enqueue hook to actually run in `Resque.enqueue`
|
286
286
|
* Fixed very_verbose timestamps to use 24 hour time (AM/PM wasn't included)
|
287
287
|
* Fixed monit example
|
288
288
|
* Fixed Worker#pid
|
@@ -309,7 +309,7 @@ the next release.
|
|
309
309
|
|
310
310
|
## 1.10.0 (2010-08-23)
|
311
311
|
|
312
|
-
* Support redis:// string format in `
|
312
|
+
* Support redis:// string format in `Resque.redis=`
|
313
313
|
* Using new cross-platform JSON gem.
|
314
314
|
* Added `after_enqueue` plugin hook.
|
315
315
|
* Added `shutdown?` method which can be overridden.
|
@@ -354,7 +354,7 @@ the next release.
|
|
354
354
|
|
355
355
|
## 1.9.3 (2010-06-14)
|
356
356
|
|
357
|
-
* Bugfix:
|
357
|
+
* Bugfix: Resque#queues always returns an array
|
358
358
|
|
359
359
|
## 1.9.2 (2010-06-13)
|
360
360
|
|
@@ -370,7 +370,7 @@ the next release.
|
|
370
370
|
|
371
371
|
* Redis 2 support
|
372
372
|
* Depend on redis-namespace 0.5.0
|
373
|
-
* Added
|
373
|
+
* Added Resque::VERSION constant (alias of Resque::Version)
|
374
374
|
* Bugfix: Specify JSON dependency
|
375
375
|
* Bugfix: Hoptoad plugin now works on 1.9
|
376
376
|
|
@@ -404,7 +404,7 @@ the next release.
|
|
404
404
|
* `Worker.working` race condition fixed
|
405
405
|
* `Worker#process` has been deprecated.
|
406
406
|
* Monit example fixed
|
407
|
-
* Redis::Client and Redis::Namespace can be passed to `
|
407
|
+
* Redis::Client and Redis::Namespace can be passed to `Resque.redis=`
|
408
408
|
|
409
409
|
## 1.7.1 (2010-04-02)
|
410
410
|
|
@@ -443,7 +443,7 @@ the next release.
|
|
443
443
|
|
444
444
|
## 1.5.1 (2010-03-03)
|
445
445
|
|
446
|
-
* `Job.destroy` and `
|
446
|
+
* `Job.destroy` and `Resque.dequeue` return the # of destroyed jobs.
|
447
447
|
* Hoptoad notifier improvements
|
448
448
|
* Specify the namespace with `resque-web` by passing `-N namespace`
|
449
449
|
* Bugfix: Don't crash when trying to parse invalid JSON.
|
@@ -458,8 +458,8 @@ the next release.
|
|
458
458
|
|
459
459
|
* Version now included in procline, e.g. `resque-1.5.0: Message`
|
460
460
|
* Web bugfix: Ignore idle works in the "working" page
|
461
|
-
* Added `
|
462
|
-
* Added `
|
461
|
+
* Added `Resque::Job.destroy(queue, klass, *args)`
|
462
|
+
* Added `Resque.dequeue(klass, *args)`
|
463
463
|
|
464
464
|
## 1.4.0 (2010-02-11)
|
465
465
|
|
@@ -471,7 +471,7 @@ the next release.
|
|
471
471
|
* Support USR2 and CONT to stop and start job processing.
|
472
472
|
* Web: Add example failing job
|
473
473
|
* Bugfix: `Worker#unregister_worker` shouldn't call `done_working`
|
474
|
-
* Bugfix: Example god config now restarts
|
474
|
+
* Bugfix: Example god config now restarts Resque properly.
|
475
475
|
* Multiple failure backends now permitted.
|
476
476
|
* Hoptoad failure backend updated to new API
|
477
477
|
|
@@ -484,7 +484,7 @@ the next release.
|
|
484
484
|
* Use Vegas for resque-web
|
485
485
|
* Web Bugfix: Show proper date/time value for failed_at on Failures
|
486
486
|
* Web Bugfix: Make the / route more flexible
|
487
|
-
* Add
|
487
|
+
* Add Resque::Server.tabs array (so plugins can add their own tabs)
|
488
488
|
* Start using [Semantic Versioning](http://semver.org/)
|
489
489
|
|
490
490
|
## 1.2.4 (2009-12-15)
|
@@ -516,7 +516,7 @@ the next release.
|
|
516
516
|
|
517
517
|
* If USR1 is sent and no child is found, shutdown.
|
518
518
|
* Raise when a job class does not respond to `perform`.
|
519
|
-
* Added `
|
519
|
+
* Added `Resque.remove_queue` for deleting a queue
|
520
520
|
|
521
521
|
## 1.1.0 (2009-11-04)
|
522
522
|
|