resque 1.9.7 → 1.9.8
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of resque might be problematic. Click here for more details.
- data/HISTORY.md +6 -0
- data/lib/resque/version.rb +1 -1
- data/lib/resque/worker.rb +1 -1
- data/tasks/redis.rake +1 -1
- metadata +3 -3
data/HISTORY.md
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
## 1.9.8 (2010-07-20)
|
2
|
+
|
3
|
+
* Bugfix: Worker.all should never return nil
|
4
|
+
* monit example: Fixed Syntax Error and adding environment to the rake task
|
5
|
+
* redis rake task: Fixed typo in copy command
|
6
|
+
|
1
7
|
## 1.9.7 (2010-07-09)
|
2
8
|
|
3
9
|
* Improved memory usage in Job.destroy
|
data/lib/resque/version.rb
CHANGED
data/lib/resque/worker.rb
CHANGED
@@ -24,7 +24,7 @@ module Resque
|
|
24
24
|
|
25
25
|
# Returns an array of all worker objects.
|
26
26
|
def self.all
|
27
|
-
Array(redis.smembers(:workers)).map { |id| find(id) }
|
27
|
+
Array(redis.smembers(:workers)).map { |id| find(id) }.compact
|
28
28
|
end
|
29
29
|
|
30
30
|
# Returns an array of all worker objects currently processing
|
data/tasks/redis.rake
CHANGED
@@ -93,7 +93,7 @@ namespace :redis do
|
|
93
93
|
end
|
94
94
|
|
95
95
|
%w(redis-benchmark redis-cli redis-server).each do |bin|
|
96
|
-
sh "cp /tmp/redis/src
|
96
|
+
sh "cp /tmp/redis/src/#{bin} #{bin_dir}"
|
97
97
|
end
|
98
98
|
|
99
99
|
puts "Installed redis-benchmark, redis-cli and redis-server to #{bin_dir}"
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 1
|
7
7
|
- 9
|
8
|
-
-
|
9
|
-
version: 1.9.
|
8
|
+
- 8
|
9
|
+
version: 1.9.8
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Chris Wanstrath
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-07-
|
17
|
+
date: 2010-07-20 00:00:00 -07:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|