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.
Files changed (3) hide show
  1. data/Rakefile +1 -1
  2. data/lib/redis-session-store.rb +2 -4
  3. metadata +4 -4
data/Rakefile CHANGED
@@ -4,7 +4,7 @@ require 'rubygems/specification'
4
4
 
5
5
  spec = Gem::Specification.new do |s|
6
6
  s.name = 'redis-session-store'
7
- s.version = '0.1.7'
7
+ s.version = '0.1.8'
8
8
  s.platform = Gem::Platform::RUBY
9
9
  s.has_rdoc = true
10
10
  s.extra_rdoc_files = ["LICENSE"]
@@ -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.pipelined do
55
- @redis.set(prefixed(sid), Marshal.dump(session_data))
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: 21
4
+ hash: 11
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 7
10
- version: 0.1.7
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-09 00:00:00 +01:00
18
+ date: 2010-12-10 00:00:00 +01:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency