rservicebus2 0.0.14 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rservicebus2/handler_manager.rb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3e35956ca7757e14c09a4d307c3a93350458d3b0
|
4
|
+
data.tar.gz: e548174aa8e07fdac56101959b236b871fc75ac1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd37584311d230ecbe2f7b9e1336ce86b3b61ff2c0899c7d527118a17b3a7777c84b3f377aed74db04aef0a20a9f42c997c2aee6408118da9f644c137fe4e30e
|
7
|
+
data.tar.gz: 3685373828a0ae3e702e2bf70cb100e6bf2b37e18d9a02ddcb38adb48b82bd5b5cdfe897fd4e72a42d8053262a52a83443adc065730a949e020e44adc8c3e28e
|
@@ -33,8 +33,8 @@ module RServiceBus2
|
|
33
33
|
#
|
34
34
|
# @param [RServiceBus2::Handler] handler
|
35
35
|
def set_state_attribute_if_requested(handler)
|
36
|
-
if defined?(handler.
|
37
|
-
handler.
|
36
|
+
if defined?(handler.state)
|
37
|
+
handler.state = @state_manager.get(handler)
|
38
38
|
RServiceBus2.log 'Bus attribute set for: ' + handler.class.name
|
39
39
|
end
|
40
40
|
|
@@ -45,7 +45,7 @@ module RServiceBus2
|
|
45
45
|
#
|
46
46
|
# @param [RServiceBus2::Handler] handler
|
47
47
|
def check_if_state_attribute_requested(handler)
|
48
|
-
@state_manager.
|
48
|
+
@state_manager.required if defined?(handler.state)
|
49
49
|
|
50
50
|
self
|
51
51
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rservicebus2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Guy Irvine
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-05-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: uuidtools
|