advanced-sneakers-activejob 0.3.0 → 0.3.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
  SHA256:
3
- metadata.gz: 6d7e686de7c5fe9a22c265854adf1c8e9afecbdcd8b23e8bffcf669738e2c23f
4
- data.tar.gz: 60f16a0f4cb3492d1ad216a25cc4cef1d51cf4c5e13eef9cb5b47f672d7c4943
3
+ metadata.gz: ea3374ddb93226f413dd09ed2cdf2ee317890c5592e03563d64e786ae3ac96d1
4
+ data.tar.gz: aec7a20fd45441a06de50c6978e71402f002e079f0ba11a88677ec4556559746
5
5
  SHA512:
6
- metadata.gz: c039b2fc27c32064c34ae8071b3c5ae8e19766e3f71283b7052eeb4b0031300ec42c3d3a04e025674111e7160d59d7840cbeb348407e7a92e2b14f14cedf4cba
7
- data.tar.gz: 47f9d05c9b1d9386faa8c3186868353665327701c11fb79542f3aeff2964b086ac6b84c476e95d313861311f275f18ca31131972de75d0743c064d15ae4269ba
6
+ metadata.gz: b9a007a2443a4e8add7f5918745944587ee7b9a159e534f1bcc87fbbcd9be16747ab25544eb2dbe37707e9ddeb3c299d4ef608b0ea2aafbb5e49a320e7d2d9ce
7
+ data.tar.gz: 3f63ffdf312d58faa22bdfd73bd0599508b0b8894c5fed8fc03142da7dbbf8b4bf2c9ab488748c895e3782e6308e6d9908c8a74d4d4a549007f784bfc9813117
@@ -1,4 +1,8 @@
1
- ## Changes Between 0.2.3 and 0.3
1
+ ## Changes Between 0.3.0 and 0.3.1
2
+
3
+ ### [Restore Sneakers::Worker::Classes methods](https://github.com/veeqo/advanced-sneakers-activejob/pull/6)
4
+
5
+ ## Changes Between 0.2.3 and 0.3.0
2
6
 
3
7
  This release does not change the observed behavior, but replaces the publisher with completely new implementation.
4
8
 
@@ -6,8 +10,8 @@ This release does not change the observed behavior, but replaces the publisher w
6
10
 
7
11
  ## Changes Between 0.2.2 and 0.2.3
8
12
 
9
- ### Refactored support for ActiveJob prefix https://github.com/veeqo/advanced-sneakers-activejob/pull/3
10
- ### Support for custom adapter per job https://github.com/veeqo/advanced-sneakers-activejob/pull/4
13
+ ### [Refactored support for ActiveJob prefix](https://github.com/veeqo/advanced-sneakers-activejob/pull/3)
14
+ ### [Support for custom adapter per job](https://github.com/veeqo/advanced-sneakers-activejob/pull/4)
11
15
 
12
16
  ## Changes Between 0.2.1 and 0.2.2
13
17
 
@@ -15,13 +19,13 @@ Cleanup of `puts` and logger mistakenly introduced in previous version
15
19
 
16
20
  ## Changes Between 0.2.0 and 0.2.1
17
21
 
18
- ### Support for ActiveJob prefix https://github.com/veeqo/advanced-sneakers-activejob/pull/2
22
+ ### [Support for ActiveJob prefix](https://github.com/veeqo/advanced-sneakers-activejob/pull/2)
19
23
 
20
24
  Fixed worker class name in rake task description
21
25
 
22
26
  ## Changes Between 0.1.0 and 0.2.0
23
27
 
24
- ### `message_options` https://github.com/veeqo/advanced-sneakers-activejob/pull/1
28
+ ### [`message_options`](https://github.com/veeqo/advanced-sneakers-activejob/pull/1)
25
29
 
26
30
  Customizable options for message publishing (`routing_key`, `headers`, etc)
27
31
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AdvancedSneakersActiveJob
4
- VERSION = '0.3.0'
4
+ VERSION = '0.3.1'
5
5
  end
@@ -54,6 +54,18 @@ module AdvancedSneakersActiveJob
54
54
  @activejob_workers
55
55
  end
56
56
 
57
+ def method_missing(method_name, *args, &block)
58
+ if call.respond_to?(method_name)
59
+ call.send(method_name, *args, &block)
60
+ else
61
+ super
62
+ end
63
+ end
64
+
65
+ def respond_to_missing?(method_name, include_private = false)
66
+ call.respond_to?(method_name) || super
67
+ end
68
+
57
69
  private
58
70
 
59
71
  def define_active_job_consumers
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: advanced-sneakers-activejob
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rustam Sharshenov
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2020-05-21 00:00:00.000000000 Z
12
+ date: 2020-06-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activejob