steve 2.0.4 → 2.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/steve/queued_job.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 89653860f4ff23766922170217f1c126049904ee0ee432697c98d189a1a6dc34
|
4
|
+
data.tar.gz: 8da132b2d5c9bc45418eae2f82cfbc2fc583ed396cebe24861c3de7bab8e3bce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c6197c2129be3b0baabdb56837b8408f2e3b7adda8b74b70d6fc8dcfc5feb91531603987684b1d4b8e582fef3d669db3b11cd391125e2c73a1f710dcc9f79e21
|
7
|
+
data.tar.gz: 0fee19660bc04839cd056eefae82546de019daa26e392cef66a1aff6ef1652b9e265be47654bf3e67c465b55f1bcd3428752f14fda82c067379f333995a09fdb
|
data/lib/steve/queued_job.rb
CHANGED
@@ -219,7 +219,7 @@ module Steve
|
|
219
219
|
|
220
220
|
## Remove old completed jobs from the database
|
221
221
|
def self.cleanup(age = 5.days.ago)
|
222
|
-
self.
|
222
|
+
self.where("status = ? and run_at < ?", 'completed', age).delete_all
|
223
223
|
end
|
224
224
|
|
225
225
|
def reconnect_database!
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: steve
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- aTech Media
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-10-16 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description:
|
14
14
|
email: support@atechmedia.com
|
@@ -47,8 +47,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
47
47
|
- !ruby/object:Gem::Version
|
48
48
|
version: '0'
|
49
49
|
requirements: []
|
50
|
-
|
51
|
-
rubygems_version: 2.6.14.3
|
50
|
+
rubygems_version: 3.0.3
|
52
51
|
signing_key:
|
53
52
|
specification_version: 4
|
54
53
|
summary: Steve Jobs background job runner
|