eztek-mediat_r 1.1.0 → 1.1.1

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +14 -0
  3. data/lib/ez/mediat_r/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 81fe49ca3fee1be65127f9c763d31fd0da477737b0a2d016c5e8efb1a9712f7d
4
- data.tar.gz: a71cb6498c253234c65e32f5a5df4eeadc313e89c5f81ee461369f7039783eeb
3
+ metadata.gz: 23232c3a36bb0ede0c8c8ae56e8b777575f34b962e98063781ad9b7dc8ff149b
4
+ data.tar.gz: 58dce58ad6aba69fe1bea815c6f8d3ff64cf8aaf0e487653aa3ba93013f4f589
5
5
  SHA512:
6
- metadata.gz: a9be31068ed497359eaf3278955420ed1231d35c5dde06fdb0dd7c325257dff1795a28912bf07b8b69e882d382584508909d4ab224961b446516be98de8f7cc9
7
- data.tar.gz: e0b8646e6be3ea108701125521f1ed4c7f485211ce8d5c4e42bbb23961d727dddc7b0a04bffcb936b70463a74a3724235cbf1db6df6316d23f7b5accae914313
6
+ metadata.gz: 52b2d3824bb3a20f97195b8a9f327a03805c5ca20e3cfdaf14f2ee5f2e730991065e4480c42d4cd34a8b111576778d97e1415cb4f33fd443646eea9ddb62c9ef
7
+ data.tar.gz: 9967a9ccfd94e85648fa59f32b05d706c5985c0f7cff6328dd931f3fae7677e4a7ced4fda3fa24f4bf631bbc537b2929e002a90aef166f7dfc03b75b25f61ba9
data/README.md CHANGED
@@ -71,6 +71,20 @@ mediator.execute(command)
71
71
 
72
72
  ```
73
73
 
74
+ ## Generator structure with rails
75
+ ```ruby
76
+ $ rails generate command feature command_name
77
+ ```
78
+ Example:
79
+ ```ruby
80
+ $ rails generate command auth login
81
+ ```
82
+
83
+ This will create:
84
+ app/cqrs/auth/commands/login_command.rb
85
+ app/cqrs/auth/commands/validators/login_command_validator.rb
86
+ app/cqrs/auth/commands/handlers/login_command_handler.rb
87
+
74
88
  ## Development
75
89
 
76
90
  After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
@@ -2,6 +2,6 @@
2
2
 
3
3
  module EZ
4
4
  module MediatR
5
- VERSION = "1.1.0"
5
+ VERSION = "1.1.1"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eztek-mediat_r
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - yeucon02vn