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 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.. See LICENSE for details.
69
+ Copyright (c) 2010 Jamie Hill, SonicIQ Ltd. See LICENSE for details.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.1
1
+ 1.1.2
data/iq-acl.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{iq-acl}
8
- s.version = "1.1.1"
8
+ s.version = "1.1.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Jamie Hill, SonicIQ Ltd."]
data/lib/iq/acl/basic.rb CHANGED
@@ -47,6 +47,7 @@
47
47
  #
48
48
  # user = User.find_by_email('jamie@example.com')
49
49
  # auth = IQ::ACL::Basic.new('projects/*' => { user => user.roles })
50
+ #
50
51
  # auth.authenticate!(user, 'projects/some-project') do |roles|
51
52
  # roles.find_by_name('project_editor')
52
53
  # end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 1
8
- - 1
9
- version: 1.1.1
8
+ - 2
9
+ version: 1.1.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Jamie Hill, SonicIQ Ltd.