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.
Files changed (3) hide show
  1. data/VERSION.yml +1 -1
  2. data/lib/has_permission.rb +3 -1
  3. metadata +2 -2
@@ -1,4 +1,4 @@
1
1
  ---
2
- :patch: 6
2
+ :patch: 7
3
3
  :major: 0
4
4
  :minor: 2
@@ -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.6
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-02-26 00:00:00 -08:00
12
+ date: 2009-03-26 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies: []
15
15