entity_events 0.0.5 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 66b5a7f24272c60923247107c35acd8d96aeee1a
4
- data.tar.gz: 8aceece0d4038563ed9122d2423bc6f7ad115d5f
3
+ metadata.gz: 0af5199f3384ef99e2b9567155c1e7a2e53dd28c
4
+ data.tar.gz: c86dbd3f9760df0b68d8f6b64434791826bba0ff
5
5
  SHA512:
6
- metadata.gz: b6c9eccf8301f842047c09ca368e8f23e4778533133dc4c22960246fa16fa82b480d18322a0d2e024eaeb4720869f41963218899ff38866b28994a3284b84a99
7
- data.tar.gz: 039e5caffafb7493dd6303a0ca961eb8227eafbba927bcc94db00cfce19252695a6b64041b0374174cd762bd6bcffe946229b18527e0f6b01935bfc0da1d5c6f
6
+ metadata.gz: 257bd7b7d89a8e1ec59b5f241fd486bb3ae16225907309b800569b4524fac51af092676b12b2c22b84810bfcaa137f20a8db53cfe7e028870081ad39df716c4e
7
+ data.tar.gz: 2bfbf82630ba6d07b1d40ef6ba0cbd91e80f28bdd46e4ef51d579c0a6f3669935cb01dc82f368c0f5b9e46ca31664aae718857f49a44d8a5106cf681a477b8a2
@@ -1,3 +1,3 @@
1
1
  module EntityEvents
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: entity_events
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh Dean