passpartu 0.2.0 → 0.2.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d0afcc63dd57422e1345a376a007f5b0d92726e73262b1b251721c0edaeafc32
4
- data.tar.gz: 87d8c622b6bc7bf0e10f35d5809cf1fa8a41349576ca647dbd34ebf95969087e
3
+ metadata.gz: 5cfa680cfc28081013cfef749c65a9ad2cd2a8bc927b3b07311cda2ca7bbc3ca
4
+ data.tar.gz: c92aa3c28bdbd6970b7c76b960c8dd6041b219c73f59b49310ed02edfd1a7974
5
5
  SHA512:
6
- metadata.gz: b6adc6aa96e0caba5aa4c03556fa74bc08e0ac53090f00e47a39933e7bd7857915df704ae5768a16e7599ec745d056ccb117941e89e1bb5ec9e65d8d7ed316f5
7
- data.tar.gz: 227c8424d84d8a3a2252a7aa730dbf60a5ffb946821dbefc91536c58d4569dfee20710c0f055d9c31934bb6c99742dfa5985f72e34b356f64c8a66311454ebe2
6
+ metadata.gz: aad7966193d1316345630a1f135b99f8b708dcdabdbebd0ffda587189c2336d55d52b3bc30c10cb3cc33bda3c575aad35d5145ad45024ea2491f8cb8a7141b39
7
+ data.tar.gz: 1963b0fe8e0f6f5321d04a4c425cb8d489df97e31dfa824c641dd599a7e4196ba57b68f48145614cca06ecf6fb06c6018b8ba7061cbcfffe372a1c8fae2e1ecb
data/README.md CHANGED
@@ -74,7 +74,7 @@ Passpartu.configure do |config|
74
74
  end
75
75
  ```
76
76
  ### Raise policy missed errors
77
- By default Passpartu will raise an error if policy is missed in `passpartu.yml`. Set `config.raise_policy_missed_error = false` in order to return `false` in case when policy is not defined. This is a good approach to write only "positive" policies (only true) and automatically restricts everything that is not mentioned in `passpartu.yml`
77
+ By default Passpartu will raise an PolicyMissedError if policy is missed in `passpartu.yml`. In initializer set `config.raise_policy_missed_error = false` in order to return `false` in case when policy is not defined. This is a good approach to write only "positive" policies (only true) and automatically restricts everything that is not mentioned in `passpartu.yml`
78
78
 
79
79
  ## Installation
80
80
 
@@ -1,3 +1,3 @@
1
1
  module Passpartu
2
- VERSION = '0.2.0'.freeze
2
+ VERSION = '0.2.1'.freeze
3
3
  end
@@ -10,8 +10,7 @@ Gem::Specification.new do |spec|
10
10
 
11
11
  spec.summary = 'Passpartu makes policies great again'
12
12
  spec.description = 'Passpartu is a great tool to manage your policies.
13
- Keep all your policy rules in one file - doorman.yml.
14
- And ask user not about it\'s role, but about it\'s permissions'
13
+ Keep all your policy rules in one file - passpartu.yml.'
15
14
  spec.homepage = 'https://github.com/OrestF/passpartu'
16
15
  spec.license = 'MIT'
17
16
  spec.required_ruby_version = '>= 2.0.0'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: passpartu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - OrestF
@@ -54,8 +54,7 @@ dependencies:
54
54
  version: '3.0'
55
55
  description: |-
56
56
  Passpartu is a great tool to manage your policies.
57
- Keep all your policy rules in one file - doorman.yml.
58
- And ask user not about it's role, but about it's permissions
57
+ Keep all your policy rules in one file - passpartu.yml.
59
58
  email:
60
59
  - falchuko@gmail.com
61
60
  executables: []