redis-session-store 0.6.0 → 0.6.1

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  redis-session-store history
2
2
  ===========================
3
3
 
4
+ ## v0.6.1 (2014-03-17)
5
+
6
+ * Fix compatibility with `ActionDispatch::Request::Session::Options`
7
+ when destroying sessions.
8
+
4
9
  ## v0.6.0 (2014-03-17)
5
10
 
6
11
  * Add custom serializer configuration
@@ -4,7 +4,7 @@ require 'redis'
4
4
  # Redis session storage for Rails, and for Rails only. Derived from
5
5
  # the MemCacheStore code, simply dropping in Redis instead.
6
6
  class RedisSessionStore < ActionDispatch::Session::AbstractStore
7
- VERSION = '0.6.0'
7
+ VERSION = '0.6.1'
8
8
 
9
9
  # ==== Options
10
10
  # * +:key+ - Same as with the other cookie stores, key name
@@ -126,7 +126,7 @@ class RedisSessionStore < ActionDispatch::Session::AbstractStore
126
126
  end
127
127
 
128
128
  def destroy_session(env, sid, options)
129
- destroy_session_from_sid(sid, (options || {}).merge(env: env))
129
+ destroy_session_from_sid(sid, (options || {}).to_hash.merge(env: env))
130
130
  end
131
131
 
132
132
  def destroy(env)
metadata CHANGED
@@ -1,7 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: redis-session-store
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - Mathias Meyer
@@ -13,85 +14,97 @@ dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: redis
15
16
  requirement: !ruby/object:Gem::Requirement
17
+ none: false
16
18
  requirements:
17
- - - ">="
19
+ - - ! '>='
18
20
  - !ruby/object:Gem::Version
19
21
  version: '0'
20
22
  type: :runtime
21
23
  prerelease: false
22
24
  version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
23
26
  requirements:
24
- - - ">="
27
+ - - ! '>='
25
28
  - !ruby/object:Gem::Version
26
29
  version: '0'
27
30
  - !ruby/object:Gem::Dependency
28
31
  name: fakeredis
29
32
  requirement: !ruby/object:Gem::Requirement
33
+ none: false
30
34
  requirements:
31
- - - ">="
35
+ - - ! '>='
32
36
  - !ruby/object:Gem::Version
33
37
  version: '0'
34
38
  type: :development
35
39
  prerelease: false
36
40
  version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
37
42
  requirements:
38
- - - ">="
43
+ - - ! '>='
39
44
  - !ruby/object:Gem::Version
40
45
  version: '0'
41
46
  - !ruby/object:Gem::Dependency
42
47
  name: rake
43
48
  requirement: !ruby/object:Gem::Requirement
49
+ none: false
44
50
  requirements:
45
- - - ">="
51
+ - - ! '>='
46
52
  - !ruby/object:Gem::Version
47
53
  version: '0'
48
54
  type: :development
49
55
  prerelease: false
50
56
  version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
51
58
  requirements:
52
- - - ">="
59
+ - - ! '>='
53
60
  - !ruby/object:Gem::Version
54
61
  version: '0'
55
62
  - !ruby/object:Gem::Dependency
56
63
  name: rspec
57
64
  requirement: !ruby/object:Gem::Requirement
65
+ none: false
58
66
  requirements:
59
- - - ">="
67
+ - - ! '>='
60
68
  - !ruby/object:Gem::Version
61
69
  version: '0'
62
70
  type: :development
63
71
  prerelease: false
64
72
  version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
65
74
  requirements:
66
- - - ">="
75
+ - - ! '>='
67
76
  - !ruby/object:Gem::Version
68
77
  version: '0'
69
78
  - !ruby/object:Gem::Dependency
70
79
  name: rubocop
71
80
  requirement: !ruby/object:Gem::Requirement
81
+ none: false
72
82
  requirements:
73
- - - ">="
83
+ - - ! '>='
74
84
  - !ruby/object:Gem::Version
75
85
  version: '0'
76
86
  type: :development
77
87
  prerelease: false
78
88
  version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
79
90
  requirements:
80
- - - ">="
91
+ - - ! '>='
81
92
  - !ruby/object:Gem::Version
82
93
  version: '0'
83
94
  - !ruby/object:Gem::Dependency
84
95
  name: simplecov
85
96
  requirement: !ruby/object:Gem::Requirement
97
+ none: false
86
98
  requirements:
87
- - - ">="
99
+ - - ! '>='
88
100
  - !ruby/object:Gem::Version
89
101
  version: '0'
90
102
  type: :development
91
103
  prerelease: false
92
104
  version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
93
106
  requirements:
94
- - - ">="
107
+ - - ! '>='
95
108
  - !ruby/object:Gem::Version
96
109
  version: '0'
97
110
  description: A drop-in replacement for e.g. MemCacheStore to store Rails sessions
@@ -105,11 +118,11 @@ extra_rdoc_files:
105
118
  - AUTHORS.md
106
119
  - CONTRIBUTING.md
107
120
  files:
108
- - ".gitignore"
109
- - ".rspec"
110
- - ".rubocop.yml"
111
- - ".simplecov"
112
- - ".travis.yml"
121
+ - .gitignore
122
+ - .rspec
123
+ - .rubocop.yml
124
+ - .simplecov
125
+ - .travis.yml
113
126
  - AUTHORS.md
114
127
  - CHANGELOG.md
115
128
  - CONTRIBUTING.md
@@ -125,26 +138,33 @@ files:
125
138
  homepage: https://github.com/roidrage/redis-session-store
126
139
  licenses:
127
140
  - MIT
128
- metadata: {}
129
141
  post_install_message:
130
142
  rdoc_options: []
131
143
  require_paths:
132
144
  - lib
133
145
  required_ruby_version: !ruby/object:Gem::Requirement
146
+ none: false
134
147
  requirements:
135
- - - ">="
148
+ - - ! '>='
136
149
  - !ruby/object:Gem::Version
137
150
  version: '0'
151
+ segments:
152
+ - 0
153
+ hash: 311231876661318648
138
154
  required_rubygems_version: !ruby/object:Gem::Requirement
155
+ none: false
139
156
  requirements:
140
- - - ">="
157
+ - - ! '>='
141
158
  - !ruby/object:Gem::Version
142
159
  version: '0'
160
+ segments:
161
+ - 0
162
+ hash: 311231876661318648
143
163
  requirements: []
144
164
  rubyforge_project:
145
- rubygems_version: 2.2.2
165
+ rubygems_version: 1.8.23
146
166
  signing_key:
147
- specification_version: 4
167
+ specification_version: 3
148
168
  summary: A drop-in replacement for e.g. MemCacheStore to store Rails sessions (and
149
169
  Rails sessions only) in Redis.
150
170
  test_files: []
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: f983cb90979acec73acae5cdfb437c49c55ab2ac
4
- data.tar.gz: db3641121bde418a8e3414e494e055f2cf9e1c38
5
- SHA512:
6
- metadata.gz: 8d342305a4a45503a240145c8dbbfaca8405ffafff0887a7c4bccdf0512cb701acb401509903d31b5b14901f9e5907c87ea9aa6096a12c727551b914ea1fcade
7
- data.tar.gz: a1558f707a7f04a99c7c52851f4cfe0540696a4bbe94b3450f707316c1c5bde503e279cabe0dc360ffbcc627353178f2463243bbcb1a797a715267275dc15484