session-check 0.2.3 → 0.2.4

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
  SHA256:
3
- metadata.gz: bd42f704dc2d985b075a53834624791f76971ae97758a926462f0bd13ae51ba7
4
- data.tar.gz: 77c725a234a8ddc6392be27fe8913da28a289131654587f34504492e46ac4283
3
+ metadata.gz: 24830dfb42af4ee2bde0875deb428f69c7990ab75de29aaf35c6a153622a306d
4
+ data.tar.gz: eb214d1d4b3b430b11287cc96fcb69f7afb4712d92c35f927cde90e7fdf023f3
5
5
  SHA512:
6
- metadata.gz: d5a33423fa3b99fe1862f33b46aaa1f4fa730ccde9053c95d5744a757301d3a8a81ae1c19743bd5148b002cd50790238dd7f460533e1f263178c16510e0af9a0
7
- data.tar.gz: 5014216fe8cbfb7c0b76f50b6a79a9d34d70ccad768d19acd5a499b733522413d13d68e52edefd056844baa45076314d151222940e360bff025405fddf205b3b
6
+ metadata.gz: d2064b4a1d4e1bc4568bbeae4caa652e8a35a666f36c62c713d0a66a1540575b9fb42c5ee2a011386442ea1f49156995e02979bc10b4b365b3b35b3284dce54e
7
+ data.tar.gz: 970f0aab87a62de6e2634f4261512dbbab144637a7e39dfb3a2a0b300535da8a62e81e117b30e7b6d5c23653ba0b0b70ca9ee3b0838e8c42051e24640f831f6a
@@ -16,8 +16,8 @@ class SessionChecksController < ActionController::Base
16
16
  render json: {session_exists: session_exists, session_expires_in: session_expires_in}
17
17
  end
18
18
 
19
- # This ensures this requeust ping doesn't update their last access time.
19
+ # This ensures this request ping doesn't update their last access time.
20
20
  def dont_update_request_time
21
- env['devise.skip_trackable'] = true
21
+ request.env['devise.skip_trackable'] = true
22
22
  end
23
23
  end
@@ -1,5 +1,5 @@
1
1
  module Session
2
2
  module Check
3
- VERSION = '0.2.3'
3
+ VERSION = '0.2.4'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: session-check
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Harry Lascelles
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-01-30 00:00:00.000000000 Z
11
+ date: 2020-08-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails