steve 1.0.1 → 1.0.2

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/steve/queued_job.rb +2 -2
  2. metadata +2 -2
@@ -178,8 +178,8 @@ module Steve
178
178
  end
179
179
 
180
180
  ## Remove old completed jobs from the database
181
- def self.cleanup
182
- self.delete_all(["status = 'completed' and run_at < ?", 5.days.ago])
181
+ def self.cleanup(age = 5.days.ago)
182
+ self.delete_all(["status = 'completed' and run_at < ?", age])
183
183
  end
184
184
 
185
185
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: steve
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-03-19 00:00:00.000000000Z
12
+ date: 2012-03-22 00:00:00.000000000Z
13
13
  dependencies: []
14
14
  description:
15
15
  email: support@atechmedia.com