cascade 0.0.3 → 0.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 (2) hide show
  1. data/lib/cascade/worker.rb +2 -0
  2. metadata +1 -1
@@ -130,6 +130,8 @@ module Cascade
130
130
 
131
131
  conditions = {
132
132
  :_id => job_spec.id,
133
+ :locked_at => nil,
134
+ :locked_by => nil,
133
135
  :run_at => {'$lte' => right_now}
134
136
  }
135
137
  job_spec.collection.update(conditions, {'$set' => {:locked_at => right_now, :locked_by => name}})
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: cascade
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.3
5
+ version: 0.0.4
6
6
  platform: ruby
7
7
  authors:
8
8
  - Andrew Timberlake