sidekiq-scheduler 5.0.0.beta2 → 5.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/sidekiq-scheduler/scheduler.rb +3 -3
- data/lib/sidekiq-scheduler/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dbc0959de6089dd904f4926977972ed661fd16291ac2182ac841266b9672d05b
|
4
|
+
data.tar.gz: 46f8bec57950a5f60af7d325b6b9a6975a79fe4cbab7b8c40a26ea620c39e688
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ce26367bbd65a8600beb96de05dca16b80b3fabf4a0befe5c905ba76f02aa45c7acb291fc4636970c0e0deb43d56b4dade39118519ee72538c58c66eaa3dc077
|
7
|
+
data.tar.gz: bd9d13424d3eb2c9e06cf0482376aa3463af2560ba387908072cb99acb27b810ba80f7d74076829ec20cd3ea19eab1a882a3eac2904c41eb98c6eedfc9cd2635
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,12 @@
|
|
1
|
+
# 5.0.0
|
2
|
+
|
3
|
+
- [**FIX**] Ensure generated scheduled time has a precision of 3 miliseconds. [#418](https://github.com/sidekiq-scheduler/sidekiq-scheduler/pull/418)
|
4
|
+
|
5
|
+
*Note 1:* Check [# 5.0.0.beta1](#500beta1) & [# 5.0.0.beta2](#500beta2) releases for breaking changes.
|
6
|
+
|
7
|
+
*Note 2:* Sidekiq Embedding is yet not supported, see [#419](https://github.com/sidekiq-scheduler/sidekiq-scheduler/issues/419) for more details.
|
8
|
+
|
9
|
+
|
1
10
|
# 5.0.0.beta2
|
2
11
|
|
3
12
|
- [**FIX**] Drop explicit redis dependency [#416](https://github.com/sidekiq-scheduler/sidekiq-scheduler/pull/416)
|
@@ -17,7 +17,7 @@ module SidekiqScheduler
|
|
17
17
|
# saying we will have to do it somehow still)
|
18
18
|
#
|
19
19
|
# NOTE: ^ Keeping this TODO here for now, in a future version of this project
|
20
|
-
# we will remove those attr acessors and use only our config object. For now,
|
20
|
+
# we will remove those attr acessors and use only our config object. For now,
|
21
21
|
# let's keep as it is.
|
22
22
|
|
23
23
|
# Set to enable or disable the scheduler.
|
@@ -170,7 +170,7 @@ module SidekiqScheduler
|
|
170
170
|
config = prepare_arguments(job_config.dup)
|
171
171
|
|
172
172
|
if config.delete('include_metadata')
|
173
|
-
config['args'] = arguments_with_metadata(config['args'], "scheduled_at" => time.to_f)
|
173
|
+
config['args'] = arguments_with_metadata(config['args'], "scheduled_at" => time.to_f.round(3))
|
174
174
|
end
|
175
175
|
|
176
176
|
if SidekiqScheduler::Utils.active_job_enqueue?(config['class'])
|
@@ -291,7 +291,7 @@ module SidekiqScheduler
|
|
291
291
|
# since epoch.
|
292
292
|
#
|
293
293
|
# @example with hash argument
|
294
|
-
# arguments_with_metadata({value: 1}, scheduled_at: Time.now)
|
294
|
+
# arguments_with_metadata({value: 1}, scheduled_at: Time.now.round(3))
|
295
295
|
# #=> [{value: 1}, {scheduled_at: <miliseconds since epoch>}]
|
296
296
|
#
|
297
297
|
# @param args [Array|Hash]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sidekiq-scheduler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.0.0
|
4
|
+
version: 5.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Morton Jonuschat
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2023-01-
|
13
|
+
date: 2023-01-23 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: sidekiq
|
@@ -244,9 +244,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
244
244
|
version: '2.7'
|
245
245
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
246
246
|
requirements:
|
247
|
-
- - "
|
247
|
+
- - ">="
|
248
248
|
- !ruby/object:Gem::Version
|
249
|
-
version:
|
249
|
+
version: '0'
|
250
250
|
requirements: []
|
251
251
|
rubygems_version: 3.2.33
|
252
252
|
signing_key:
|