reactor 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/reactor/models/concerns/eventable.rb +1 -1
- data/lib/reactor/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dfe68b868d52324e6aa47e1e23135c9a12544f21
|
4
|
+
data.tar.gz: 39bebc003bd9865de887d1e925d81c641c5be0fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fcc1d2b9f70025f1d18d795ae9f72eab11006a2d564e8a90a0d41aa7bf58470fc9a09b4f704ef0b49ee0cc647049d55ec9b6e7e9a86e01f6a4764d0460d17aa4
|
7
|
+
data.tar.gz: 219130c5bd2860ec2bdea39e03ff7db0620fd608a161538763365d0be68385101915f1abbd71e97a6ce049c836e3e09d406f3f54d3fdbbaaaf4338f5e6ed8c31
|
@@ -47,7 +47,7 @@ module Reactor::Eventable
|
|
47
47
|
Reactor::Event.delay.reschedule name,
|
48
48
|
at: send(data[:at]),
|
49
49
|
actor: ( data[:actor] ? send(data[:actor]) : self ),
|
50
|
-
target: ( data[:target] ?
|
50
|
+
target: ( data[:target] ? self : nil),
|
51
51
|
was: send("#{data[:at]}_was")
|
52
52
|
end
|
53
53
|
|
data/lib/reactor/version.rb
CHANGED