nexus_cqrs 0.0.2 → 0.0.3
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 -2
- data/lib/nexus_cqrs.rb +11 -0
- data/lib/nexus_cqrs/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 67530620fea3787829b05b73fff8cf78b8414a6adcd79332f727e77d98ae07e2
|
4
|
+
data.tar.gz: cf1ee994dd29425087dec599192ad629b9a0e62910326c666dfa1b9671aa49ca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8b9d852ecbe12b1158ff57823b97d614556ccca1e31d97cb7ee1ddfb9491881801bebc97818fb70f74ecabfe03932e0955ea1f50241079026c7c9af061de8de1
|
7
|
+
data.tar.gz: 72141ebc08db7e350973def5ff749bf0260bba02910c4d31decea711b392e291c28c0c1c13103364505137327f68e5fe9aa5e0899a97e0baef7731f0daec4c12
|
data/README.md
CHANGED
@@ -9,7 +9,7 @@ TODO: Delete this and the text above, and describe your gem
|
|
9
9
|
Add this line to your application's Gemfile:
|
10
10
|
|
11
11
|
```ruby
|
12
|
-
gem '
|
12
|
+
gem 'nexus_cqrs'
|
13
13
|
```
|
14
14
|
|
15
15
|
And then execute:
|
@@ -18,7 +18,7 @@ And then execute:
|
|
18
18
|
|
19
19
|
Or install it yourself as:
|
20
20
|
|
21
|
-
$ gem install
|
21
|
+
$ gem install nexus_cqrs
|
22
22
|
|
23
23
|
## Usage
|
24
24
|
|
data/lib/nexus_cqrs.rb
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
require 'nexus_cqrs/base_command'
|
2
|
+
require 'nexus_cqrs/base_command_handler'
|
3
|
+
require 'nexus_cqrs/base_query'
|
4
|
+
require 'nexus_cqrs/base_query_handler'
|
5
|
+
require 'nexus_cqrs/command_bus'
|
6
|
+
require 'nexus_cqrs/command_executor'
|
7
|
+
require 'nexus_cqrs/helpers'
|
8
|
+
|
9
|
+
module NexusCqrs
|
10
|
+
class Error < StandardError; end
|
11
|
+
end
|
data/lib/nexus_cqrs/version.rb
CHANGED
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.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dean Lovett
|
@@ -59,6 +59,7 @@ files:
|
|
59
59
|
- lib/generators/nexus_cqrs/templates/command_handler.rb
|
60
60
|
- lib/generators/nexus_cqrs/templates/query.rb
|
61
61
|
- lib/generators/nexus_cqrs/templates/query_handler.rb
|
62
|
+
- lib/nexus_cqrs.rb
|
62
63
|
- lib/nexus_cqrs/base_command.rb
|
63
64
|
- lib/nexus_cqrs/base_command_handler.rb
|
64
65
|
- lib/nexus_cqrs/base_query.rb
|