state-notifier 0.0.7 → 0.0.8

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: 9177bd1984c92152e3ad8b2216dec360b3b46ca7
4
- data.tar.gz: 80b1dea57859289bce0e88766728f4c4227cfd90
3
+ metadata.gz: 73ce4a60f6702e34304282f7ce98882e463cc38a
4
+ data.tar.gz: 912eb8dc3bd4441a8839c0e8e54336ce4583b5ef
5
5
  SHA512:
6
- metadata.gz: 1f10279f41d0af2f917ea81ae269c7fa7dd7130c8a595b664c4b82fd1fd03800f89ae8854a1d57e3a7f0659ceb41b66e6eb07035a7cfdca2cbbff5a2e6d6978b
7
- data.tar.gz: b298629b5d1c9b80c2f0db767bebb6df634941f34ac145dc103555acfc47e859a85a96369280e86114b510b842efacc8770454239fd34434b391b9ec9e8fae11
6
+ metadata.gz: 77745fabbc8c4e56256a8917b6d124f13e783270dc2beeb585be46dd767bc0a5e47f7ee7d95e17f8fdf2850c3625cc5d05d056598141fa54896b70ef51c72966
7
+ data.tar.gz: 99dd5ef77b6a4909ab4c7e92b13ade67c8ebd21333544fc3b61feedb258c08d865e41d8c1c19a0f36a66992d29da0936d3a16a69837866192a4709957fff53e9
@@ -22,8 +22,10 @@ module State
22
22
  notify_targets transition.event
23
23
  unless transition.to == transition.from
24
24
  notify_targets transition.to
25
+ notify_targets "#{transition.from}_#{transition.event}"
25
26
  notify_targets "#{transition.event}_#{transition.to}"
26
27
  notify_targets "#{transition.from}_#{transition.to}"
28
+ notify_targets "#{transition.from}_#{transition.event}_#{transition.to}"
27
29
  notify_targets :state_changed
28
30
  end
29
31
  end
@@ -1,5 +1,5 @@
1
1
  module State
2
2
  module Notifier
3
- VERSION = "0.0.7"
3
+ VERSION = "0.0.8"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: state-notifier
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vitaly Kushner