resque-durable 3.0.0 → 4.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/resque/durable/queue_audit.rb +2 -4
- metadata +138 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3928943d5910f0175a2b2155b5bd417bde192e894448a53da76b184c610846b3
|
4
|
+
data.tar.gz: 95a94e3dd8d3c8bddb94ec48739fd2f5f9619c1e63cf497dce3fbe71ccfb1996
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1d11f968ff7957ed51e96857eafe86ed406152b44a7d9664568eec72a7f0095fca0f08715f6a2b7717cae3c417e0fc85dc9ed352394b560c99678c7137796085
|
7
|
+
data.tar.gz: a2e612f1cbcaf5b00246526ff5160203e2596aaa61cd27cddadb1e09b1692a6a4c8e08c3a3ac14ac986615334b2d4b8a5a59ec379a3f75a39c51f5523ec1449c
|
@@ -19,11 +19,9 @@ module Resque
|
|
19
19
|
# created_at
|
20
20
|
DEFAULT_DURATION = 10.minutes
|
21
21
|
|
22
|
-
validates_length_of :payload_before_type_cast, :in => 1..5000
|
23
|
-
|
24
22
|
validates_inclusion_of :duration, :in => 1.minute.to_i..3.hours.to_i
|
25
23
|
|
26
|
-
scope :older_than, ->(date) { where('created_at < ?', date) }
|
24
|
+
scope :older_than, ->(date) { where('created_at < ?', date).limit(10000) }
|
27
25
|
|
28
26
|
scope :failed, -> {
|
29
27
|
where(completed_at: nil)
|
@@ -48,7 +46,7 @@ module Resque
|
|
48
46
|
end
|
49
47
|
|
50
48
|
def cleanup(date)
|
51
|
-
older_than(date).
|
49
|
+
older_than(date).delete_all
|
52
50
|
end
|
53
51
|
|
54
52
|
end
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: resque-durable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 4.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric Chapweske
|
8
8
|
- Ben Osheroff
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2022-
|
12
|
+
date: 2022-09-28 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activerecord
|
@@ -17,14 +17,14 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - ">="
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: '
|
20
|
+
version: '5.1'
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
25
|
- - ">="
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: '
|
27
|
+
version: '5.1'
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: resque
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
@@ -41,20 +41,146 @@ dependencies:
|
|
41
41
|
version: '1.27'
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: uuidtools
|
44
|
+
requirement: !ruby/object:Gem::Requirement
|
45
|
+
requirements:
|
46
|
+
- - "~>"
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: '2.2'
|
49
|
+
type: :runtime
|
50
|
+
prerelease: false
|
51
|
+
version_requirements: !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - "~>"
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: '2.2'
|
56
|
+
- !ruby/object:Gem::Dependency
|
57
|
+
name: redis
|
58
|
+
requirement: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
60
|
+
- - "<"
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '5'
|
63
|
+
type: :runtime
|
64
|
+
prerelease: false
|
65
|
+
version_requirements: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - "<"
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '5'
|
70
|
+
- !ruby/object:Gem::Dependency
|
71
|
+
name: bump
|
44
72
|
requirement: !ruby/object:Gem::Requirement
|
45
73
|
requirements:
|
46
74
|
- - ">="
|
47
75
|
- !ruby/object:Gem::Version
|
48
76
|
version: '0'
|
49
|
-
type: :
|
77
|
+
type: :development
|
78
|
+
prerelease: false
|
79
|
+
version_requirements: !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - ">="
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: '0'
|
84
|
+
- !ruby/object:Gem::Dependency
|
85
|
+
name: rake
|
86
|
+
requirement: !ruby/object:Gem::Requirement
|
87
|
+
requirements:
|
88
|
+
- - ">="
|
89
|
+
- !ruby/object:Gem::Version
|
90
|
+
version: '0'
|
91
|
+
type: :development
|
92
|
+
prerelease: false
|
93
|
+
version_requirements: !ruby/object:Gem::Requirement
|
94
|
+
requirements:
|
95
|
+
- - ">="
|
96
|
+
- !ruby/object:Gem::Version
|
97
|
+
version: '0'
|
98
|
+
- !ruby/object:Gem::Dependency
|
99
|
+
name: minitest
|
100
|
+
requirement: !ruby/object:Gem::Requirement
|
101
|
+
requirements:
|
102
|
+
- - ">="
|
103
|
+
- !ruby/object:Gem::Version
|
104
|
+
version: '0'
|
105
|
+
type: :development
|
106
|
+
prerelease: false
|
107
|
+
version_requirements: !ruby/object:Gem::Requirement
|
108
|
+
requirements:
|
109
|
+
- - ">="
|
110
|
+
- !ruby/object:Gem::Version
|
111
|
+
version: '0'
|
112
|
+
- !ruby/object:Gem::Dependency
|
113
|
+
name: minitest-rg
|
114
|
+
requirement: !ruby/object:Gem::Requirement
|
115
|
+
requirements:
|
116
|
+
- - ">="
|
117
|
+
- !ruby/object:Gem::Version
|
118
|
+
version: '0'
|
119
|
+
type: :development
|
120
|
+
prerelease: false
|
121
|
+
version_requirements: !ruby/object:Gem::Requirement
|
122
|
+
requirements:
|
123
|
+
- - ">="
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: '0'
|
126
|
+
- !ruby/object:Gem::Dependency
|
127
|
+
name: mocha
|
128
|
+
requirement: !ruby/object:Gem::Requirement
|
129
|
+
requirements:
|
130
|
+
- - ">="
|
131
|
+
- !ruby/object:Gem::Version
|
132
|
+
version: '0'
|
133
|
+
type: :development
|
134
|
+
prerelease: false
|
135
|
+
version_requirements: !ruby/object:Gem::Requirement
|
136
|
+
requirements:
|
137
|
+
- - ">="
|
138
|
+
- !ruby/object:Gem::Version
|
139
|
+
version: '0'
|
140
|
+
- !ruby/object:Gem::Dependency
|
141
|
+
name: timecop
|
142
|
+
requirement: !ruby/object:Gem::Requirement
|
143
|
+
requirements:
|
144
|
+
- - ">="
|
145
|
+
- !ruby/object:Gem::Version
|
146
|
+
version: '0'
|
147
|
+
type: :development
|
148
|
+
prerelease: false
|
149
|
+
version_requirements: !ruby/object:Gem::Requirement
|
150
|
+
requirements:
|
151
|
+
- - ">="
|
152
|
+
- !ruby/object:Gem::Version
|
153
|
+
version: '0'
|
154
|
+
- !ruby/object:Gem::Dependency
|
155
|
+
name: pry
|
156
|
+
requirement: !ruby/object:Gem::Requirement
|
157
|
+
requirements:
|
158
|
+
- - ">="
|
159
|
+
- !ruby/object:Gem::Version
|
160
|
+
version: '0'
|
161
|
+
type: :development
|
162
|
+
prerelease: false
|
163
|
+
version_requirements: !ruby/object:Gem::Requirement
|
164
|
+
requirements:
|
165
|
+
- - ">="
|
166
|
+
- !ruby/object:Gem::Version
|
167
|
+
version: '0'
|
168
|
+
- !ruby/object:Gem::Dependency
|
169
|
+
name: sqlite3
|
170
|
+
requirement: !ruby/object:Gem::Requirement
|
171
|
+
requirements:
|
172
|
+
- - ">="
|
173
|
+
- !ruby/object:Gem::Version
|
174
|
+
version: '0'
|
175
|
+
type: :development
|
50
176
|
prerelease: false
|
51
177
|
version_requirements: !ruby/object:Gem::Requirement
|
52
178
|
requirements:
|
53
179
|
- - ">="
|
54
180
|
- !ruby/object:Gem::Version
|
55
181
|
version: '0'
|
56
|
-
description:
|
57
|
-
email:
|
182
|
+
description:
|
183
|
+
email:
|
58
184
|
executables: []
|
59
185
|
extensions: []
|
60
186
|
extra_rdoc_files: []
|
@@ -68,7 +194,7 @@ homepage: https://github.com/zendesk/resque-durable
|
|
68
194
|
licenses:
|
69
195
|
- MIT
|
70
196
|
metadata: {}
|
71
|
-
post_install_message:
|
197
|
+
post_install_message:
|
72
198
|
rdoc_options: []
|
73
199
|
require_paths:
|
74
200
|
- lib
|
@@ -76,16 +202,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
76
202
|
requirements:
|
77
203
|
- - ">="
|
78
204
|
- !ruby/object:Gem::Version
|
79
|
-
version: '2.
|
205
|
+
version: '2.6'
|
80
206
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
81
207
|
requirements:
|
82
208
|
- - ">="
|
83
209
|
- !ruby/object:Gem::Version
|
84
210
|
version: '0'
|
85
211
|
requirements: []
|
86
|
-
|
87
|
-
|
88
|
-
signing_key:
|
212
|
+
rubygems_version: 3.0.3.1
|
213
|
+
signing_key:
|
89
214
|
specification_version: 4
|
90
215
|
summary: Resque queue backed by database audits, with automatic retry
|
91
216
|
test_files: []
|