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 +4 -4
- data/README.md +1 -1
- data/lib/passpartu/version.rb +1 -1
- data/passpartu.gemspec +1 -2
- metadata +2 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5cfa680cfc28081013cfef749c65a9ad2cd2a8bc927b3b07311cda2ca7bbc3ca
|
|
4
|
+
data.tar.gz: c92aa3c28bdbd6970b7c76b960c8dd6041b219c73f59b49310ed02edfd1a7974
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
|
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
|
|
data/lib/passpartu/version.rb
CHANGED
data/passpartu.gemspec
CHANGED
|
@@ -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 -
|
|
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.
|
|
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 -
|
|
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: []
|