coalescing_panda 5.1.3 → 5.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/coalescing_panda.rb +1 -0
- data/lib/coalescing_panda/session_replacement.rb +4 -1
- data/lib/coalescing_panda/version.rb +1 -1
- metadata +18 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6765697774f7457358c2e1c1b4ac99f8f6bee2e2
|
4
|
+
data.tar.gz: 7227f2078a10e2f52c99bf4312c5e50bfe4cd7f3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 217c02e37e0f5e036cf915a439a7632631c7bfc390d9068c6b249a94affe00eef226fe15cb8b74de30bb1cba017d7298390706dcc95c6f422db3e4f546e352fe
|
7
|
+
data.tar.gz: 4d7d83f6dca84bde53245c4a7c6975a3a9506677a8fcaf7fef63666e7510df1d271416fc74ed2b1029328b9d58bf59c3fdf11736c36496d4ab2b752c370bda43
|
data/lib/coalescing_panda.rb
CHANGED
@@ -32,7 +32,6 @@ module CoalescingPanda
|
|
32
32
|
if params[:session_token]
|
33
33
|
payload = JSON.parse(session_cryptor.decrypt_and_verify(params[:session_token])).with_indifferent_access
|
34
34
|
matched_session = find_or_create_session(key: payload[:session_key])
|
35
|
-
session_expiration_period_minutes = superclass.try(:session_expiration_period_minutes) || 15
|
36
35
|
if matched_session.present?
|
37
36
|
if payload[:token_type] == 'nonce' && matched_session.data[:link_nonce] == payload[:nonce]
|
38
37
|
@current_session = matched_session
|
@@ -127,6 +126,10 @@ module CoalescingPanda
|
|
127
126
|
self.class.link_nonce_type
|
128
127
|
end
|
129
128
|
|
129
|
+
def session_expiration_period_minutes
|
130
|
+
15
|
131
|
+
end
|
132
|
+
|
130
133
|
private
|
131
134
|
|
132
135
|
def session_cryptor
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: coalescing_panda
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.1.
|
4
|
+
version: 5.1.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nathan Mills
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2021-06-30 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rails
|
@@ -18,14 +18,28 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - ">="
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 4.2.
|
21
|
+
version: 4.2.11
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
26
|
- - ">="
|
27
27
|
- !ruby/object:Gem::Version
|
28
|
-
version: 4.2.
|
28
|
+
version: 4.2.11
|
29
|
+
- !ruby/object:Gem::Dependency
|
30
|
+
name: actionview
|
31
|
+
requirement: !ruby/object:Gem::Requirement
|
32
|
+
requirements:
|
33
|
+
- - ">="
|
34
|
+
- !ruby/object:Gem::Version
|
35
|
+
version: 4.2.11.1
|
36
|
+
type: :runtime
|
37
|
+
prerelease: false
|
38
|
+
version_requirements: !ruby/object:Gem::Requirement
|
39
|
+
requirements:
|
40
|
+
- - ">="
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: 4.2.11.1
|
29
43
|
- !ruby/object:Gem::Dependency
|
30
44
|
name: bearcat
|
31
45
|
requirement: !ruby/object:Gem::Requirement
|