gearman-ruby 3.0.3 → 3.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION.yml +1 -1
- data/lib/gearman/task.rb +4 -3
- metadata +4 -4
data/VERSION.yml
CHANGED
data/lib/gearman/task.rb
CHANGED
@@ -176,7 +176,7 @@ module Gearman
|
|
176
176
|
return @hash if @hash
|
177
177
|
|
178
178
|
if @uniq.nil?
|
179
|
-
string = (@func+@arg).
|
179
|
+
string = (@func+@arg).to_s
|
180
180
|
else
|
181
181
|
string = @uniq
|
182
182
|
end
|
@@ -198,9 +198,10 @@ module Gearman
|
|
198
198
|
if @priority
|
199
199
|
modes << 'high' if @priority == :high
|
200
200
|
modes << 'low' if @priority == :low
|
201
|
-
else
|
202
|
-
modes << 'bg' if @background
|
203
201
|
end
|
202
|
+
|
203
|
+
modes << 'bg' if @background
|
204
|
+
|
204
205
|
args = [func, get_uniq_hash, arg]
|
205
206
|
end
|
206
207
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gearman-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 15
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 3
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 3.0.
|
9
|
+
- 4
|
10
|
+
version: 3.0.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- John Ewart
|
@@ -22,7 +22,7 @@ autorequire:
|
|
22
22
|
bindir: bin
|
23
23
|
cert_chain: []
|
24
24
|
|
25
|
-
date: 2010-
|
25
|
+
date: 2010-12-17 00:00:00 -08:00
|
26
26
|
default_executable:
|
27
27
|
dependencies: []
|
28
28
|
|