sidetiq 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/sidetiq/clock.rb +8 -4
- data/lib/sidetiq/version.rb +1 -1
- metadata +2 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a2cb05faf92ad3d0a84aae9979f0779ae4a866b2
|
4
|
+
data.tar.gz: 05a520e51d1638fd7cac1c583743f889fe90433e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2a0103918991773d0cebaec5668a1ff594e8ebf712520fa7c3d4eba95adddd0f004af6e11475bb7898dc12015257dba7f0edcacb125f61f22dd0cd5b7b76de35
|
7
|
+
data.tar.gz: 3157136ca0f6dda1a7196d46ef98b423dc218909f4671387a4f20c9a13c81d0b637c9c33a96d08ec6919e41ab750f35ac6cee25fa02fc34c5a6f227795b4daa4
|
data/CHANGELOG.md
CHANGED
data/lib/sidetiq/clock.rb
CHANGED
@@ -139,10 +139,14 @@ module Sidetiq
|
|
139
139
|
|
140
140
|
redis.mset("#{key}:last", next_run, "#{key}:next", time_f)
|
141
141
|
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
142
|
+
case worker.instance_method(:perform).arity
|
143
|
+
when 0
|
144
|
+
worker.perform_at(time)
|
145
|
+
when 1
|
146
|
+
worker.perform_at(time, next_run)
|
147
|
+
else
|
148
|
+
worker.perform_at(time, next_run, time_f)
|
149
|
+
end
|
146
150
|
end
|
147
151
|
end
|
148
152
|
|
data/lib/sidetiq/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sidetiq
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tobias Svensson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-07-
|
11
|
+
date: 2013-07-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sidekiq
|
@@ -119,4 +119,3 @@ test_files:
|
|
119
119
|
- test/test_version.rb
|
120
120
|
- test/test_web.rb
|
121
121
|
- test/test_worker.rb
|
122
|
-
has_rdoc:
|