di-simple_auth 0.2.5 → 0.2.6

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :minor: 2
3
- :patch: 5
3
+ :patch: 6
4
4
  :major: 0
@@ -106,8 +106,8 @@ module SimpleAuth
106
106
  def permission_from_token(invoice)
107
107
  if current_user
108
108
  current_user.permissions(invoice).max_by{|v| v.index }
109
- elsif params[:token][10..-1]
110
- ::Permission.find_by_token(token)
109
+ elsif _token = params[:token][10..-1]
110
+ ::Permission.find_by_token(_token)
111
111
  end
112
112
  end
113
113
 
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- - 5
9
- version: 0.2.5
8
+ - 6
9
+ version: 0.2.6
10
10
  platform: ruby
11
11
  authors:
12
12
  - Dieinzige