coalescing_panda 5.1.3.beta.2 → 5.1.3

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
  SHA1:
3
- metadata.gz: c5c88b9fcd0222696f789cd64db4c782ea171d0f
4
- data.tar.gz: e0dabfcd2034e3859875e073a035672d65dbdea5
3
+ metadata.gz: d0d95162b1397f3f63cefeea2307d14bdb446771
4
+ data.tar.gz: 3c81934197e230702d93700cb4c4706cbcbf78fa
5
5
  SHA512:
6
- metadata.gz: 1c3721812b472072ee61d2b8760890033975a40cf3dbd79e6c69b034718572a6e631fee1b1cd0b75beddc71b7fecc947cbe68bacdf1c88dbfe3aafa3ada24daa
7
- data.tar.gz: 1348d332f2651e084f1e458b834c3de5a2c7eb69586343fe602488e008daa3b3d295c31cc5287744e5d2e1a765dbfa30630475aa87885125de11a9deff2b4eca
6
+ metadata.gz: c9321fcd178dd6df1990e91b17676ca9e6d2762e8fe0aa6b27e00b26a7951470518eb1e4f847a9e4b73757ee264968a8a5f2ed55f2f7f6d33f8919269e0e4294
7
+ data.tar.gz: 0f96f9df3de844abc278f249ef0ec239537109762815b91b4c0dcdda72481116580b42e7b142b8e790959acb2e7b6add2642411071b1d29353ec8994a40658db
@@ -20,10 +20,6 @@ module CoalescingPanda
20
20
  @link_nonce_type = value
21
21
  end
22
22
  end
23
-
24
- def session_expiration_period_minutes
25
- superclass.try(:session_expiration_period_minutes) || 15
26
- end
27
23
  end
28
24
 
29
25
  def save_session
@@ -36,6 +32,7 @@ module CoalescingPanda
36
32
  if params[:session_token]
37
33
  payload = JSON.parse(session_cryptor.decrypt_and_verify(params[:session_token])).with_indifferent_access
38
34
  matched_session = find_or_create_session(key: payload[:session_key])
35
+ session_expiration_period_minutes = superclass.try(:session_expiration_period_minutes) || 15
39
36
  if matched_session.present?
40
37
  if payload[:token_type] == 'nonce' && matched_session.data[:link_nonce] == payload[:nonce]
41
38
  @current_session = matched_session
@@ -130,10 +127,6 @@ module CoalescingPanda
130
127
  self.class.link_nonce_type
131
128
  end
132
129
 
133
- def session_expiration_period_minutes
134
- self.session_expiration_period_minutes
135
- end
136
-
137
130
  private
138
131
 
139
132
  def session_cryptor
@@ -1,3 +1,3 @@
1
1
  module CoalescingPanda
2
- VERSION = '5.1.3.beta.2'
2
+ VERSION = '5.1.3'
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.2
4
+ version: 5.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Mills
@@ -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