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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6e71f18ed659d830765786daba4513f7cedfef9fb645055cd01e95af8be066b3
4
- data.tar.gz: c3b0624ab16f81e2aa7e4296a56a4967e88e75659eca20078ad662c0cc7d37ec
3
+ metadata.gz: 56e1fb1ba1756335d42efb26a1469fecab4eb40817fb1783c5bd010db6aa799f
4
+ data.tar.gz: 003ee0881213a406571b19d293b145a48eee377f6aef1282f701d76429816e9e
5
5
  SHA512:
6
- metadata.gz: b94b8a054612a71dc72078a0b62abf5db8a9bb305515ac75e2baeb39ab12d188eea4c168f3e774b3beebb608c821e808e2c24164a68fbdaebf894c7a566ec69e
7
- data.tar.gz: f46b3769bc15ac507442548b1b9e810d0e70ae68a4a89eb29732c1c1b325d307eed593ab7ee49a78d6296bf69440ceb221ddb1e25e4b3237e5a723595c2903ed
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 < ActiveSupport::ProxyObject
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::VERSION::MAJOR >= 6),
52
+ (" exception_executions: {}\n" if ActiveJob.gem_version >= Gem::Version.new('6.0')),
53
53
  " locale: en\n",
54
- (/ timezone: ?\n/ if ActiveJob::VERSION::MAJOR >= 6),
55
- (/ enqueued_at: '2023-01-20T18:52:29(\.\d+)?Z'\n/ if ActiveJob::VERSION::MAJOR >= 6),
56
- (/ scheduled_at: ?\n/ if ActiveJob::VERSION::MAJOR >= 7 && ActiveJob::VERSION::MINOR >= 1),
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.6.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: 2024-12-18 00:00:00.000000000 Z
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.3.26
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