passwordless 0.5.3 → 0.5.4

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d4e2130576dfde8f65088f4a21ae816a655442a838fb5be8e93d96b84e521543
4
- data.tar.gz: 72b12a0df487f852b72b044a2392fbc817fae13efa502c6b10fe396914bf905d
3
+ metadata.gz: fa64d2ab5ebc0459f75b9c7156a480228b519f8b5b38f791fc6cba0a780a82cd
4
+ data.tar.gz: 4297d10aaa0cbb727a68d3ba79282df3a0345d3fcd6aa041db37a929a345ea0c
5
5
  SHA512:
6
- metadata.gz: 39d425dfc190a2a912bbf7f6452e9f57476359cffc2e16960533ec6f113d9fcd4a1a117bd1687f898d21c8bd172990634b781d5bbb7eb4f21dfbc164683e01df
7
- data.tar.gz: 5fcadebce0b0a4557a8d51bb0cb94d92700d4c3543d23862dcbec1001a772090bef31d29ada89fd9c0914b7075bd893b2b0c3e39d1d628ff2007cc7cec28c967
6
+ metadata.gz: ad267857c79956191a9b7dc474c2349dfbf1213a39f388339f57dd4d50bf77a69841d3bc4c4bbf227be084b9e138aff9290925bea665436e7548754810fdac4e
7
+ data.tar.gz: 11114a1b24a896e5613a496771a193c68b4e170880e422cbd894c284c5e9ee2bf7927ac5beedda95c8c6c1d1946ade7d5b933dddb19754ce2e861cef06573f8a
@@ -72,11 +72,11 @@ module Passwordless
72
72
  private
73
73
 
74
74
  def session_key(authenticatable_class)
75
- :"passwordless_prev_location--#{authenticatable_class}"
75
+ :"passwordless_prev_location--#{authenticatable_class.base_class}"
76
76
  end
77
77
 
78
78
  def cookie_name(authenticatable_class)
79
- :"#{authenticatable_class.to_s.underscore}_id"
79
+ :"#{authenticatable_class.base_class.to_s.underscore}_id"
80
80
  end
81
81
  end
82
82
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Passwordless
4
- VERSION = '0.5.3' # :nodoc:
4
+ VERSION = '0.5.4' # :nodoc:
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: passwordless
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.3
4
+ version: 0.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mikkel Malmberg
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-06-06 00:00:00.000000000 Z
11
+ date: 2018-06-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails