coalescing_panda 5.1.3.beta.1 → 5.1.6

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: 10a09324435306113beac47c8dd609b16e4ebebc
4
- data.tar.gz: 02ac6211e0eee50fe9447d0f2bd38df991c1fe90
3
+ metadata.gz: 3c0b0b249320d5db112a89c9a693b50b6807e98c
4
+ data.tar.gz: 57061568754c56a6f35f35853181548f8298c5a3
5
5
  SHA512:
6
- metadata.gz: 206827a41c33c311d4b38a8bf4c1ce6d44bd85b79b4565e46fa7163c491ab93fe395e2fd0b5f23edf55c0d92a3f039980594ee6ee6faae14a640530d783dbca8
7
- data.tar.gz: c4c6edff8dcebfd76f7af24efa6478b39b58fe8c67f73db6481fb97a2bc9fe70d2e03dbb52586c85e2e4eacbfdebb19d6d4182f89611cea5ddb36cd92ef2f237
6
+ metadata.gz: e462c5fc937e07589361631c1f323a35d9f320e22dbc25163ecf5729231177e4b351fa9f172e30fae062c5acbf4e9cb8ea3444605af536af87f0ac998b82d86f
7
+ data.tar.gz: f21df410d83e739104ecafb58e373d86bbfb8ade5ade8b141e9a2354384f725c33759ccb09caaef61c1be99e3342a36b95b38bc0b672410a35cebc93c74938a7
@@ -32,11 +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 = CoalescingPanda.lti_options[:session_expiration_period_minutes] || 15
36
- session_expiration_period_minutes = session_expiration_period_minutes.to_i
37
- puts "XXXXX"
38
- puts session_expiration_period_minutes
39
- puts session_expiration_period_minutes.minutes.ago
40
35
  if matched_session.present?
41
36
  if payload[:token_type] == 'nonce' && matched_session.data[:link_nonce] == payload[:nonce]
42
37
  @current_session = matched_session
@@ -131,6 +126,10 @@ module CoalescingPanda
131
126
  self.class.link_nonce_type
132
127
  end
133
128
 
129
+ def session_expiration_period_minutes
130
+ 15
131
+ end
132
+
134
133
  private
135
134
 
136
135
  def session_cryptor
@@ -1,3 +1,3 @@
1
1
  module CoalescingPanda
2
- VERSION = '5.1.3.beta.1'
2
+ VERSION = '5.1.6'
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.beta.1
4
+ version: 5.1.6
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: 2020-10-06 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails
@@ -574,9 +574,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
574
574
  version: '0'
575
575
  required_rubygems_version: !ruby/object:Gem::Requirement
576
576
  requirements:
577
- - - ">"
577
+ - - ">="
578
578
  - !ruby/object:Gem::Version
579
- version: 1.3.1
579
+ version: '0'
580
580
  requirements: []
581
581
  rubyforge_project:
582
582
  rubygems_version: 2.6.14.4