hanami-authentication 0.3.2 → 0.3.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0ddd06d2941f0e8a3253c7d466a9ac97f7d18349
4
- data.tar.gz: d8cbdcb677306b412b29f2a22d135cb94824ae99
3
+ metadata.gz: 91940753420ee4c2845afbd7f1ef8202ea9a80c7
4
+ data.tar.gz: 420a3286610089d4d77f25623612d3a5d2a34df3
5
5
  SHA512:
6
- metadata.gz: dd1a434b91164583ed619693009abac7e027fd4416d05506f0606890177cd2a94ac601206f9414c8148e23591ce316d6bf3fc9afb6ce5267fc156d5e82650013
7
- data.tar.gz: 924700e5ccda47a54a92b11a06b65a2589592ab3ffcf7cffe14f19c8e57ad7bf92bacf77d3d3f6456e547d5a5cba48d82c88aa577f44190787d4317458d1649a
6
+ metadata.gz: 30256195498757ea8cd7fb64b08a144e5d4c2fe2f0646e1f876c6187ee68a686740d743cf1375986999cd098c7d5ade7f8386ebd2640fbd4cf765104e6c66eeb
7
+ data.tar.gz: 0f844ee066db2e9da61dad8938b176bd088a0073616eceb594b3e13548b042d923c3d92c58ef3dc99d14a32adefc8187eab3cb66936490d2b56ea785b9b38413
@@ -37,7 +37,7 @@ module Hanami
37
37
  end
38
38
  end
39
39
 
40
- def authenticate
40
+ def authenticate(_params)
41
41
  if session_expired?
42
42
  logout
43
43
  self.class.after_session_expired_callbacks.run(self)
@@ -15,7 +15,7 @@ module Hanami
15
15
  @current_user
16
16
  end
17
17
 
18
- def authenticate(params)
18
+ def authenticate(_params)
19
19
  bearer_token = token_from_header
20
20
  halt 401 unless bearer_token
21
21
  token = self.class.find_token_block.call(bearer_token)
@@ -1,5 +1,5 @@
1
1
  module Hanami
2
2
  module Authentication
3
- VERSION = '0.3.2'
3
+ VERSION = '0.3.3'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hanami-authentication
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - LegalForce Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-11-17 00:00:00.000000000 Z
11
+ date: 2017-11-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bcrypt