honkster-redis-store 0.3.14 → 0.3.15

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/rack/session/redis.rb +1 -4
  3. metadata +3 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.14
1
+ 0.3.15
@@ -46,7 +46,6 @@ module Rack
46
46
  ret = @pool.marshalled_set prefixed(sid), session
47
47
  raise "Session collision on '#{prefixed(sid).inspect}'" unless ret
48
48
  end
49
- session.instance_variable_set('@old', {}.merge(session))
50
49
  return [sid, session]
51
50
  rescue Errno::ECONNREFUSED
52
51
  warn "#{self} is unable to find server."
@@ -65,9 +64,7 @@ module Rack
65
64
  session_id = generate_sid
66
65
  @pool.marshalled_set prefixed(session_id), 0
67
66
  end
68
- old_session = new_session.instance_variable_get('@old') || {}
69
- session = merge_sessions session_id, old_session, new_session, session
70
- @pool.marshalled_set prefixed(session_id), session, options
67
+ @pool.marshalled_set prefixed(session_id), new_session, options
71
68
  return session_id
72
69
  rescue Errno::ECONNREFUSED
73
70
  warn "#{self} is unable to find server."
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: honkster-redis-store
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
4
+ hash: 13
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 14
10
- version: 0.3.14
9
+ - 15
10
+ version: 0.3.15
11
11
  platform: ruby
12
12
  authors:
13
13
  - Luca Guidi