reactor 0.1.3 → 0.1.4

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: d0cceb129e794127e425a30e6c99b79133e8e4ff
4
- data.tar.gz: 7c568995e6b466aedba39b7f646dfb7e895584ae
3
+ metadata.gz: 0856dd83dd99bfe7c3d6ee5f3fa873a2d877bf93
4
+ data.tar.gz: 3642465ade68d3b77c018fe5527ce0826b222e24
5
5
  SHA512:
6
- metadata.gz: 12ee6c6f14b74ae21ec02d75e479b088e19f55ec02d0006caa94df6641513ccc59d10a30e97eb850ca6c42e5f9e5b433dd30797f57c9de6afc5765ab5b79957a
7
- data.tar.gz: 374dbdd05e53475da24ed75ff2dc89ddb082baf841e209175c0d43e99fbb68ab0461c504f8ab88e8f4f2dc2f257c02b94c855bdd84a73aa969ef0682fbb485b6
6
+ metadata.gz: 6848ba780655780d5f013d20e179ef41a6b04d89efb52d2fda2b0612ce2d507db2c0b4fe5f4b79f7103fb60a724ef984e3fa548791d1ae05ad1814e352d80c27
7
+ data.tar.gz: 9306a61c4bbc432cf4e1f88bf767f057ca8f16b0dd194f0de6bbdc39636bc5bfd3a9b951aa412c6feddab38ce96c3dddf4a039bfe60d5368592dd0b221675314
@@ -26,7 +26,7 @@ module Reactor::Eventable
26
26
  self.class.events.each do |name, data|
27
27
  event = data.merge(
28
28
  at: ( data[:at] ? send(data[:at]) : nil), actor: self
29
- ).except(:watch)
29
+ ).except(:watch, :if)
30
30
  need_to_fire = case (ifarg = data[:if])
31
31
  when Proc
32
32
  instance_exec &ifarg
@@ -1,3 +1,3 @@
1
1
  module Reactor
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: reactor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - winfred