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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5ffc1c6d5392fd64f4463ae4a47972f7d2c13ebc
4
- data.tar.gz: cc1e0294bc5c333f7ce684f112ee1182e20d2095
3
+ metadata.gz: 7877d9a875449524da22d1e8efd6f29a23381fe0
4
+ data.tar.gz: 665d0631430befd3f019588366502558f7e6f9c8
5
5
  SHA512:
6
- metadata.gz: 9f2a3b5f59d0a50c77f0f22ec86f291289762ba5e27dc012fa9cce34807883aee616b7ca9b7a937139b67137725f450c0e7fc504909f0a84136ebd4b6e67586e
7
- data.tar.gz: 7ef1fd93ff1d803bb7d895d63749a3deb9cd4fe4000936df5b8e1facfca884e22e439574979b821972936b16b1ea15ef31f97c3db306b90b4d7514ea214d1437
6
+ metadata.gz: 3b6c62d76a317adecdf96e161a42ad817a5cc4b3e23c0bab49b6217e7240a7aef2348b0ff2117b156d10eaed6f832196e38e53e75fabae154263069a2e7ee29f
7
+ data.tar.gz: b0d68a791832e2e916578757b93675c408461e93022483da0cd24f1dcce3d4fe5b825505f1d6c1985a0b6880958db2ede88ccf689a9e031de98aae2813327820
data/Changes.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changes
2
2
 
3
+ ## 0.8.1
4
+
5
+ - Fix breakage with non-ActiveJobs [#29]
6
+ - Ruby 2.3+ is now required
7
+
3
8
  ## 0.8.0
4
9
 
5
10
  - Add `-l LABEL` argument for adding labels to a process [#27, jpwinans]
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- faktory_worker_ruby (0.8.0)
4
+ faktory_worker_ruby (0.8.1)
5
5
  connection_pool (~> 2.2, >= 2.2.1)
6
6
 
7
7
  GEM
@@ -40,4 +40,4 @@ DEPENDENCIES
40
40
  rake (~> 12)
41
41
 
42
42
  BUNDLED WITH
43
- 1.16.3
43
+ 1.17.1
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 | | pulls |
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
- ## Installation
35
+ ## Requirements
36
36
 
37
- First, make sure you have the [Faktory server](https://github.com/contribsys/faktory/#installation) installed.
37
+ * Ruby 2.3 or higher
38
+ * Faktory 0.9 or higher [Installation](https://github.com/contribsys/faktory/wiki/Installation)
38
39
 
39
- Next, install this gem:
40
+ ## Installation
40
41
 
41
42
  gem install faktory_worker_ruby
42
43
 
@@ -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.2.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'
@@ -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['custom']['wrapped'] || job_hash["jobtype"]
32
+ klass = job_hash.dig('custom', 'wrapped') || job_hash["jobtype"]
33
33
  "#{klass} JID-#{job_hash['jid']}"
34
34
  end
35
35
 
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Faktory
3
- VERSION = "0.8.0"
3
+ VERSION = "0.8.1"
4
4
  end
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.0
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-20 00:00:00.000000000 Z
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.2.2
139
+ version: 2.3.0
140
140
  required_rubygems_version: !ruby/object:Gem::Requirement
141
141
  requirements:
142
142
  - - ">="