di-simple_auth 0.2.7 → 0.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :minor: 2
3
- :patch: 7
3
+ :patch: 8
4
4
  :major: 0
@@ -104,7 +104,7 @@ module SimpleAuth
104
104
  end
105
105
 
106
106
  def permission_from_token(invoice)
107
- if _token = params[:token][10..-1]
107
+ if _token = params[:token][12..-1]
108
108
  ::Permission.find_by_token(_token)
109
109
  elsif current_user
110
110
  current_user.permissions(invoice).max_by{|v| v.index }
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- - 7
9
- version: 0.2.7
8
+ - 8
9
+ version: 0.2.8
10
10
  platform: ruby
11
11
  authors:
12
12
  - Dieinzige