warden_cookie_session 0.1.2.19222 → 0.1.2.19245

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
  SHA256:
3
- metadata.gz: dcfcb293a7247a05c7eda81e7601ee8f446da97cdaaa841cbd0b6e631d850937
4
- data.tar.gz: 6d427bf1fb3ff4e193972873f8ebc1d4d04a8e5f0baac3b3fe57f1d4f53f7a69
3
+ metadata.gz: 9f10cc58f56b8d90b41e47fd35d66ac1d4dce33c31359ba8345da0b44e80bd1f
4
+ data.tar.gz: '0229aa48d5ab4dd14107501fe9597e40d4e1c422d9199860b8e7a12c0b6a7d2e'
5
5
  SHA512:
6
- metadata.gz: 67c3bd3e5372a80b214fd346ec6da0e234c61286027a3622e57278cb10f469ef805d4a46844ffe0ce26b69978b6ad270ccfd3961302b1743a61f7576f56a1fdb
7
- data.tar.gz: c6ac5b0bf1fb734391cb838cdac6f1e2bf6d6215e4e3799fc3d9ed28e1d3ff1e76480d435bfb479f67757b635ef4fffed354fd4c8dcd462e93b03f4016628bf3
6
+ metadata.gz: b0a72175769e3033ca06db4018f82c1a80a642295f15321f8a0b444fd4f21df188c81a9256a9beacfd3da1086f56d77b57daf9c28fb5547171883b52cb48fc12
7
+ data.tar.gz: f4fbdace6645e45bc684dc3dea0b710a6c115ba5962974d50774f235378db9d0efa7487317241842664a3a2c1068ba6112bc4e0697da6f87af00fbcf2b0eecee
@@ -7,7 +7,7 @@ class Warden::CookieSession::Strategy < ::Warden::Strategies::Base
7
7
  rescue StandardError => e
8
8
  logger.warn "Warden::CookieSession::Strategy#valid? failed: #{e}"
9
9
  logger.debug { e.backtrace }
10
- return false
10
+ false
11
11
  end
12
12
 
13
13
  def store?
@@ -17,6 +17,7 @@ class Warden::CookieSession::Strategy < ::Warden::Strategies::Base
17
17
  def authenticate!
18
18
  key, salt = @key_salt || encrypted_cookie.get
19
19
  record = Warden::CookieSession.config.fetch_record(key)
20
+
20
21
  success!(record) if record && Warden::CookieSession.config.validate_record(record, salt)
21
22
  rescue StandardError => e
22
23
  logger.warn "Warden::CookieSession::Strategy failed: #{e}"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: warden_cookie_session
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2.19222
4
+ version: 0.1.2.19245
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samoilenko Yuri