nexus_cqrs 0.0.11 → 0.0.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/nexus_cqrs/command_bus.rb +1 -1
- data/lib/nexus_cqrs/command_executor.rb +1 -1
- data/lib/nexus_cqrs/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 194d9582819dfbce269179cd41d5c442a3a66a3797b0d77d09ef80e7343f6b25
|
4
|
+
data.tar.gz: ff860d659e433356d3ce6880aa445257fb6eab5ee1f9e53ea6e7ef2161e7be2c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f4d420c2e28c58bfa155ac015f95a3edf51a201bf3e6ab478529b41be162b5cd375c01a0de66ee8559ea07de663bc703f8ae14d19086ea80d879d00158a49c21
|
7
|
+
data.tar.gz: 134ab0e8e19e9d1e3378f4fe2d8efabb8f469b7924e30bc9685f82e5e4cc7fc0761191e988e80c9c46b3b36d8b9eb7a9232ef65253ce05ac6f6150ff5384cc7a
|
@@ -20,7 +20,7 @@ module NexusCqrs
|
|
20
20
|
unregistered_handler = proc { raise UnregisteredHandler, "Missing handler for #{command.class}" }
|
21
21
|
|
22
22
|
handlers
|
23
|
-
.fetch(command.class, &unregistered_handler)
|
23
|
+
.fetch(command.class.name, &unregistered_handler)
|
24
24
|
.call(command)
|
25
25
|
end
|
26
26
|
|
data/lib/nexus_cqrs/version.rb
CHANGED