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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 762c4622a61ca97fcffa11e25e6022595dc92d55
4
- data.tar.gz: 0d3787462dbc4a82b15ed39a427d9b842635a0d9
3
+ metadata.gz: 3e35956ca7757e14c09a4d307c3a93350458d3b0
4
+ data.tar.gz: e548174aa8e07fdac56101959b236b871fc75ac1
5
5
  SHA512:
6
- metadata.gz: fc7a0eed23a1cb7d2db350ddb02e6d385ce70da67b3e2dfe2ef7b2cbaa666e1bc6f971a1603ccf2d50afaf3f23db0c8ae3a76f71feeef127905be0638a890c60
7
- data.tar.gz: 14e956cc76078549fe1842303361031f2b6474cca1252efea529c16237dc65b0c1f2a473b99cad08b8e8e3597df7454542c9929cf18dff0bf9b6f936079f00c6
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.State)
37
- handler.State = @state_manager.get(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.Required if defined?(handler.state)
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.0.14
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: 2016-10-25 00:00:00.000000000 Z
11
+ date: 2017-05-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: uuidtools