webmat-delayed_job 1.7.1 → 1.7.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/delayed_job.gemspec +1 -1
  2. data/lib/delayed/job.rb +1 -1
  3. metadata +1 -1
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "delayed_job"
5
- s.version = "1.7.1"
5
+ s.version = "1.7.2"
6
6
  s.date = "2008-11-28"
7
7
  s.summary = "Database-backed asynchronous priority queue system -- Extracted from Shopify"
8
8
  s.email = "tobi@leetsoft.com"
@@ -20,7 +20,7 @@ module Delayed
20
20
  # There are some advantages to overriding this with something which survives worker retarts:
21
21
  # Workers can safely resume working on tasks which are locked by themselves. The worker will assume that it crashed before.
22
22
  cattr_accessor :worker_name
23
- def worker_name
23
+ def self.worker_name
24
24
  @@worker_name ||= "host:#{Socket.gethostname} pid:#{Process.pid}" rescue "pid:#{Process.pid}"
25
25
  end
26
26
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: webmat-delayed_job
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.1
4
+ version: 1.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - "Tobias L\xC3\xBCtke"