shoryuken-later 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/shoryuken/later/active_job_adapter.rb +1 -1
- data/lib/shoryuken/later/version.rb +1 -1
- data/shoryuken-later.gemspec +0 -0
- data/spec/spec_helper.rb +0 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MzBhOTRiYmE3MTc2MWU5NzE4OTg3YjUzNjg4N2I2OGJjYWE1ZWEyNQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MDUxYzI1OWIyYjBmYTZhYmVmZDNhYzEwZTFhYzhkMjI1YmJlZmVlMw==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZjBiOTEwMGEwMGIxMmI2NDRkOTAyNmIzODU4MzNlNDAzMzZmZDRhNWE5ODM0
|
10
|
+
MDkzZWYxMzY4MDcwMzEwZDdlNmI5ODY1ZjU5NmJmYTc4NTljMTgwMDRjZGY1
|
11
|
+
NWM3NTljMTExNzA1MmY3NjdlMDE2OGJlYzFjMzg1YmYxYTc4OWU=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
YmU4ZDFlMjJjYWY4ZThiNzdiNjJlMGFlNzY3Y2EwMGNmY2NlNTc4YTIyYjUy
|
14
|
+
ZmY5ZTIxYWU0NDViYjI2NzhlMDNhOGEwYzMyZDVjM2ZhNTk1NzE4ZGJjZDkx
|
15
|
+
MGQ3ZjA2YTYzZGUwY2I3ZGFhOWM4N2QzODg4YzAyMzlkZmJjZWI=
|
@@ -33,7 +33,7 @@ module ActiveJob
|
|
33
33
|
|
34
34
|
delay = (timestamp - Time.current.to_f).round
|
35
35
|
if delay > 15.minutes
|
36
|
-
Shoryuken::Later::Client.put_item(Shoryuken::Later.default_table, perform_at: delay.to_i,
|
36
|
+
Shoryuken::Later::Client.put_item(Shoryuken::Later.default_table, perform_at: Time.current.to_i + delay.to_i,
|
37
37
|
shoryuken_queue: job.queue_name, shoryuken_class: JobWrapper.to_s,
|
38
38
|
shoryuken_args: JSON.dump(body: job.serialize, options: {}))
|
39
39
|
else
|
data/shoryuken-later.gemspec
CHANGED
File without changes
|
data/spec/spec_helper.rb
CHANGED
File without changes
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: shoryuken-later
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joe Khoobyar
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-03-
|
11
|
+
date: 2015-03-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|