redis-session-store 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/lib/redis-session-store.rb +2 -4
- metadata +4 -4
data/Rakefile
CHANGED
data/lib/redis-session-store.rb
CHANGED
@@ -51,10 +51,8 @@ class RedisSessionStore < ActionController::Session::AbstractStore
|
|
51
51
|
options = env['rack.session.options']
|
52
52
|
expiry = options[:expire_after] || nil
|
53
53
|
|
54
|
-
@redis.
|
55
|
-
|
56
|
-
@redis.expire(prefixed(sid), expiry) if expiry
|
57
|
-
end
|
54
|
+
@redis.set(prefixed(sid), Marshal.dump(session_data))
|
55
|
+
@redis.expire(prefixed(sid), expiry) if expiry
|
58
56
|
|
59
57
|
return true
|
60
58
|
rescue Errno::ECONNREFUSED
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: redis-session-store
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 11
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 8
|
10
|
+
version: 0.1.8
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Mathias Meyer
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-12-
|
18
|
+
date: 2010-12-10 00:00:00 +01:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|