johnsbrn-has_permission 0.2.6 → 0.2.7
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION.yml +1 -1
- data/lib/has_permission.rb +3 -1
- metadata +2 -2
data/VERSION.yml
CHANGED
data/lib/has_permission.rb
CHANGED
@@ -3,7 +3,9 @@ require 'active_record/has/permission'
|
|
3
3
|
require 'action_controller'
|
4
4
|
require 'action_controller/has/permission'
|
5
5
|
require 'permission/base'
|
6
|
+
require 'permission/array'
|
6
7
|
require 'permission_exception'
|
7
8
|
|
8
9
|
ActiveRecord::Base.send :include, ActiveRecord::Has::Permission
|
9
|
-
ActionController::Base.send :include, ActionController::Has::Permission
|
10
|
+
ActionController::Base.send :include, ActionController::Has::Permission
|
11
|
+
Array.send :include, Permission::Array
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: johnsbrn-has_permission
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Johnson
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-03-26 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|