redis-session-store 0.11.0 → 0.11.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +7 -7
- data/AUTHORS.md +1 -0
- data/CHANGELOG.md +7 -1
- data/lib/redis-session-store.rb +1 -1
- data/redis-session-store.gemspec +1 -2
- data/spec/redis_session_store_spec.rb +2 -2
- metadata +3 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e919fbbb65cdfd2bf721443236c77fab4efff9eb9487a3497284124b2e5e409b
|
4
|
+
data.tar.gz: 9a65fb540e29e2e7bbb194145f4f2f6504a6817596bfd414b6103bc904c04227
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 00144ff816e03af78ccdeba339b3911bca4fc538ac197dc31dc88a7a4767e46ec42a31c46e33cdcf2d46bd6b1a53eea89e9f646c3d32aa70035f8c6e2d1fea7d
|
7
|
+
data.tar.gz: 6520432d7d7b75c5b6fb12667b825073ace04b26326aac856209ae53a93c8c1e6d67926f7d424fa14256670af5361307562640cfe6f29c19885158cc440c64fd
|
data/.travis.yml
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
language: ruby
|
2
|
-
sudo: false
|
3
2
|
cache: bundler
|
4
3
|
rvm:
|
5
|
-
- 2.3.
|
6
|
-
- 2.4.
|
7
|
-
- 2.5.
|
8
|
-
-
|
4
|
+
- 2.3.8
|
5
|
+
- 2.4.6
|
6
|
+
- 2.5.5
|
7
|
+
- 2.6.3
|
8
|
+
- jruby-9.2.8.0
|
9
9
|
matrix:
|
10
10
|
allow_failures:
|
11
|
-
- rvm: jruby-9.2.
|
11
|
+
- rvm: jruby-9.2.8.0
|
12
12
|
notifications:
|
13
13
|
email: false
|
14
14
|
deploy:
|
@@ -19,4 +19,4 @@ deploy:
|
|
19
19
|
on:
|
20
20
|
tags: true
|
21
21
|
repo: roidrage/redis-session-store
|
22
|
-
rvm: 2.3.
|
22
|
+
rvm: 2.3.8
|
data/AUTHORS.md
CHANGED
data/CHANGELOG.md
CHANGED
@@ -4,6 +4,11 @@
|
|
4
4
|
|
5
5
|
## [Unreleased]
|
6
6
|
|
7
|
+
## [0.11.1] - 2019-08-22
|
8
|
+
### Changed
|
9
|
+
- Remove the `has_rdoc` parameter from the `.gemspec` file as it has been deprecated.
|
10
|
+
- Actionpack to '>= 3', remove upper dependency
|
11
|
+
|
7
12
|
## [0.11.0] - 2018-08-13
|
8
13
|
### Changed
|
9
14
|
- JRuby to jruby-9.2.0.0
|
@@ -224,7 +229,8 @@
|
|
224
229
|
### Added
|
225
230
|
- first working version
|
226
231
|
|
227
|
-
[Unreleased]: https://github.com/roidrage/redis-session-store/compare/v0.11.
|
232
|
+
[Unreleased]: https://github.com/roidrage/redis-session-store/compare/v0.11.1...HEAD
|
233
|
+
[0.11.1]: https://github.com/roidrage/redis-session-store/compare/v0.11.0...v0.11.1
|
228
234
|
[0.11.0]: https://github.com/roidrage/redis-session-store/compare/v0.10.0...v0.11.0
|
229
235
|
[0.10.0]: https://github.com/roidrage/redis-session-store/compare/v0.9.2...v0.10.0
|
230
236
|
[0.9.2]: https://github.com/roidrage/redis-session-store/compare/v0.9.1...v0.9.2
|
data/lib/redis-session-store.rb
CHANGED
@@ -3,7 +3,7 @@ require 'redis'
|
|
3
3
|
# Redis session storage for Rails, and for Rails only. Derived from
|
4
4
|
# the MemCacheStore code, simply dropping in Redis instead.
|
5
5
|
class RedisSessionStore < ActionDispatch::Session::AbstractStore
|
6
|
-
VERSION = '0.11.
|
6
|
+
VERSION = '0.11.1'.freeze
|
7
7
|
# Rails 3.1 and beyond defines the constant elsewhere
|
8
8
|
unless defined?(ENV_SESSION_OPTIONS_KEY)
|
9
9
|
ENV_SESSION_OPTIONS_KEY = if Rack.release.split('.').first.to_i > 1
|
data/redis-session-store.gemspec
CHANGED
@@ -8,7 +8,6 @@ Gem::Specification.new do |gem|
|
|
8
8
|
gem.homepage = 'https://github.com/roidrage/redis-session-store'
|
9
9
|
gem.license = 'MIT'
|
10
10
|
|
11
|
-
gem.has_rdoc = true
|
12
11
|
gem.extra_rdoc_files = %w(LICENSE AUTHORS.md CONTRIBUTING.md)
|
13
12
|
|
14
13
|
gem.files = `git ls-files -z`.split("\x0")
|
@@ -16,7 +15,7 @@ Gem::Specification.new do |gem|
|
|
16
15
|
gem.version = File.read('lib/redis-session-store.rb')
|
17
16
|
.match(/^ VERSION = '(.*)'/)[1]
|
18
17
|
|
19
|
-
gem.add_runtime_dependency 'actionpack', '>= 3'
|
18
|
+
gem.add_runtime_dependency 'actionpack', '>= 3'
|
20
19
|
gem.add_runtime_dependency 'redis', '>= 3', '< 5'
|
21
20
|
|
22
21
|
gem.add_development_dependency 'fakeredis', '~> 0.5'
|
@@ -519,7 +519,7 @@ describe RedisSessionStore do
|
|
519
519
|
end
|
520
520
|
|
521
521
|
context 'when callable' do
|
522
|
-
let(:options) { {
|
522
|
+
let(:options) { { "#{h}": ->(*) { true } } }
|
523
523
|
|
524
524
|
it 'does not explode at init' do
|
525
525
|
expect { store }.to_not raise_error
|
@@ -527,7 +527,7 @@ describe RedisSessionStore do
|
|
527
527
|
end
|
528
528
|
|
529
529
|
context 'when not callable' do
|
530
|
-
let(:options) { {
|
530
|
+
let(:options) { { "#{h}": 'herpderp' } }
|
531
531
|
|
532
532
|
it 'explodes at init' do
|
533
533
|
expect { store }.to raise_error(ArgumentError)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: redis-session-store
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.11.
|
4
|
+
version: 0.11.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mathias Meyer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-08-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionpack
|
@@ -17,9 +17,6 @@ dependencies:
|
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '3'
|
20
|
-
- - "<"
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: '6'
|
23
20
|
type: :runtime
|
24
21
|
prerelease: false
|
25
22
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -27,9 +24,6 @@ dependencies:
|
|
27
24
|
- - ">="
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: '3'
|
30
|
-
- - "<"
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
version: '6'
|
33
27
|
- !ruby/object:Gem::Dependency
|
34
28
|
name: redis
|
35
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -168,8 +162,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
168
162
|
- !ruby/object:Gem::Version
|
169
163
|
version: '0'
|
170
164
|
requirements: []
|
171
|
-
|
172
|
-
rubygems_version: 2.7.6
|
165
|
+
rubygems_version: 3.0.6
|
173
166
|
signing_key:
|
174
167
|
specification_version: 4
|
175
168
|
summary: A drop-in replacement for e.g. MemCacheStore to store Rails sessions (and
|