nexus_cqrs 0.0.9 → 0.0.10

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
  SHA256:
3
- metadata.gz: a4dd646c794131960d2d27fb221171e28291c2f09b49e054143d7e95f535b507
4
- data.tar.gz: b59b9059f4c2c040ea7df8a6432fa256a925750aa725583567046641faa1d7bf
3
+ metadata.gz: c1ab92b227b0ff36a308b6495262108cfbd2f993068d86032b22623937726e76
4
+ data.tar.gz: 1827bd428f92211c7e30c1af6c52b20800f2cda21c4d3d0c6afd1c457aef79ce
5
5
  SHA512:
6
- metadata.gz: 856916ff055be3508b09832ff4512bb483089561e0439f8a24b58699a88034b6f2cfac9d6dda641022d7bae62305ab760d474257c1136282b5b1ea820cea5600
7
- data.tar.gz: b4592c8cfb3108e11329d6501257efc6732cb5bc407336cacb5d6590250351c333836e12f06e81961cbe1200dcab8cd5c2e17302958e0f26bbad3f37fc191d1f
6
+ metadata.gz: 926c2a7d769f2e9df9654006e64b4e9ce55710b7e2ead60ada884b5d3df6c67b0dcd83c50c616a80246399f634bc326f5d765c21fc7c9810bb6dd9aeb4655612
7
+ data.tar.gz: be235bec498b0e57cbd9748a8ae891f605537b0a8c0b40db0412a4ee08687ec2b3582e82b0ffae884fa35ef94d0718a60a94c83175ce2dab4ba6d42038b92ba9
@@ -7,12 +7,17 @@ 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
+ # Provide access to the CQRS executor
19
+ def query_executor
20
+ @command_executor ||= $QUERY_EXECUTOR
21
+ end
17
22
  end
18
23
  end
@@ -1,3 +1,3 @@
1
1
  module NexusCqrs
2
- VERSION = '0.0.9'
2
+ VERSION = '0.0.10'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nexus_cqrs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dean Lovett