ixtlan-guard 0.8.0 → 0.8.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/ixtlan/guard/guard_rails.rb +1 -1
  2. metadata +2 -2
@@ -32,7 +32,7 @@ module Ixtlan
32
32
  @block
33
33
  end
34
34
  else
35
- if base.respond_to?(@method) || base.private_methods.include?(@method.to_s)
35
+ if base.respond_to?(@method) || base.private_methods.include?(@method.to_s) || base.private_methods.include?(@method.to_sym)
36
36
  if reference
37
37
  Proc.new do |groups|
38
38
  base.send(@method, groups, reference)
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: ixtlan-guard
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.8.0
5
+ version: 0.8.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - mkristian
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2012-03-20 00:00:00 Z
13
+ date: 2012-05-12 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: ixtlan-core