DEV: Upgrade oj gem (#11516)
This commit is contained in:
parent
c54217f33d
commit
8c9675c913
|
@ -213,7 +213,7 @@ GEM
|
|||
multi_json (~> 1.3)
|
||||
multi_xml (~> 0.5)
|
||||
rack (>= 1.2, < 3)
|
||||
oj (3.10.16)
|
||||
oj (3.10.17)
|
||||
omniauth (1.9.1)
|
||||
hashie (>= 3.4.6)
|
||||
rack (>= 1.6.2, < 3)
|
||||
|
|
|
@ -77,8 +77,8 @@ module SidekiqHelpers
|
|||
matched_job ||= args.all? do |key, value|
|
||||
value = value.to_s if value.is_a?(Symbol)
|
||||
|
||||
if key == :at && !job_args.has_key?(:at)
|
||||
value == job_args[:enqueued_at]
|
||||
if key == :at
|
||||
value.to_f == (job_args[:at] || job_args[:enqueued_at]).to_f
|
||||
else
|
||||
value == job_args[key]
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue