resugan 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -0
- data/lib/resugan/kernel.rb +1 -1
- data/lib/resugan/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: 125a46c660b15e707e2e9c7ff8566b1f396748ae
|
4
|
+
data.tar.gz: 9902cfe5e810f491fed9580e48b539bf99c5048e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 058d79aec3ee6752265d00687f6bd4644ddb3f2c27f6016b764cbad4e8a84a1fbe7a5e4ef10c113c10c68d028118f2eb3eec395049a8731c7ceba5ebfccc6478
|
7
|
+
data.tar.gz: 2e9fd51c681d1bc04323037c6a41ea1fb8e76d0dac678adba2b0dbc4c89a01fbf18ccb5d9e28aeddf20b1492942964b3d0c804bf72765dd02e26166141d357f8
|
data/README.md
CHANGED
data/lib/resugan/kernel.rb
CHANGED
@@ -43,7 +43,7 @@ module Resugan
|
|
43
43
|
|
44
44
|
def self.invoke(namespace, event, payload = [])
|
45
45
|
event = "#{namespace}_#{event}".to_sym
|
46
|
-
if @_listener[event]
|
46
|
+
if @_listener && @_listener[event]
|
47
47
|
@_listener[event].each do |_listener|
|
48
48
|
_listener.call(payload.map { |p| p[:params] })
|
49
49
|
end
|
data/lib/resugan/version.rb
CHANGED