stffn-declarative_authorization 0.2.4 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +16 -0
- data/README.rdoc +6 -1
- data/app/controllers/authorization_rules_controller.rb +5 -1
- data/app/controllers/authorization_usages_controller.rb +3 -1
- data/app/helpers/authorization_rules_helper.rb +16 -0
- data/app/views/authorization_rules/index.html.erb +2 -1
- data/lib/declarative_authorization/authorization.rb +77 -13
- data/lib/declarative_authorization/authorization_rules_analyzer.rb +138 -0
- data/lib/declarative_authorization/helper.rb +5 -0
- data/lib/declarative_authorization/in_controller.rb +11 -0
- data/lib/declarative_authorization/in_model.rb +12 -17
- data/lib/declarative_authorization/obligation_scope.rb +34 -23
- data/lib/declarative_authorization/reader.rb +48 -9
- data/test/authorization_rules_analyzer_test.rb +123 -0
- data/test/authorization_test.rb +203 -0
- data/test/helper_test.rb +38 -0
- data/test/model_test.rb +323 -1
- data/test/schema.sql +22 -1
- metadata +4 -2
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stffn-declarative_authorization
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steffen Bartsch
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-04-08 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -53,6 +53,7 @@ files:
|
|
53
53
|
- lib/declarative_authorization/obligation_scope.rb
|
54
54
|
- lib/declarative_authorization/in_model.rb
|
55
55
|
- lib/declarative_authorization/helper.rb
|
56
|
+
- lib/declarative_authorization/authorization_rules_analyzer.rb
|
56
57
|
- lib/declarative_authorization/authorization.rb
|
57
58
|
- lib/declarative_authorization/maintenance.rb
|
58
59
|
- test/authorization_test.rb
|
@@ -63,6 +64,7 @@ files:
|
|
63
64
|
- test/helper_test.rb
|
64
65
|
- test/dsl_reader_test.rb
|
65
66
|
- test/test_helper.rb
|
67
|
+
- test/authorization_rules_analyzer_test.rb
|
66
68
|
has_rdoc: true
|
67
69
|
homepage: http://github.com/stffn/declarative_authorization
|
68
70
|
post_install_message:
|