session-check 0.2.1 → 0.2.2

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
- SHA1:
3
- metadata.gz: 16803ac7fd0469f643b9aacc73254a87db85e8a3
4
- data.tar.gz: c90161833743e70451e8ab73cde0c8e7526a7c46
2
+ SHA256:
3
+ metadata.gz: 07a7b49d270eb3813831926948c5a94537afd803b55ff91979a2f9e1e8f18974
4
+ data.tar.gz: '039a97266a54b87b153c5a9873f28b5766101b9816c472e76211c41f4f68d704'
5
5
  SHA512:
6
- metadata.gz: a7e3da4042157e82630689a695fdd2fa99a54122d6c08b34194de3f88eb592401b29e02a10556f60e2b00fbae7985b951237aa6be809d55356d930c75640e09c
7
- data.tar.gz: fccdb0f50a09375cbb5009a716d379ef0c6bd8a5c2a03765396856dd26dba3c94b91654523c80d464de6db0b52e3473e1dd671d1f3618adbd59fefa2bbaf576e
6
+ metadata.gz: 119345d16f129b89b046a517b65e90542f1e19175ca0922f4d5e2264cfbc6dce81b926cdc86b39a121dd4cb02c2d15f6dc40092a6284f8eabdc2f5dc568e79ca
7
+ data.tar.gz: 12d33c5d10cc12e0c6e7b9fbfe36d4dda282cdfd357a0647a161e02585d835cf99ed39dc15548a3b2ca7ffe94c9b15d846858a8eeb9fe8adff97f2e0beec7412
@@ -2,7 +2,7 @@ class SessionChecksController < ActionController::Base
2
2
 
3
3
  skip_authorization_check if defined?(CanCan)
4
4
 
5
- prepend_before_filter :dont_update_request_time
5
+ prepend_before_action :dont_update_request_time
6
6
 
7
7
  # Find it there is a session, and if it has any warden information. If so, the user is logged in.
8
8
  def time_to_session_expiry
@@ -1,5 +1,5 @@
1
1
  module Session
2
2
  module Check
3
- VERSION = '0.2.1'
3
+ VERSION = '0.2.2'
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.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Harry Lascelles
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-19 00:00:00.000000000 Z
11
+ date: 2020-01-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">"
18
18
  - !ruby/object:Gem::Version
19
- version: '3.0'
19
+ version: '5.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">"
25
25
  - !ruby/object:Gem::Version
26
- version: '3.0'
26
+ version: '5.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: devise
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -73,10 +73,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
- rubyforge_project:
77
- rubygems_version: 2.2.2
76
+ rubygems_version: 3.0.3
78
77
  signing_key:
79
78
  specification_version: 4
80
79
  summary: A gem for JS clients to check if their session has expired.
81
80
  test_files: []
82
- has_rdoc: