resque 2.0.0 → 2.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/HISTORY.md +102 -0
- data/README.markdown +419 -515
- data/bin/resque-web +10 -26
- data/lib/resque/data_store.rb +32 -29
- data/lib/resque/failure/multiple.rb +6 -2
- data/lib/resque/failure/redis.rb +1 -1
- data/lib/resque/failure.rb +6 -0
- data/lib/resque/job.rb +2 -2
- data/lib/resque/logging.rb +1 -1
- data/lib/resque/railtie.rb +10 -0
- data/lib/resque/server/public/jquery-3.6.0.min.js +2 -0
- data/lib/resque/server/public/main.js +3 -0
- data/lib/resque/server/public/ranger.js +7 -4
- data/lib/resque/server/public/style.css +3 -3
- data/lib/resque/server/views/error.erb +1 -1
- data/lib/resque/server/views/failed.erb +9 -3
- data/lib/resque/server/views/job_class.erb +3 -1
- data/lib/resque/server/views/key_string.erb +1 -1
- data/lib/resque/server/views/layout.erb +4 -3
- data/lib/resque/server/views/next_more.erb +14 -14
- data/lib/resque/server/views/queues.erb +3 -3
- data/lib/resque/server/views/stats.erb +4 -4
- data/lib/resque/server/views/working.erb +1 -1
- data/lib/resque/server.rb +7 -113
- data/lib/resque/server_helper.rb +185 -0
- data/lib/resque/stat.rb +4 -4
- data/lib/resque/tasks.rb +2 -2
- data/lib/resque/version.rb +1 -1
- data/lib/resque/web_runner.rb +374 -0
- data/lib/resque/worker.rb +56 -31
- data/lib/resque.rb +39 -10
- data/lib/tasks/redis.rake +10 -10
- metadata +41 -23
- data/lib/resque/server/helpers.rb +0 -64
- data/lib/resque/server/public/jquery-1.12.4.min.js +0 -5
- data/lib/resque/server/test_helper.rb +0 -19
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f8cf648f1eb756bfe114e702e712d3b9a6748288d25194bf982c29b94b7ea7b5
|
4
|
+
data.tar.gz: e878e1cbe5a8bcf2a915a35c0038b24056f52bd845782934536968da71d90719
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 28094061441be3776fd2541ea43e678ad8270b1c620aa1bf11a2368f8c913e0c0069b481ecc1d17d336f432f7032b61b20d2a80e646231a7f86dacbd68e789b8
|
7
|
+
data.tar.gz: 3f3b8f2edc6f8b006ab650e2431db26e4fac0230adddc9f9fb748601bf9d6f16581208d20283b4a44e5303ae8a54993e8a324821492996d61a05b2e6f72adb7d
|
data/HISTORY.md
CHANGED
@@ -1,3 +1,105 @@
|
|
1
|
+
## 2.6.0
|
2
|
+
|
3
|
+
### Fixed
|
4
|
+
|
5
|
+
* resque-web: Fix reflected XSS in queues endpoint (#1865)
|
6
|
+
* resque-web: Format args in YAML (#1875)
|
7
|
+
* Fix MiniTest undefined errors (#1879)
|
8
|
+
* Fix failing reconnect tests (#1880)
|
9
|
+
|
10
|
+
### Added
|
11
|
+
|
12
|
+
* Documents how to make the worker shutdown when the queue is empty (#1873)
|
13
|
+
|
14
|
+
## 2.5.0
|
15
|
+
|
16
|
+
### Fixed
|
17
|
+
|
18
|
+
* Replace `File.exists?` with `File.exist?` (#1846)
|
19
|
+
* Escape `Resque.redis_id` for stats page (#1834)
|
20
|
+
* Escape resque info values (#1832)
|
21
|
+
* Correctly show the values of hash and none type on stats tab (#1838)
|
22
|
+
* Fix logging the worker name when starting the task (#1837)
|
23
|
+
|
24
|
+
### Added
|
25
|
+
|
26
|
+
* Raise an error when no available Rack server was found (#1836)
|
27
|
+
* Move code in `Resque::Server.helpers` block into a module to make it testable (#1851)
|
28
|
+
|
29
|
+
## 2.4.0
|
30
|
+
|
31
|
+
### Fixed
|
32
|
+
|
33
|
+
* Remove `thread_safe` arg in Redis instantiaons (#1822)
|
34
|
+
* Updated Test Matrix for Redis 5.0 (#1824)
|
35
|
+
* Fix redis-rb 4.8 deprecation warnings (#1827)
|
36
|
+
* Fix redis-rb 5.0 compatibility issues (#1828)
|
37
|
+
|
38
|
+
## 2.3.0
|
39
|
+
|
40
|
+
### Fixed
|
41
|
+
|
42
|
+
* Fix NoMethodError: undefined method 'application' for Rails:Module when Rails module is defined but not a full Rails app (#1799)
|
43
|
+
* Fix deprecation warnings in Redis#pipelined for redis 4.6 (#1806)
|
44
|
+
* Add Ruby syntax highlighting to remaining markdown docs (#1802)
|
45
|
+
* Fix pagination section (#1809)
|
46
|
+
* Fix `before_run` undefined local variable or method `runner` (#1811)
|
47
|
+
|
48
|
+
### Added
|
49
|
+
|
50
|
+
* Added support for pausing all workers by setting the Redis key `pause-all-workers` to string value "true" (#1803)
|
51
|
+
|
52
|
+
## 2.2.1
|
53
|
+
|
54
|
+
### Fixed
|
55
|
+
|
56
|
+
* Escape HTML from the params to avoid XSS (#1790)
|
57
|
+
* Remove vegas as a dependency (#1780)
|
58
|
+
|
59
|
+
### Added
|
60
|
+
|
61
|
+
* Add support for specifying queues that workers should ignore when using globs
|
62
|
+
* Allow plugins to have spaces in their name (#1718)
|
63
|
+
|
64
|
+
## 2.2.0
|
65
|
+
|
66
|
+
### Added
|
67
|
+
|
68
|
+
* Add 'Retry Failed Jobs' button to Failed page
|
69
|
+
|
70
|
+
### Fixed
|
71
|
+
|
72
|
+
* Loading railtie when it did not exist #1765
|
73
|
+
* Fix closing parent Redis connection in child process after fork
|
74
|
+
* Fix the failed queues list on /queues UI when the RedisMultiQueue backend is used #1638
|
75
|
+
|
76
|
+
## 2.1.0
|
77
|
+
|
78
|
+
### Security
|
79
|
+
|
80
|
+
* Fix XSS via URL path in admin web UI queues view #1687
|
81
|
+
* Replace onclick handlers in server code to support Content Security Policies that don't allow 'unsafe-inline'
|
82
|
+
* Update jQuery from 1.12.4 to 3.6.0
|
83
|
+
|
84
|
+
### Added
|
85
|
+
|
86
|
+
* Add requeue_queue method to Resque::Failure::Multiple #1659
|
87
|
+
* Confirmation prompt in admin front-end before submitting the retry of all failed jobs. #1753
|
88
|
+
* Railtie for default rake task setup when in Rails. #1715
|
89
|
+
* Added two new hooks.
|
90
|
+
- `queue_empty` when the job queue empties and the worker becomes idle
|
91
|
+
- `worker_exit` when the worker exits
|
92
|
+
|
93
|
+
See [docs/HOOKS.md](http://github.com/resque/resque/blob/master/docs/HOOKS.md) for
|
94
|
+
further details. (@jeremywadsack)
|
95
|
+
|
96
|
+
### Fixed
|
97
|
+
|
98
|
+
* live poller shouldn't restart itself until it successds or fails. #1740
|
99
|
+
* Fix parsing worker_id when queue name includes colon. #1691
|
100
|
+
* Prune workers which haven't been registered but have set a heartbeat. #1751
|
101
|
+
* `Resque::Failure::Multiple.remove` did not pass on the queue parameter
|
102
|
+
|
1
103
|
## 2.0.0 (2018-11-06)
|
2
104
|
|
3
105
|
### Fixed
|