role_authorization 0.1.5 → 0.1.6

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.5)
4
+ role_authorization (0.1.3)
5
5
 
6
6
  GEM
7
7
  remote: http://rubygems.org/
@@ -28,7 +28,7 @@ module RoleAuthorization
28
28
  end
29
29
  end
30
30
 
31
- def link_to_secured(name, options = {}, html_options = nil)
31
+ def link_to_secured(name, options = {}, html_options = {})
32
32
  url = url_for(options)
33
33
 
34
34
  method = (html_options && html_options.has_key?(:method)) ? html_options[:method] : :get
@@ -40,7 +40,7 @@ module RoleAuthorization
40
40
  end
41
41
  end
42
42
 
43
- def button_to_secured(name, options = {}, html_options = nil)
43
+ def button_to_secured(name, options = {}, html_options = {})
44
44
  url = url_for(options)
45
45
 
46
46
  method = (html_options && html_options.has_key?(:method)) ? html_options[:method] : :post
@@ -1,3 +1,3 @@
1
1
  module RoleAuthorization
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.6"
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.5
5
+ version: 0.1.6
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-03-02 00:00:00 -05:00
13
+ date: 2011-03-03 00:00:00 -05:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency