cancan-permits 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
data/README.markdown CHANGED
@@ -1,6 +1,6 @@
1
1
  # CanCan Permits
2
2
 
3
- Role specific Permits for use with CanCan permission system.
3
+ Role specific Permits for use with [CanCan](http://github.com/ryanb/cancan) permission system.
4
4
 
5
5
  ## Install
6
6
 
@@ -13,7 +13,7 @@ Role specific Permits for use with CanCan permission system.
13
13
  * Define a Permit for each Role.
14
14
  * For each Permit, define what that Role can do
15
15
 
16
- To add Roles to your app, you might consider using a *roles* gem such as *roles_generic*
16
+ To add Roles to your app, you might consider using a *roles* gem such as [Roles Generic](http://github.com/kristianmandrup/roles_generic) or any of the ORM specific variants.
17
17
 
18
18
  ### Define which Roles are available
19
19
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.3
1
+ 0.1.4
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{cancan-permits}
8
- s.version = "0.1.3"
8
+ s.version = "0.1.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Kristian Mandrup"]
12
- s.date = %q{2010-09-25}
12
+ s.date = %q{2010-10-07}
13
13
  s.description = %q{Role specific Permits for use with CanCan permission system}
14
14
  s.email = %q{kmandrup@gmail.com}
15
15
  s.extra_rdoc_files = [
@@ -1,7 +1,7 @@
1
1
  module Permits::Roles
2
2
  def self.available
3
3
  if Module.const_defined? :User
4
- User.roles if User.respond_to? roles
4
+ User.roles if User.respond_to? :roles
5
5
  else
6
6
  [:guest, :admin]
7
7
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 3
9
- version: 0.1.3
8
+ - 4
9
+ version: 0.1.4
10
10
  platform: ruby
11
11
  authors:
12
12
  - Kristian Mandrup
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-09-25 00:00:00 +02:00
17
+ date: 2010-10-07 00:00:00 +02:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency