rack-redis-session-store 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +6 -14
- data/lib/rack-redis-session-store.rb +2 -1
- data/lib/version.rb +1 -1
- metadata +12 -12
checksums.yaml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
metadata.gz: !binary |-
|
9
|
-
ZWNhZjMzNGFmYTJjNTVmMGEyOTc0MjA4NTRjY2Y5Mzc0ZTMzZGFkN2UxYjgw
|
10
|
-
MTA5MTQzMzgxNWIzNGYwMjgxYmI3NWRjNjk3MWE1NTI0ZjMzM2Q1Mjc4OWZj
|
11
|
-
MzA5NjBlMDdkZTFkNTBiYjMzNTI1YzdmZTMxNmFkZTYwZDk5ZDI=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
ZDQ2M2UxZGM3NjRlNWUzZTBmNTBiMmYxYTI2NDAxM2MyNjEyMWRmY2NmNDk1
|
14
|
-
MjNiMDA4YmVlMGZiMDBlNmYyOWRmODg4ZGQ3YzJhZDZhNDQ0YzNiNDhiZDMx
|
15
|
-
MmViOGVlNjYyNmQ0YTg3N2Y2NWJjZDFkZThkYjhjNmUxZjgzYjg=
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 3d8102d98ebdf4e5dfc81669c510fb69218d56a1
|
4
|
+
data.tar.gz: 9fa3a7b47f568d7151329de3c989fd139d619909
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: d05f7b3828f5ad16ed047c134d38d535ec524cb9439eecf909fa458bd26259c922604454e409f67d6625548ebe6af58cd378fbb769613b2c1faf1e0e4e190227
|
7
|
+
data.tar.gz: 9e77b410d3d06d95bf504de9184aa74ee2f973e3188dacc433ba4ff6bc361fde0c52cafc571fe0e70af5db870b53645b916f927a0f8113c0a49de4657358a260
|
@@ -45,11 +45,12 @@ module ActionDispatch
|
|
45
45
|
json = Jbuilder.encode do |json|
|
46
46
|
json.(new_session, *new_session.keys)
|
47
47
|
end
|
48
|
-
|
48
|
+
redis.setex session_id, options[:expire_after],json
|
49
49
|
end
|
50
50
|
end
|
51
51
|
#For some reason, rack doesn't set new session_id to options[:id]
|
52
52
|
options[:id] = session_id
|
53
|
+
return true
|
53
54
|
end
|
54
55
|
|
55
56
|
def destroy_session(env, session_id, options)
|
data/lib/version.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
VERSION = '2.0.
|
1
|
+
VERSION = '2.0.1'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rack-redis-session-store
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Le Duc Duy
|
@@ -28,56 +28,56 @@ dependencies:
|
|
28
28
|
name: connection_pool
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - '>='
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '0'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - '>='
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: redis
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - '>='
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '0'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - '>='
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: hiredis
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - '>='
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '0'
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- -
|
66
|
+
- - '>='
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: jbuilder
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- -
|
73
|
+
- - '>='
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: '0'
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- -
|
80
|
+
- - '>='
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
83
|
description: Multi-threaded Redis store for rack ID-based session (connection pooled
|
@@ -106,17 +106,17 @@ require_paths:
|
|
106
106
|
- lib
|
107
107
|
required_ruby_version: !ruby/object:Gem::Requirement
|
108
108
|
requirements:
|
109
|
-
- -
|
109
|
+
- - '>='
|
110
110
|
- !ruby/object:Gem::Version
|
111
111
|
version: '0'
|
112
112
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
113
113
|
requirements:
|
114
|
-
- -
|
114
|
+
- - '>='
|
115
115
|
- !ruby/object:Gem::Version
|
116
116
|
version: '0'
|
117
117
|
requirements: []
|
118
118
|
rubyforge_project:
|
119
|
-
rubygems_version: 2.0.
|
119
|
+
rubygems_version: 2.0.6
|
120
120
|
signing_key:
|
121
121
|
specification_version: 4
|
122
122
|
summary: ''
|