honkster-redis-store 0.3.15 → 0.3.16

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 +0 -18
  3. metadata +3 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.15
1
+ 0.3.16
@@ -78,24 +78,6 @@ module Rack
78
78
  def prefixed(sid)
79
79
  "#{@key_prefix}#{sid}"
80
80
  end
81
-
82
- def merge_sessions(sid, old, new, cur=nil)
83
- cur ||= {}
84
- unless Hash === old and Hash === new
85
- warn 'Bad old or new sessions provided.'
86
- return cur
87
- end
88
-
89
- delete = old.keys - new.keys
90
- warn "//@#{sid}: dropping #{delete*','}" if $DEBUG and not delete.empty?
91
- delete.each{|k| cur.del k }
92
-
93
- update = new.keys.select{|k| new[k] != old[k] }
94
- warn "//@#{sid}: updating #{update*','}" if $DEBUG and not update.empty?
95
- update.each{|k| cur[k] = new[k] }
96
-
97
- cur
98
- end
99
81
  end
100
82
  end
101
83
  end
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: 13
4
+ hash: 51
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 15
10
- version: 0.3.15
9
+ - 16
10
+ version: 0.3.16
11
11
  platform: ruby
12
12
  authors:
13
13
  - Luca Guidi