gearman-ruby 3.0.3 → 3.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/VERSION.yml +1 -1
  2. data/lib/gearman/task.rb +4 -3
  3. metadata +4 -4
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :major: 3
3
3
  :minor: 0
4
- :patch: 3
4
+ :patch: 4
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).split(//).sort.join
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: 1
4
+ hash: 15
5
5
  prerelease: false
6
6
  segments:
7
7
  - 3
8
8
  - 0
9
- - 3
10
- version: 3.0.3
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-11-12 00:00:00 -08:00
25
+ date: 2010-12-17 00:00:00 -08:00
26
26
  default_executable:
27
27
  dependencies: []
28
28