nexus_cqrs 0.0.12 → 0.0.13

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
  SHA256:
3
- metadata.gz: 194d9582819dfbce269179cd41d5c442a3a66a3797b0d77d09ef80e7343f6b25
4
- data.tar.gz: ff860d659e433356d3ce6880aa445257fb6eab5ee1f9e53ea6e7ef2161e7be2c
3
+ metadata.gz: cdfe50446a77c51b914898af69e47f8cb90d5bbaf6b952570722bf22c5f1c216
4
+ data.tar.gz: 50117d1c8c04e2855a966357038ce57c71f39c527b240b36a57c5862058cc64e
5
5
  SHA512:
6
- metadata.gz: f4d420c2e28c58bfa155ac015f95a3edf51a201bf3e6ab478529b41be162b5cd375c01a0de66ee8559ea07de663bc703f8ae14d19086ea80d879d00158a49c21
7
- data.tar.gz: 134ab0e8e19e9d1e3378f4fe2d8efabb8f469b7924e30bc9685f82e5e4cc7fc0761191e988e80c9c46b3b36d8b9eb7a9232ef65253ce05ac6f6150ff5384cc7a
6
+ metadata.gz: 8c2fce71a6eb75cf91a616dbaea01e6cc572a16d2ddc3d58036b61345e0c10d99120d24c15eb2c2fa02590131d4dc89ba2926ebd722a3d0555ff52de8801015b
7
+ data.tar.gz: 582a7d078d000a12fe16959bb20da9c4b65770d6dc6c4dc13e9e6f53aa5dce11768ba4b15771dd7e0c9dbec790fe8b547a35c7b38f4f7bd0b44b371395bf3d4d
@@ -7,12 +7,16 @@ module NexusCqrs
7
7
 
8
8
  # Executes a CQRS Query
9
9
  def query(query)
10
- command_executor.execute(query)
10
+ query_executor.execute(query)
11
11
  end
12
12
 
13
13
  # Provide access to the CQRS executor
14
14
  def command_executor
15
15
  @command_executor ||= $COMMAND_EXECUTOR
16
16
  end
17
+
18
+ def query_executor
19
+ @query_executor ||= $QUERY_EXECUTOR
20
+ end
17
21
  end
18
22
  end
@@ -1,3 +1,3 @@
1
1
  module NexusCqrs
2
- VERSION = '0.0.12'
2
+ VERSION = '0.0.13'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nexus_cqrs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.12
4
+ version: 0.0.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dean Lovett
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-09-09 00:00:00.000000000 Z
11
+ date: 2020-09-11 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: