delayed 0.6.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/delayed/message_sending.rb +4 -3
- data/spec/delayed/active_job_adapter_spec.rb +4 -4
- metadata +3 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 56e1fb1ba1756335d42efb26a1469fecab4eb40817fb1783c5bd010db6aa799f
|
4
|
+
data.tar.gz: 003ee0881213a406571b19d293b145a48eee377f6aef1282f701d76429816e9e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a2cccc74e3a2ecbb2459008fe9d399ebf2572dba782cd660bdd69bf4aafbab421a545952206fe1767edd03b9b38655f1e4a4209d9dd30060631499d3d949fba0
|
7
|
+
data.tar.gz: f92d61ae2788cc3fa6e5a1d84150571516caf7d8e520057efc90f80de24bf1d402a5e01243c18eae903d46e48849ab044809e466fc687a02ab4f07c179118ec1
|
@@ -1,7 +1,8 @@
|
|
1
|
-
require 'active_support/proxy_object'
|
2
|
-
|
3
1
|
module Delayed
|
4
|
-
class DelayProxy <
|
2
|
+
class DelayProxy < BasicObject
|
3
|
+
undef_method :==
|
4
|
+
undef_method :equal?
|
5
|
+
|
5
6
|
def initialize(payload_class, target, options)
|
6
7
|
@payload_class = payload_class
|
7
8
|
@target = target
|
@@ -49,11 +49,11 @@ RSpec.describe Delayed::ActiveJobAdapter do
|
|
49
49
|
/ priority: ?\n/,
|
50
50
|
" arguments: []\n",
|
51
51
|
" executions: 0\n",
|
52
|
-
(" exception_executions: {}\n" if ActiveJob
|
52
|
+
(" exception_executions: {}\n" if ActiveJob.gem_version >= Gem::Version.new('6.0')),
|
53
53
|
" locale: en\n",
|
54
|
-
(/ timezone: ?\n/ if ActiveJob
|
55
|
-
(/ enqueued_at: '2023-01-20T18:52:29(\.\d+)?Z'\n/ if ActiveJob
|
56
|
-
(/ scheduled_at: ?\n/ if ActiveJob
|
54
|
+
(/ timezone: ?\n/ if ActiveJob.gem_version >= Gem::Version.new('6.0')),
|
55
|
+
(/ enqueued_at: '2023-01-20T18:52:29(\.\d+)?Z'\n/ if ActiveJob.gem_version >= Gem::Version.new('6.0')),
|
56
|
+
(/ scheduled_at: ?\n/ if ActiveJob.gem_version >= Gem::Version.new('7.1')),
|
57
57
|
].compact
|
58
58
|
end
|
59
59
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: delayed
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nathan Griffith
|
@@ -16,10 +16,9 @@ authors:
|
|
16
16
|
- Matt Griffin
|
17
17
|
- Steve Richert
|
18
18
|
- Tobias Lütke
|
19
|
-
autorequire:
|
20
19
|
bindir: bin
|
21
20
|
cert_chain: []
|
22
|
-
date:
|
21
|
+
date: 2025-01-15 00:00:00.000000000 Z
|
23
22
|
dependencies:
|
24
23
|
- !ruby/object:Gem::Dependency
|
25
24
|
name: activerecord
|
@@ -124,7 +123,6 @@ metadata:
|
|
124
123
|
bug_tracker_uri: https://github.com/betterment/delayed/issues
|
125
124
|
source_code_uri: https://github.com/betterment/delayed
|
126
125
|
rubygems_mfa_required: 'true'
|
127
|
-
post_install_message:
|
128
126
|
rdoc_options: []
|
129
127
|
require_paths:
|
130
128
|
- lib
|
@@ -139,8 +137,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
139
137
|
- !ruby/object:Gem::Version
|
140
138
|
version: '0'
|
141
139
|
requirements: []
|
142
|
-
rubygems_version: 3.
|
143
|
-
signing_key:
|
140
|
+
rubygems_version: 3.6.2
|
144
141
|
specification_version: 4
|
145
142
|
summary: a multi-threaded, SQL-driven ActiveJob backend used at Betterment to process
|
146
143
|
millions of background jobs per day
|