queue_classic 2.0.0rc6 → 2.0.0rc7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/queue_classic/worker.rb +1 -1
  2. metadata +3 -3
@@ -93,7 +93,7 @@ module QC
93
93
 
94
94
  def lock_job
95
95
  log("worker attempting a lock")
96
- attempts = 0
96
+ attempts = 1
97
97
  job = nil
98
98
  until job
99
99
  job = @queue.lock(@top_bound)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: queue_classic
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0rc6
4
+ version: 2.0.0rc7
5
5
  prerelease: 5
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-02-29 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: pg
16
- requirement: &11662540 !ruby/object:Gem::Requirement
16
+ requirement: &15731540 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: 0.13.2
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *11662540
24
+ version_requirements: *15731540
25
25
  description: queue_classic is a queueing library for Ruby apps. (Rails, Sinatra, Etc...)
26
26
  queue_classic features asynchronous job polling, database maintained locks and no
27
27
  ridiculous dependencies. As a matter of fact, queue_classic only requires pg.