iq-acl 1.1.1 → 1.1.2
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.
- data/README.rdoc +2 -1
- data/VERSION +1 -1
- data/iq-acl.gemspec +1 -1
- data/lib/iq/acl/basic.rb +1 -0
- metadata +2 -2
data/README.rdoc
CHANGED
@@ -49,6 +49,7 @@ again allowing powerful solutions to be built e.g.
|
|
49
49
|
|
50
50
|
user = User.find_by_email('jamie@example.com')
|
51
51
|
auth = IQ::ACL::Basic.new('projects/*' => { user => user.roles })
|
52
|
+
|
52
53
|
auth.authenticate!(user, 'projects/some-project') do |roles|
|
53
54
|
roles.find_by_name('project_editor')
|
54
55
|
end
|
@@ -65,4 +66,4 @@ again allowing powerful solutions to be built e.g.
|
|
65
66
|
|
66
67
|
== Copyright
|
67
68
|
|
68
|
-
Copyright (c) 2010 Jamie Hill, SonicIQ Ltd
|
69
|
+
Copyright (c) 2010 Jamie Hill, SonicIQ Ltd. See LICENSE for details.
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.2
|
data/iq-acl.gemspec
CHANGED
data/lib/iq/acl/basic.rb
CHANGED