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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d0d95162b1397f3f63cefeea2307d14bdb446771
4
- data.tar.gz: 3c81934197e230702d93700cb4c4706cbcbf78fa
3
+ metadata.gz: 6765697774f7457358c2e1c1b4ac99f8f6bee2e2
4
+ data.tar.gz: 7227f2078a10e2f52c99bf4312c5e50bfe4cd7f3
5
5
  SHA512:
6
- metadata.gz: c9321fcd178dd6df1990e91b17676ca9e6d2762e8fe0aa6b27e00b26a7951470518eb1e4f847a9e4b73757ee264968a8a5f2ed55f2f7f6d33f8919269e0e4294
7
- data.tar.gz: 0f96f9df3de844abc278f249ef0ec239537109762815b91b4c0dcdda72481116580b42e7b142b8e790959acb2e7b6add2642411071b1d29353ec8994a40658db
6
+ metadata.gz: 217c02e37e0f5e036cf915a439a7632631c7bfc390d9068c6b249a94affe00eef226fe15cb8b74de30bb1cba017d7298390706dcc95c6f422db3e4f546e352fe
7
+ data.tar.gz: 4d7d83f6dca84bde53245c4a7c6975a3a9506677a8fcaf7fef63666e7510df1d271416fc74ed2b1029328b9d58bf59c3fdf11736c36496d4ab2b752c370bda43
@@ -3,6 +3,7 @@ require 'jquery-rails'
3
3
  require 'ims/lti'
4
4
  require 'bearcat'
5
5
  require 'oauth/request_proxy/rack_request'
6
+ require 'oauth/request_proxy/action_dispatch_request'
6
7
  require 'haml'
7
8
  require 'sass-rails'
8
9
  require 'coffee-rails'
@@ -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
@@ -1,3 +1,3 @@
1
1
  module CoalescingPanda
2
- VERSION = '5.1.3'
2
+ VERSION = '5.1.8'
3
3
  end
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.3
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: 2020-10-02 00:00:00.000000000 Z
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.1
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.1
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