resque-unique_in_queue 2.0.0 → 2.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.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/CHANGELOG.md +147 -0
- data/LICENSE.md +14 -0
- data/README.md +517 -63
- data/lib/resque/plugins/unique_in_queue.rb +8 -5
- data/lib/resque/unique_in_queue/configuration.rb +18 -17
- data/lib/resque/unique_in_queue/queue.rb +8 -7
- data/lib/resque/unique_in_queue/resque_ext/job.rb +12 -12
- data/lib/resque/unique_in_queue/resque_ext/resque.rb +4 -4
- data/lib/resque/unique_in_queue/version.rb +7 -1
- data/lib/resque/unique_in_queue.rb +8 -0
- data/lib/resque-unique_in_queue.rb +20 -12
- data/sig/resque/unique_in_queue.rbs +8 -0
- data.tar.gz.sig +0 -0
- metadata +176 -57
- metadata.gz.sig +0 -0
- data/.gitignore +0 -17
- data/.rubocop.yml +0 -2
- data/.rubocop_todo.yml +0 -91
- data/.ruby-version +0 -1
- data/.travis.yml +0 -7
- data/Gemfile +0 -18
- data/LICENSE +0 -24
- data/Rakefile +0 -14
- data/resque-unique_in_queue.gemspec +0 -34
metadata
CHANGED
|
@@ -1,186 +1,307 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: resque-unique_in_queue
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0.
|
|
4
|
+
version: 2.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Peter H. Boling
|
|
8
8
|
- Tee Parham
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
- MaksMasalitin
|
|
10
|
+
- Daniel Cunha
|
|
11
|
+
- Max Lewis
|
|
12
|
+
bindir: exe
|
|
13
|
+
cert_chain:
|
|
14
|
+
- |
|
|
15
|
+
-----BEGIN CERTIFICATE-----
|
|
16
|
+
MIIEgDCCAuigAwIBAgIBATANBgkqhkiG9w0BAQsFADBDMRUwEwYDVQQDDAxwZXRl
|
|
17
|
+
ci5ib2xpbmcxFTATBgoJkiaJk/IsZAEZFgVnbWFpbDETMBEGCgmSJomT8ixkARkW
|
|
18
|
+
A2NvbTAeFw0yNTA1MDQxNTMzMDlaFw00NTA0MjkxNTMzMDlaMEMxFTATBgNVBAMM
|
|
19
|
+
DHBldGVyLmJvbGluZzEVMBMGCgmSJomT8ixkARkWBWdtYWlsMRMwEQYKCZImiZPy
|
|
20
|
+
LGQBGRYDY29tMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAruUoo0WA
|
|
21
|
+
uoNuq6puKWYeRYiZekz/nsDeK5x/0IEirzcCEvaHr3Bmz7rjo1I6On3gGKmiZs61
|
|
22
|
+
LRmQ3oxy77ydmkGTXBjruJB+pQEn7UfLSgQ0xa1/X3kdBZt6RmabFlBxnHkoaGY5
|
|
23
|
+
mZuZ5+Z7walmv6sFD9ajhzj+oIgwWfnEHkXYTR8I6VLN7MRRKGMPoZ/yvOmxb2DN
|
|
24
|
+
coEEHWKO9CvgYpW7asIihl/9GMpKiRkcYPm9dGQzZc6uTwom1COfW0+ZOFrDVBuV
|
|
25
|
+
FMQRPswZcY4Wlq0uEBLPU7hxnCL9nKK6Y9IhdDcz1mY6HZ91WImNslOSI0S8hRpj
|
|
26
|
+
yGOWxQIhBT3fqCBlRIqFQBudrnD9jSNpSGsFvbEijd5ns7Z9ZMehXkXDycpGAUj1
|
|
27
|
+
to/5cuTWWw1JqUWrKJYoifnVhtE1o1DZ+LkPtWxHtz5kjDG/zR3MG0Ula0UOavlD
|
|
28
|
+
qbnbcXPBnwXtTFeZ3C+yrWpE4pGnl3yGkZj9SMTlo9qnTMiPmuWKQDatAgMBAAGj
|
|
29
|
+
fzB9MAkGA1UdEwQCMAAwCwYDVR0PBAQDAgSwMB0GA1UdDgQWBBQE8uWvNbPVNRXZ
|
|
30
|
+
HlgPbc2PCzC4bjAhBgNVHREEGjAYgRZwZXRlci5ib2xpbmdAZ21haWwuY29tMCEG
|
|
31
|
+
A1UdEgQaMBiBFnBldGVyLmJvbGluZ0BnbWFpbC5jb20wDQYJKoZIhvcNAQELBQAD
|
|
32
|
+
ggGBAJbnUwfJQFPkBgH9cL7hoBfRtmWiCvdqdjeTmi04u8zVNCUox0A4gT982DE9
|
|
33
|
+
wmuN12LpdajxZONqbXuzZvc+nb0StFwmFYZG6iDwaf4BPywm2e/Vmq0YG45vZXGR
|
|
34
|
+
L8yMDSK1cQXjmA+ZBKOHKWavxP6Vp7lWvjAhz8RFwqF9GuNIdhv9NpnCAWcMZtpm
|
|
35
|
+
GUPyIWw/Cw/2wZp74QzZj6Npx+LdXoLTF1HMSJXZ7/pkxLCsB8m4EFVdb/IrW/0k
|
|
36
|
+
kNSfjtAfBHO8nLGuqQZVH9IBD1i9K6aSs7pT6TW8itXUIlkIUI2tg5YzW6OFfPzq
|
|
37
|
+
QekSkX3lZfY+HTSp/o+YvKkqWLUV7PQ7xh1ZYDtocpaHwgxe/j3bBqHE+CUPH2vA
|
|
38
|
+
0V/FwdTRWcwsjVoOJTrYcff8pBZ8r2MvtAc54xfnnhGFzeRHfcltobgFxkAXdE6p
|
|
39
|
+
DVjBtqT23eugOqQ73umLcYDZkc36vnqGxUBSsXrzY9pzV5gGr2I8YUxMqf6ATrZt
|
|
40
|
+
L9nRqA==
|
|
41
|
+
-----END CERTIFICATE-----
|
|
42
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
13
43
|
dependencies:
|
|
14
44
|
- !ruby/object:Gem::Dependency
|
|
15
|
-
name:
|
|
45
|
+
name: resque
|
|
16
46
|
requirement: !ruby/object:Gem::Requirement
|
|
17
47
|
requirements:
|
|
18
|
-
- - "
|
|
48
|
+
- - ">="
|
|
19
49
|
- !ruby/object:Gem::Version
|
|
20
|
-
version: '
|
|
50
|
+
version: '1.2'
|
|
21
51
|
type: :runtime
|
|
22
52
|
prerelease: false
|
|
23
53
|
version_requirements: !ruby/object:Gem::Requirement
|
|
24
54
|
requirements:
|
|
25
|
-
- - "
|
|
55
|
+
- - ">="
|
|
26
56
|
- !ruby/object:Gem::Version
|
|
27
|
-
version: '
|
|
57
|
+
version: '1.2'
|
|
28
58
|
- !ruby/object:Gem::Dependency
|
|
29
|
-
name:
|
|
59
|
+
name: kettle-dev
|
|
30
60
|
requirement: !ruby/object:Gem::Requirement
|
|
31
61
|
requirements:
|
|
62
|
+
- - "~>"
|
|
63
|
+
- !ruby/object:Gem::Version
|
|
64
|
+
version: '3.0'
|
|
32
65
|
- - ">="
|
|
33
66
|
- !ruby/object:Gem::Version
|
|
34
|
-
version:
|
|
35
|
-
type: :
|
|
67
|
+
version: 3.0.13
|
|
68
|
+
type: :development
|
|
36
69
|
prerelease: false
|
|
37
70
|
version_requirements: !ruby/object:Gem::Requirement
|
|
38
71
|
requirements:
|
|
72
|
+
- - "~>"
|
|
73
|
+
- !ruby/object:Gem::Version
|
|
74
|
+
version: '3.0'
|
|
39
75
|
- - ">="
|
|
40
76
|
- !ruby/object:Gem::Version
|
|
41
|
-
version:
|
|
77
|
+
version: 3.0.13
|
|
42
78
|
- !ruby/object:Gem::Dependency
|
|
43
|
-
name: bundler
|
|
79
|
+
name: bundler-audit
|
|
44
80
|
requirement: !ruby/object:Gem::Requirement
|
|
45
81
|
requirements:
|
|
46
82
|
- - "~>"
|
|
47
83
|
- !ruby/object:Gem::Version
|
|
48
|
-
version:
|
|
84
|
+
version: 0.9.3
|
|
49
85
|
type: :development
|
|
50
86
|
prerelease: false
|
|
51
87
|
version_requirements: !ruby/object:Gem::Requirement
|
|
52
88
|
requirements:
|
|
53
89
|
- - "~>"
|
|
54
90
|
- !ruby/object:Gem::Version
|
|
55
|
-
version:
|
|
91
|
+
version: 0.9.3
|
|
56
92
|
- !ruby/object:Gem::Dependency
|
|
57
|
-
name:
|
|
93
|
+
name: rake
|
|
58
94
|
requirement: !ruby/object:Gem::Requirement
|
|
59
95
|
requirements:
|
|
60
96
|
- - "~>"
|
|
61
97
|
- !ruby/object:Gem::Version
|
|
62
|
-
version: '
|
|
98
|
+
version: '13.0'
|
|
63
99
|
type: :development
|
|
64
100
|
prerelease: false
|
|
65
101
|
version_requirements: !ruby/object:Gem::Requirement
|
|
66
102
|
requirements:
|
|
67
103
|
- - "~>"
|
|
68
104
|
- !ruby/object:Gem::Version
|
|
69
|
-
version: '
|
|
105
|
+
version: '13.0'
|
|
70
106
|
- !ruby/object:Gem::Dependency
|
|
71
|
-
name:
|
|
107
|
+
name: require_bench
|
|
72
108
|
requirement: !ruby/object:Gem::Requirement
|
|
73
109
|
requirements:
|
|
74
110
|
- - "~>"
|
|
75
111
|
- !ruby/object:Gem::Version
|
|
76
|
-
version: '0
|
|
112
|
+
version: '1.0'
|
|
113
|
+
- - ">="
|
|
114
|
+
- !ruby/object:Gem::Version
|
|
115
|
+
version: 1.0.4
|
|
77
116
|
type: :development
|
|
78
117
|
prerelease: false
|
|
79
118
|
version_requirements: !ruby/object:Gem::Requirement
|
|
80
119
|
requirements:
|
|
81
120
|
- - "~>"
|
|
82
121
|
- !ruby/object:Gem::Version
|
|
83
|
-
version: '0
|
|
122
|
+
version: '1.0'
|
|
123
|
+
- - ">="
|
|
124
|
+
- !ruby/object:Gem::Version
|
|
125
|
+
version: 1.0.4
|
|
84
126
|
- !ruby/object:Gem::Dependency
|
|
85
|
-
name:
|
|
127
|
+
name: anonymous_loader
|
|
86
128
|
requirement: !ruby/object:Gem::Requirement
|
|
87
129
|
requirements:
|
|
88
130
|
- - "~>"
|
|
89
131
|
- !ruby/object:Gem::Version
|
|
90
|
-
version: '
|
|
132
|
+
version: '0.1'
|
|
133
|
+
- - ">="
|
|
134
|
+
- !ruby/object:Gem::Version
|
|
135
|
+
version: 0.1.3
|
|
91
136
|
type: :development
|
|
92
137
|
prerelease: false
|
|
93
138
|
version_requirements: !ruby/object:Gem::Requirement
|
|
94
139
|
requirements:
|
|
95
140
|
- - "~>"
|
|
96
141
|
- !ruby/object:Gem::Version
|
|
97
|
-
version: '
|
|
142
|
+
version: '0.1'
|
|
143
|
+
- - ">="
|
|
144
|
+
- !ruby/object:Gem::Version
|
|
145
|
+
version: 0.1.3
|
|
98
146
|
- !ruby/object:Gem::Dependency
|
|
99
|
-
name:
|
|
147
|
+
name: appraisal2
|
|
100
148
|
requirement: !ruby/object:Gem::Requirement
|
|
101
149
|
requirements:
|
|
102
150
|
- - "~>"
|
|
103
151
|
- !ruby/object:Gem::Version
|
|
104
|
-
version: '
|
|
152
|
+
version: '3.2'
|
|
153
|
+
- - ">="
|
|
154
|
+
- !ruby/object:Gem::Version
|
|
155
|
+
version: 3.2.2
|
|
105
156
|
type: :development
|
|
106
157
|
prerelease: false
|
|
107
158
|
version_requirements: !ruby/object:Gem::Requirement
|
|
108
159
|
requirements:
|
|
109
160
|
- - "~>"
|
|
110
161
|
- !ruby/object:Gem::Version
|
|
111
|
-
version: '
|
|
162
|
+
version: '3.2'
|
|
163
|
+
- - ">="
|
|
164
|
+
- !ruby/object:Gem::Version
|
|
165
|
+
version: 3.2.2
|
|
112
166
|
- !ruby/object:Gem::Dependency
|
|
113
|
-
name:
|
|
167
|
+
name: kettle-test
|
|
114
168
|
requirement: !ruby/object:Gem::Requirement
|
|
115
169
|
requirements:
|
|
116
170
|
- - "~>"
|
|
117
171
|
- !ruby/object:Gem::Version
|
|
118
|
-
version: '
|
|
172
|
+
version: '2.0'
|
|
173
|
+
- - ">="
|
|
174
|
+
- !ruby/object:Gem::Version
|
|
175
|
+
version: 2.0.20
|
|
119
176
|
type: :development
|
|
120
177
|
prerelease: false
|
|
121
178
|
version_requirements: !ruby/object:Gem::Requirement
|
|
122
179
|
requirements:
|
|
123
180
|
- - "~>"
|
|
124
181
|
- !ruby/object:Gem::Version
|
|
125
|
-
version: '
|
|
182
|
+
version: '2.0'
|
|
183
|
+
- - ">="
|
|
184
|
+
- !ruby/object:Gem::Version
|
|
185
|
+
version: 2.0.20
|
|
126
186
|
- !ruby/object:Gem::Dependency
|
|
127
|
-
name:
|
|
187
|
+
name: turbo_tests2
|
|
128
188
|
requirement: !ruby/object:Gem::Requirement
|
|
129
189
|
requirements:
|
|
130
190
|
- - "~>"
|
|
131
191
|
- !ruby/object:Gem::Version
|
|
132
|
-
version: '
|
|
192
|
+
version: '3.2'
|
|
193
|
+
- - ">="
|
|
194
|
+
- !ruby/object:Gem::Version
|
|
195
|
+
version: 3.2.6
|
|
196
|
+
type: :development
|
|
197
|
+
prerelease: false
|
|
198
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
199
|
+
requirements:
|
|
200
|
+
- - "~>"
|
|
201
|
+
- !ruby/object:Gem::Version
|
|
202
|
+
version: '3.2'
|
|
203
|
+
- - ">="
|
|
204
|
+
- !ruby/object:Gem::Version
|
|
205
|
+
version: 3.2.6
|
|
206
|
+
- !ruby/object:Gem::Dependency
|
|
207
|
+
name: ruby-progressbar
|
|
208
|
+
requirement: !ruby/object:Gem::Requirement
|
|
209
|
+
requirements:
|
|
210
|
+
- - "~>"
|
|
211
|
+
- !ruby/object:Gem::Version
|
|
212
|
+
version: '1.13'
|
|
213
|
+
type: :development
|
|
214
|
+
prerelease: false
|
|
215
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
216
|
+
requirements:
|
|
217
|
+
- - "~>"
|
|
218
|
+
- !ruby/object:Gem::Version
|
|
219
|
+
version: '1.13'
|
|
220
|
+
- !ruby/object:Gem::Dependency
|
|
221
|
+
name: stone_checksums
|
|
222
|
+
requirement: !ruby/object:Gem::Requirement
|
|
223
|
+
requirements:
|
|
224
|
+
- - "~>"
|
|
225
|
+
- !ruby/object:Gem::Version
|
|
226
|
+
version: '1.0'
|
|
227
|
+
- - ">="
|
|
228
|
+
- !ruby/object:Gem::Version
|
|
229
|
+
version: 1.0.8
|
|
133
230
|
type: :development
|
|
134
231
|
prerelease: false
|
|
135
232
|
version_requirements: !ruby/object:Gem::Requirement
|
|
136
233
|
requirements:
|
|
137
234
|
- - "~>"
|
|
138
235
|
- !ruby/object:Gem::Version
|
|
139
|
-
version: '
|
|
236
|
+
version: '1.0'
|
|
237
|
+
- - ">="
|
|
238
|
+
- !ruby/object:Gem::Version
|
|
239
|
+
version: 1.0.8
|
|
140
240
|
- !ruby/object:Gem::Dependency
|
|
141
|
-
name:
|
|
241
|
+
name: gitmoji-regex
|
|
142
242
|
requirement: !ruby/object:Gem::Requirement
|
|
143
243
|
requirements:
|
|
144
244
|
- - "~>"
|
|
145
245
|
- !ruby/object:Gem::Version
|
|
146
|
-
version: '0
|
|
246
|
+
version: '2.0'
|
|
247
|
+
- - ">="
|
|
248
|
+
- !ruby/object:Gem::Version
|
|
249
|
+
version: 2.0.12
|
|
147
250
|
type: :development
|
|
148
251
|
prerelease: false
|
|
149
252
|
version_requirements: !ruby/object:Gem::Requirement
|
|
150
253
|
requirements:
|
|
151
254
|
- - "~>"
|
|
152
255
|
- !ruby/object:Gem::Version
|
|
153
|
-
version: '0
|
|
154
|
-
|
|
256
|
+
version: '2.0'
|
|
257
|
+
- - ">="
|
|
258
|
+
- !ruby/object:Gem::Version
|
|
259
|
+
version: 2.0.12
|
|
260
|
+
description: "\U0001F48E A resque plugin that ensures job uniqueness at enqueue time."
|
|
155
261
|
email:
|
|
156
|
-
-
|
|
262
|
+
- floss@galtzo.com
|
|
157
263
|
executables: []
|
|
158
264
|
extensions: []
|
|
159
265
|
extra_rdoc_files: []
|
|
160
266
|
files:
|
|
161
|
-
-
|
|
162
|
-
-
|
|
163
|
-
- ".rubocop_todo.yml"
|
|
164
|
-
- ".ruby-version"
|
|
165
|
-
- ".travis.yml"
|
|
166
|
-
- Gemfile
|
|
167
|
-
- LICENSE
|
|
267
|
+
- CHANGELOG.md
|
|
268
|
+
- LICENSE.md
|
|
168
269
|
- README.md
|
|
169
|
-
- Rakefile
|
|
170
270
|
- lib/resque-unique_in_queue.rb
|
|
171
271
|
- lib/resque/plugins/unique_in_queue.rb
|
|
272
|
+
- lib/resque/unique_in_queue.rb
|
|
172
273
|
- lib/resque/unique_in_queue/configuration.rb
|
|
173
274
|
- lib/resque/unique_in_queue/queue.rb
|
|
174
275
|
- lib/resque/unique_in_queue/resque_ext/job.rb
|
|
175
276
|
- lib/resque/unique_in_queue/resque_ext/resque.rb
|
|
176
277
|
- lib/resque/unique_in_queue/version.rb
|
|
177
|
-
- resque
|
|
178
|
-
homepage: https://github.com/
|
|
278
|
+
- sig/resque/unique_in_queue.rbs
|
|
279
|
+
homepage: https://github.com/resque/resque-unique_in_queue
|
|
179
280
|
licenses:
|
|
180
281
|
- MIT
|
|
181
|
-
metadata:
|
|
182
|
-
|
|
183
|
-
|
|
282
|
+
metadata:
|
|
283
|
+
homepage_uri: https://resque-unique-in-queue.galtzo.com
|
|
284
|
+
source_code_uri: https://github.com/resque/resque-unique_in_queue/tree/v2.0.2
|
|
285
|
+
changelog_uri: https://github.com/resque/resque-unique_in_queue/blob/v2.0.2/CHANGELOG.md
|
|
286
|
+
bug_tracker_uri: https://github.com/resque/resque-unique_in_queue/issues
|
|
287
|
+
documentation_uri: https://www.rubydoc.info/gems/resque-unique_in_queue/2.0.2
|
|
288
|
+
funding_uri: https://github.com/sponsors/pboling
|
|
289
|
+
wiki_uri: https://github.com/resque/resque-unique_in_queue/wiki
|
|
290
|
+
news_uri: https://www.railsbling.com/tags/resque-unique_in_queue
|
|
291
|
+
discord_uri: https://discord.gg/3qme4XHNKN
|
|
292
|
+
mailing_list_uri: https://www.rubyforum.org/tag/resque
|
|
293
|
+
rubygems_mfa_required: 'true'
|
|
294
|
+
rdoc_options:
|
|
295
|
+
- "--title"
|
|
296
|
+
- "resque-unique_in_queue - \U0001F48E A resque plugin that ensures job uniqueness
|
|
297
|
+
at enqueue time."
|
|
298
|
+
- "--main"
|
|
299
|
+
- README.md
|
|
300
|
+
- "--exclude"
|
|
301
|
+
- "^sig/"
|
|
302
|
+
- "--line-numbers"
|
|
303
|
+
- "--inline-source"
|
|
304
|
+
- "--quiet"
|
|
184
305
|
require_paths:
|
|
185
306
|
- lib
|
|
186
307
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
@@ -194,9 +315,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
194
315
|
- !ruby/object:Gem::Version
|
|
195
316
|
version: '0'
|
|
196
317
|
requirements: []
|
|
197
|
-
|
|
198
|
-
rubygems_version: 2.7.7
|
|
199
|
-
signing_key:
|
|
318
|
+
rubygems_version: 4.0.17
|
|
200
319
|
specification_version: 4
|
|
201
|
-
summary: A resque plugin that ensures job uniqueness at enqueue time.
|
|
320
|
+
summary: "\U0001F48E A resque plugin that ensures job uniqueness at enqueue time."
|
|
202
321
|
test_files: []
|
metadata.gz.sig
ADDED
|
Binary file
|
data/.gitignore
DELETED
data/.rubocop.yml
DELETED
data/.rubocop_todo.yml
DELETED
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
# This configuration was generated by
|
|
2
|
-
# `rubocop --auto-gen-config`
|
|
3
|
-
# on 2018-11-07 04:05:15 -0800 using RuboCop version 0.60.0.
|
|
4
|
-
# The point is for the user to remove these configuration records
|
|
5
|
-
# one by one as the offenses are removed from the code base.
|
|
6
|
-
# Note that changes in the inspected code, or installation of new
|
|
7
|
-
# versions of RuboCop, may require this file to be generated again.
|
|
8
|
-
|
|
9
|
-
# Offense count: 1
|
|
10
|
-
# Configuration parameters: Include.
|
|
11
|
-
# Include: **/*.gemspec
|
|
12
|
-
Gemspec/DuplicatedAssignment:
|
|
13
|
-
Exclude:
|
|
14
|
-
- 'resque-unique_in_queue.gemspec'
|
|
15
|
-
|
|
16
|
-
# Offense count: 1
|
|
17
|
-
# Configuration parameters: Include.
|
|
18
|
-
# Include: **/*.gemspec
|
|
19
|
-
Gemspec/RequiredRubyVersion:
|
|
20
|
-
Exclude:
|
|
21
|
-
- 'resque-unique_in_queue.gemspec'
|
|
22
|
-
|
|
23
|
-
# Offense count: 1
|
|
24
|
-
# Cop supports --auto-correct.
|
|
25
|
-
# Configuration parameters: EnforcedStyleAlignWith, AutoCorrect, Severity.
|
|
26
|
-
# SupportedStylesAlignWith: start_of_line, def
|
|
27
|
-
Layout/DefEndAlignment:
|
|
28
|
-
Exclude:
|
|
29
|
-
- 'lib/resque/unique_in_queue/queue.rb'
|
|
30
|
-
|
|
31
|
-
# Offense count: 1
|
|
32
|
-
Lint/HandleExceptions:
|
|
33
|
-
Exclude:
|
|
34
|
-
- 'test/test_helper.rb'
|
|
35
|
-
|
|
36
|
-
# Offense count: 2
|
|
37
|
-
# Configuration parameters: CountComments, ExcludedMethods.
|
|
38
|
-
Metrics/MethodLength:
|
|
39
|
-
Max: 11
|
|
40
|
-
|
|
41
|
-
# Offense count: 1
|
|
42
|
-
# Configuration parameters: ExpectMatchingDefinition, Regex, IgnoreExecutableScripts, AllowedAcronyms.
|
|
43
|
-
# AllowedAcronyms: CLI, DSL, ACL, API, ASCII, CPU, CSS, DNS, EOF, GUID, HTML, HTTP, HTTPS, ID, IP, JSON, LHS, QPS, RAM, RHS, RPC, SLA, SMTP, SQL, SSH, TCP, TLS, TTL, UDP, UI, UID, UUID, URI, URL, UTF8, VM, XML, XMPP, XSRF, XSS
|
|
44
|
-
Naming/FileName:
|
|
45
|
-
Exclude:
|
|
46
|
-
- 'lib/resque-unique_in_queue.rb'
|
|
47
|
-
|
|
48
|
-
# Offense count: 1
|
|
49
|
-
# Configuration parameters: NamePrefix, NamePrefixBlacklist, NameWhitelist, MethodDefinitionMacros.
|
|
50
|
-
# NamePrefix: is_, has_, have_
|
|
51
|
-
# NamePrefixBlacklist: is_, has_, have_
|
|
52
|
-
# NameWhitelist: is_a?
|
|
53
|
-
# MethodDefinitionMacros: define_method, define_singleton_method
|
|
54
|
-
Naming/PredicateName:
|
|
55
|
-
Exclude:
|
|
56
|
-
- 'spec/**/*'
|
|
57
|
-
- 'lib/resque/unique_in_queue/queue.rb'
|
|
58
|
-
|
|
59
|
-
# Offense count: 4
|
|
60
|
-
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
|
|
61
|
-
# AllowedNames: io, id, to, by, on, in, at, ip, db
|
|
62
|
-
Naming/UncommunicativeMethodParamName:
|
|
63
|
-
Exclude:
|
|
64
|
-
- 'test/fake_jobs.rb'
|
|
65
|
-
|
|
66
|
-
# Offense count: 6
|
|
67
|
-
Style/Documentation:
|
|
68
|
-
Exclude:
|
|
69
|
-
- 'spec/**/*'
|
|
70
|
-
- 'test/**/*'
|
|
71
|
-
- 'lib/resque-unique_in_queue.rb'
|
|
72
|
-
- 'lib/resque/plugins/unique_in_queue.rb'
|
|
73
|
-
- 'lib/resque/unique_in_queue/configuration.rb'
|
|
74
|
-
- 'lib/resque/unique_in_queue/queue.rb'
|
|
75
|
-
- 'lib/resque/unique_in_queue/resque_ext/job.rb'
|
|
76
|
-
- 'lib/resque/unique_in_queue/resque_ext/resque.rb'
|
|
77
|
-
|
|
78
|
-
# Offense count: 1
|
|
79
|
-
# Cop supports --auto-correct.
|
|
80
|
-
# Configuration parameters: AutoCorrect, EnforcedStyle, IgnoredMethods.
|
|
81
|
-
# SupportedStyles: predicate, comparison
|
|
82
|
-
Style/NumericPredicate:
|
|
83
|
-
Exclude:
|
|
84
|
-
- 'spec/**/*'
|
|
85
|
-
- 'lib/resque/unique_in_queue/queue.rb'
|
|
86
|
-
|
|
87
|
-
# Offense count: 26
|
|
88
|
-
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
|
|
89
|
-
# URISchemes: http, https
|
|
90
|
-
Metrics/LineLength:
|
|
91
|
-
Max: 116
|
data/.ruby-version
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
ruby-2.5.1
|
data/.travis.yml
DELETED
data/Gemfile
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
source 'https://rubygems.org'
|
|
4
|
-
|
|
5
|
-
git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
|
|
6
|
-
|
|
7
|
-
group :test do
|
|
8
|
-
unless ENV['TRAVIS']
|
|
9
|
-
gem 'byebug', '~> 10', platform: :mri, require: false
|
|
10
|
-
gem 'pry', '~> 0', platform: :mri, require: false
|
|
11
|
-
gem 'pry-byebug', '~> 3', platform: :mri, require: false
|
|
12
|
-
end
|
|
13
|
-
gem 'rubocop', '~> 0.60.0'
|
|
14
|
-
gem 'simplecov', '~> 0', require: false
|
|
15
|
-
end
|
|
16
|
-
|
|
17
|
-
# Specify your gem's dependencies in resque-unique_in_queue.gemspec
|
|
18
|
-
gemspec
|
data/LICENSE
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
Copyright (c) 2010 Moviepilot GmbH http://moviepilot.com
|
|
2
|
-
Copyright (c) 2013 Neighborland, Inc.
|
|
3
|
-
Copyright (c) 2017 - 2018 Peter H. Boling
|
|
4
|
-
|
|
5
|
-
MIT License
|
|
6
|
-
|
|
7
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
|
8
|
-
a copy of this software and associated documentation files (the
|
|
9
|
-
"Software"), to deal in the Software without restriction, including
|
|
10
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
|
11
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
|
12
|
-
permit persons to whom the Software is furnished to do so, subject to
|
|
13
|
-
the following conditions:
|
|
14
|
-
|
|
15
|
-
The above copyright notice and this permission notice shall be
|
|
16
|
-
included in all copies or substantial portions of the Software.
|
|
17
|
-
|
|
18
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
19
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
20
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
21
|
-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
22
|
-
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
23
|
-
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
24
|
-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/Rakefile
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env rake
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
require 'bundler/gem_tasks'
|
|
5
|
-
require 'rake/testtask'
|
|
6
|
-
|
|
7
|
-
desc 'Run tests'
|
|
8
|
-
Rake::TestTask.new(:test) do |t|
|
|
9
|
-
t.libs << 'test'
|
|
10
|
-
t.pattern = 'test/**/*_test.rb'
|
|
11
|
-
t.verbose = false
|
|
12
|
-
end
|
|
13
|
-
|
|
14
|
-
task default: :test
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
require File.expand_path('lib/resque/unique_in_queue/version', __dir__)
|
|
4
|
-
|
|
5
|
-
Gem::Specification.new do |spec|
|
|
6
|
-
spec.name = 'resque-unique_in_queue'
|
|
7
|
-
spec.version = Resque::UniqueInQueue::VERSION
|
|
8
|
-
spec.authors = ['Peter H. Boling', 'Tee Parham']
|
|
9
|
-
spec.email = %w[peter.boling@gmail.com]
|
|
10
|
-
spec.license = 'MIT'
|
|
11
|
-
|
|
12
|
-
spec.summary = 'A resque plugin that ensures job uniqueness at enqueue time.'
|
|
13
|
-
spec.summary = 'A resque plugin that ensures job uniqueness at enqueue time.'
|
|
14
|
-
spec.homepage = 'https://github.com/pboling/resque-unique_in_queue'
|
|
15
|
-
spec.required_ruby_version = '>= 2.3.0'
|
|
16
|
-
|
|
17
|
-
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
|
18
|
-
f.match(%r{^(test|spec|features)/})
|
|
19
|
-
end
|
|
20
|
-
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
21
|
-
spec.require_paths = ['lib']
|
|
22
|
-
|
|
23
|
-
spec.add_runtime_dependency 'colorize', '~> 0.8'
|
|
24
|
-
spec.add_runtime_dependency 'resque', '>= 1.2'
|
|
25
|
-
|
|
26
|
-
spec.add_development_dependency 'bundler', '~> 1.16'
|
|
27
|
-
spec.add_development_dependency 'byebug', '~> 10.0'
|
|
28
|
-
spec.add_development_dependency 'fakeredis', '~> 0.7'
|
|
29
|
-
spec.add_development_dependency 'minitest', '~> 5.11'
|
|
30
|
-
spec.add_development_dependency 'pry', '~> 0.11'
|
|
31
|
-
spec.add_development_dependency 'pry-byebug', '~> 3.6'
|
|
32
|
-
spec.add_development_dependency 'rake', '~> 12.3'
|
|
33
|
-
spec.add_development_dependency 'rubocop', '~> 0.60'
|
|
34
|
-
end
|