shoryuken-later 0.0.5 → 0.0.5.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,15 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 452bf02360d9ab6eb4a73581d937476a0b49c2d1
4
- data.tar.gz: 69348f8206e4c630cbc21b62a0dd9aac83051609
5
- SHA512:
6
- metadata.gz: b9392aa905bf2ea5be0211bf485cf157e34d4f8da7fef8a96ec3590d12fdd9b07ebf1ffd9a597871994c227aacd2e1eba9d91dc755f3976cd966bbf3f7f9814c
7
- data.tar.gz: f0d5b96a457574ca36a352809f949255fa794ebecf73486e3789e86342e0e357aa6d859c6e56a2ea5416f0f314e097eeef959ca7e44bfd23850d43939ad90b8f
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ YWVkNjJiZGRhODQ5MzgzYjg1MzBlZjYyNjJiMDQ0MGNkZmMzOWM2NA==
5
+ data.tar.gz: !binary |-
6
+ NTAzYjFmN2UzNzg1MDMyNmZiNzY0OWI5NjdmNDRhMWQyY2M5MGQ1MA==
7
+ !binary "U0hBNTEy":
8
+ metadata.gz: !binary |-
9
+ MjFmNDMzMjE1NjIxYTAwMWNiOGUxYWIwOWRhNDQ3YjQ1YTYyM2M5ZjI5ODI5
10
+ Yzk2YTM4YTk3Y2JhZGUwNWE2NjExODY0YTBiOTI3NjE0YTIxYTUzNDNjNWU3
11
+ NjQ5ZTJmNTEyMTRiNzE1YmIxY2I5ZjJhODMzYmVlYTMwOWI0YTU=
12
+ data.tar.gz: !binary |-
13
+ YWZjYzAzYzQzY2YyMmI4MTBiZTc5YzczYmRlMmIzMWFlODExMjNiNzhmZmIz
14
+ NjIwMGQ4OGEzMDBiMjQyZDk4NzYwNDhhNTQ4NmFhMThjOGU3ZDE2NmZkMDVm
15
+ ODM5YjFlZDhjOWUyZjE5OWE4YTFhMzE1OWI3MzAwN2U0Y2M5MDE=
@@ -6,6 +6,7 @@
6
6
  # Example adapters ref: https://github.com/rails/rails/tree/master/activejob/lib/active_job/queue_adapters
7
7
 
8
8
  require 'shoryuken-later'
9
+ require 'shoryuken/extensions/active_job_adapter'
9
10
 
10
11
  module ActiveJob
11
12
  module QueueAdapters
@@ -29,7 +30,7 @@ module ActiveJob
29
30
 
30
31
  delay = (timestamp - Time.current.to_f).round
31
32
  if delay > 15.minutes
32
- Shoryuken::Later::Client.put_item(Shoryuken::Later.default_table, perform_at: delay.to_i,
33
+ Shoryuken::Later::Client.put_item(Shoryuken::Later.default_table, perform_at: Time.current.to_i + delay.to_i,
33
34
  shoryuken_queue: job.queue_name, shoryuken_class: JobWrapper.to_s,
34
35
  shoryuken_args: JSON.dump(body: job.serialize, options: {}))
35
36
  else
@@ -1,5 +1,5 @@
1
1
  module Shoryuken
2
2
  module Later
3
- VERSION = '0.0.5'
3
+ VERSION = '0.0.5.1'
4
4
  end
5
5
  end
File without changes
data/spec/spec_helper.rb CHANGED
File without changes
metadata CHANGED
@@ -1,27 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shoryuken-later
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.5.1
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-06 00:00:00.000000000 Z
11
+ date: 2015-03-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ! '>='
18
18
  - !ruby/object:Gem::Version
19
19
  version: 1.3.5
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - ! '>='
25
25
  - !ruby/object:Gem::Version
26
26
  version: 1.3.5
27
27
  - !ruby/object:Gem::Dependency
@@ -62,14 +62,14 @@ dependencies:
62
62
  name: aws-sdk-v1
63
63
  requirement: !ruby/object:Gem::Requirement
64
64
  requirements:
65
- - - '>='
65
+ - - ! '>='
66
66
  - !ruby/object:Gem::Version
67
67
  version: '0'
68
68
  type: :runtime
69
69
  prerelease: false
70
70
  version_requirements: !ruby/object:Gem::Requirement
71
71
  requirements:
72
- - - '>='
72
+ - - ! '>='
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  - !ruby/object:Gem::Dependency
@@ -100,8 +100,8 @@ dependencies:
100
100
  - - ~>
101
101
  - !ruby/object:Gem::Version
102
102
  version: 0.0.5
103
- description: "\n This gem provides a scheduling plugin (using Dynamo DB) for Shoryuken,
104
- as well as an ActiveJob adapter\n "
103
+ description: ! "\n This gem provides a scheduling plugin (using Dynamo DB) for
104
+ Shoryuken, as well as an ActiveJob adapter\n "
105
105
  email:
106
106
  - joe@khoobyar.name
107
107
  executables:
@@ -140,17 +140,17 @@ require_paths:
140
140
  - lib
141
141
  required_ruby_version: !ruby/object:Gem::Requirement
142
142
  requirements:
143
- - - '>='
143
+ - - ! '>='
144
144
  - !ruby/object:Gem::Version
145
145
  version: 2.0.0
146
146
  required_rubygems_version: !ruby/object:Gem::Requirement
147
147
  requirements:
148
- - - '>='
148
+ - - ! '>='
149
149
  - !ruby/object:Gem::Version
150
150
  version: '0'
151
151
  requirements: []
152
152
  rubyforge_project:
153
- rubygems_version: 2.4.5
153
+ rubygems_version: 2.0.3
154
154
  signing_key:
155
155
  specification_version: 4
156
156
  summary: A scheduling plugin (using Dynamo DB) for Shoryuken