coalescing_panda 5.1.4 → 5.1.5

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: bcdc3ee528ad33450c36b9bacd2935ddc508b021
4
- data.tar.gz: faa4fe4cdba14da7d260ceff84fe45fbd26dbdd2
3
+ metadata.gz: f317383eecefd1a67bcb72a09bd5630c1f3ecbbc
4
+ data.tar.gz: daa6e6ad5e3c7f93edb15ded3e974d23db9df7f4
5
5
  SHA512:
6
- metadata.gz: 7a0a02279da82108e5c7ed472932e6e59948b0d64845c35ef7bfa02dd85b0efc33288c24aa02cf3b952f9915c2f9801c1fef833e9a9e72fe62739e19b72b6756
7
- data.tar.gz: d48d2df6835e58324d4b750cb34c46000a3739faba5e465845ee935b354e183d2a0e0c2922cde1f705dc9b481e6c9fbbb7954e87db10f5994852b834d266f872
6
+ metadata.gz: 2a4e7e139bb2872b008da9486d5d828b4600793f8a28379720191a0f1d498af8b58ec0c5e6c0058fbe7910b6796fdc2c3c5a31f5c69f24cd9173a830fcd462a5
7
+ data.tar.gz: 555eb486c630dd9434da5c61ac86925cf3a05ad7567b50ef0b657f48010c1d0fb5b217715ff3ca8d9f53d5760539ea8a18a65e5fcb44dc14c5e9d0c06ec1e0fa
@@ -41,7 +41,7 @@ module CoalescingPanda
41
41
  @current_session = matched_session
42
42
  @current_session.data[:link_nonce] = nil
43
43
  elsif payload[:token_type] == 'fixed_ip' && matched_session.data[:remote_ip] == request.remote_ip &&
44
- DateTime.parse(matched_session.data[:last_ip_token_requested]) > 15.minutes.ago
44
+ DateTime.parse(matched_session.data[:last_ip_token_requested]) > session_expiration_period_minutes.minutes.ago
45
45
  @current_session = matched_session
46
46
  elsif payload[:token_type] == 'expiring' && DateTime.parse(matched_session.data[:last_token_requested]) > session_expiration_period_minutes.minutes.ago
47
47
  @current_session = matched_session
@@ -1,3 +1,3 @@
1
1
  module CoalescingPanda
2
- VERSION = '5.1.4'
2
+ VERSION = '5.1.5'
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.4
4
+ version: 5.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Mills