entity_events 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/entity_events/version.rb +1 -1
- data/lib/entity_events.rb +2 -2
- 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: 0af5199f3384ef99e2b9567155c1e7a2e53dd28c
|
4
|
+
data.tar.gz: c86dbd3f9760df0b68d8f6b64434791826bba0ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 257bd7b7d89a8e1ec59b5f241fd486bb3ae16225907309b800569b4524fac51af092676b12b2c22b84810bfcaa137f20a8db53cfe7e028870081ad39df716c4e
|
7
|
+
data.tar.gz: 2bfbf82630ba6d07b1d40ef6ba0cbd91e80f28bdd46e4ef51d579c0a6f3669935cb01dc82f368c0f5b9e46ca31664aae718857f49a44d8a5106cf681a477b8a2
|
data/lib/entity_events.rb
CHANGED
@@ -30,16 +30,16 @@ module EntityEvents
|
|
30
30
|
|
31
31
|
actor_method = (@action.to_s+'_actor').to_sym
|
32
32
|
@actor = if respond_to?(actor_method)
|
33
|
-
send actor_method
|
34
33
|
@actor_is_user_defined = true
|
34
|
+
send actor_method
|
35
35
|
else
|
36
36
|
default_actor
|
37
37
|
end
|
38
38
|
|
39
39
|
target_method = (@action.to_s+'_target').to_sym
|
40
40
|
@target = if respond_to?(target_method)
|
41
|
-
send target_method
|
42
41
|
@target_is_user_defined = true
|
42
|
+
send target_method
|
43
43
|
else
|
44
44
|
default_target
|
45
45
|
end
|