nexus_cqrs_auth 0.0.3 → 0.0.4

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: d3d598f2e967a8b70e16c7eb5da21b63725fc986f04a83d1b5ea96f271117cad
4
- data.tar.gz: edb9a9febb1aa1b97648ce83a471c81f05b90686dc735273a7a9d4f45cda30e0
3
+ metadata.gz: 26eebafb47f52358431b983d83a6f850926f2a26e650603cb25451488e8ec8d8
4
+ data.tar.gz: 18e62542c4ee5e180bda9ff8227a9193ecf026050542adf8fed02972b42b049e
5
5
  SHA512:
6
- metadata.gz: 1be25f5a7a0f63f7a989df0332930ce51c340a5712d9288f5e60713e9c787bb7ed03c2903bb0b182528411dc97031ea5778705c84f88e580b07d9774f8ee1e8d
7
- data.tar.gz: 1a4a782f0ffe7cc70c94fa57152f8277594d4e4b25abf372008773d37eb777ed25a0ecd17b74c627e2e9bac3f99ef81cc1efd7f24c50998a0991708c14fc674e
6
+ metadata.gz: 2883708fb78909af81ad2f0839e82d08ae5c54a931c6f05ad3727766b7a4153e6c3958efa1e69ee0a867903423b2bfefb14bf14d3b0690afd3c64c783df35720
7
+ data.tar.gz: 894a40035cde2e7a02fa424836ef18af5b179953bbf81b262270a55f1fd048e1543cb0ab5cf6fcc0fee15dd8d183f9d18d91eb7751ab91bba260e7a316216c21
data/README.md CHANGED
@@ -70,6 +70,10 @@ end
70
70
 
71
71
  You can then write various policies to setup authorisation in CQRS flows.
72
72
 
73
+ More information about policies can be found in the [Pundit documentation](https://github.com/varvet/pundit).
74
+
75
+ Remember to create a base policy at: `app/policies/application_policy.rb`
76
+
73
77
  ### Bus level policy
74
78
 
75
79
  Create a policy class in `app/policies/my_message_policy.rb`
@@ -1,3 +1,3 @@
1
1
  module NexusCqrsAuth
2
- VERSION = '0.0.3'
2
+ VERSION = '0.0.4'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nexus_cqrs_auth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Harrison
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-10-01 00:00:00.000000000 Z
11
+ date: 2020-11-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nexus_cqrs