faktory_worker_ruby 0.8.0 → 0.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Changes.md +5 -0
- data/Gemfile.lock +2 -2
- data/README.md +5 -4
- data/faktory_worker_ruby.gemspec +1 -1
- data/lib/faktory/logging.rb +1 -1
- data/lib/faktory/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7877d9a875449524da22d1e8efd6f29a23381fe0
|
4
|
+
data.tar.gz: 665d0631430befd3f019588366502558f7e6f9c8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3b6c62d76a317adecdf96e161a42ad817a5cc4b3e23c0bab49b6217e7240a7aef2348b0ff2117b156d10eaed6f832196e38e53e75fabae154263069a2e7ee29f
|
7
|
+
data.tar.gz: b0d68a791832e2e916578757b93675c408461e93022483da0cd24f1dcce3d4fe5b825505f1d6c1985a0b6880958db2ede88ccf689a9e031de98aae2813327820
|
data/Changes.md
CHANGED
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -17,7 +17,7 @@ Faktory background job server. It is similar to [Sidekiq](http://sidekiq.org).
|
|
17
17
|
+-----------------+ +-------------------+
|
18
18
|
| | | |
|
19
19
|
| Client | | Worker |
|
20
|
-
| pushes | |
|
20
|
+
| pushes | | fetches |
|
21
21
|
| jobs | | jobs |
|
22
22
|
| | | |
|
23
23
|
| | | |
|
@@ -32,11 +32,12 @@ Faktory background job server. It is similar to [Sidekiq](http://sidekiq.org).
|
|
32
32
|
This gem contains only the client and worker parts. The
|
33
33
|
server part is [here](https://github.com/contribsys/faktory/)
|
34
34
|
|
35
|
-
##
|
35
|
+
## Requirements
|
36
36
|
|
37
|
-
|
37
|
+
* Ruby 2.3 or higher
|
38
|
+
* Faktory 0.9 or higher [Installation](https://github.com/contribsys/faktory/wiki/Installation)
|
38
39
|
|
39
|
-
|
40
|
+
## Installation
|
40
41
|
|
41
42
|
gem install faktory_worker_ruby
|
42
43
|
|
data/faktory_worker_ruby.gemspec
CHANGED
@@ -14,7 +14,7 @@ Gem::Specification.new do |gem|
|
|
14
14
|
gem.files = `git ls-files | grep -Ev '^(test|myapp|examples)'`.split("\n")
|
15
15
|
gem.test_files = []
|
16
16
|
gem.version = Faktory::VERSION
|
17
|
-
gem.required_ruby_version = ">= 2.
|
17
|
+
gem.required_ruby_version = ">= 2.3.0"
|
18
18
|
|
19
19
|
gem.add_dependency 'connection_pool', '~> 2.2', ">= 2.2.1"
|
20
20
|
gem.add_development_dependency 'activejob', '>= 5.1.5'
|
data/lib/faktory/logging.rb
CHANGED
@@ -29,7 +29,7 @@ module Faktory
|
|
29
29
|
def self.job_hash_context(job_hash)
|
30
30
|
# If we're using a wrapper class, like ActiveJob, use the "wrapped"
|
31
31
|
# attribute to expose the underlying thing.
|
32
|
-
klass = job_hash
|
32
|
+
klass = job_hash.dig('custom', 'wrapped') || job_hash["jobtype"]
|
33
33
|
"#{klass} JID-#{job_hash['jid']}"
|
34
34
|
end
|
35
35
|
|
data/lib/faktory/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: faktory_worker_ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Perham
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-12-
|
11
|
+
date: 2018-12-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: connection_pool
|
@@ -136,7 +136,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
136
136
|
requirements:
|
137
137
|
- - ">="
|
138
138
|
- !ruby/object:Gem::Version
|
139
|
-
version: 2.
|
139
|
+
version: 2.3.0
|
140
140
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
141
141
|
requirements:
|
142
142
|
- - ">="
|