role_authorization 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- role_authorization (0.1.3)
4
+ role_authorization (0.1.5)
5
5
 
6
6
  GEM
7
7
  remote: http://rubygems.org/
@@ -109,7 +109,7 @@ module RoleAuthorization
109
109
  return true if url =~ /^mailto:/
110
110
 
111
111
  # Public file
112
- file = File.join(RAILS_ROOT, 'public', url)
112
+ file = File.join(Rails.root, 'public', url)
113
113
  return true if File.exists?(file)
114
114
 
115
115
  # Passing in different domain
@@ -1,3 +1,3 @@
1
1
  module RoleAuthorization
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: role_authorization
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.4
5
+ version: 0.1.5
6
6
  platform: ruby
7
7
  authors:
8
8
  - John 'asceth' Long
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-02-28 00:00:00 -05:00
13
+ date: 2011-03-02 00:00:00 -05:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency