redis-session-store 0.9.0 → 0.9.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- N2FjZTIzZDUyNjJhZmRjNzNmODNmYTEyM2E1ZWE3YTUyMGJhNjQ1Yw==
4
+ ZDg2OGU1YjUzMjA1OTgzOWQ3NzdkNDI2YWQ1NGNmZjBjNjQzMmE1Ng==
5
5
  data.tar.gz: !binary |-
6
- NmEzMWIwNzliODY3YmFhNzg2MDlhNDlkMWIyOTU3MjRiNjQyMGZiYg==
6
+ YzY5NDk0Y2U5ODIwYTIyMzlkZjM0ZDA4MDI0ZTk5ODNkNDNhNTJiNQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NmYyOTU1OTgzZTE2Mzk1MWFmYjI2ZDkzMTM2ZmIxMDYxOGZmODc2YzIyMmYw
10
- MTM3ODY4YTU5OWNkYmJiOTQyNDhiOTUzN2RlNDc5OTY0ZTViZTgyNTNlZmIy
11
- NDNhNGRiZWI3N2QyMGEyNjdjY2IxMDA3ZDE5NDFjNjBlMDliYWU=
9
+ YzZlNTc1MDRhODY3ZmRlM2NmYjQwNjY5NWRkMjgwMzk2MmMwYWRlNTBmOGY2
10
+ ZTljOGU4ODdlYjU2YTc3ZjdiOWQ3YmJiNTMwYzg5ZDkzMWZlM2E1YjYyNTcy
11
+ M2Y4ZjMxNWRmMTQyZWY0MGM5ZGM0YmU0OTQ4ZGRjNzRlNmViNTc=
12
12
  data.tar.gz: !binary |-
13
- NzA2OWQzMGY0NDU5ZTZiZThhYjg1Mzg1YjZjNmMzY2ExNmQ5M2EzNDk0YWI1
14
- NjRlOTdhODk5MzM1ZjliODNiNTE1YzFjMTkyNzMzNWU0YTIxMTRmNzFhZGQ1
15
- ZTg4ZTAyMjc5N2Q4MThhZmFkN2M0ZjFmMzYyZTU1MDUwNTZiMmM=
13
+ MGEyMGVmZWUyZDkxODMxN2UyM2Y2Y2Y4YWZiMzMwNDZhOTI0NWRkODg4ZjRi
14
+ NjJjM2I0NWY3YWQ1NGFkNmM1Y2QxZmRiODZiZTMxZGZhZWQ2NzliY2JiY2E0
15
+ OTczMjBkZjgwNGQyM2FlMjg2NzA1OWVjNmQ0YWY5YTM3YzQ5Yzc=
@@ -4,6 +4,13 @@
4
4
 
5
5
  ## [Unreleased]
6
6
 
7
+ ## [0.9.1] - 2016-07-03
8
+ ### Added
9
+ - More specific runtime dependencies
10
+
11
+ ### Changed
12
+ - Documentation and whitespace
13
+
7
14
  ## [0.9.0] - 2016-07-02
8
15
  ### Added
9
16
  - [`CODE_OF_CONDUCT.md`](./CODE_OF_CONDUCT.md)
@@ -133,7 +140,7 @@
133
140
  - Renaming `load_session` method to not conflict with AbstractStore
134
141
 
135
142
  ## [0.2.2] - 2014-03-13 [YANKED]
136
- ### Changed
143
+ ### Changed
137
144
  - Regenerate session ID when session is missing
138
145
 
139
146
  ## [0.2.1] - 2013-09-17
@@ -155,7 +162,7 @@
155
162
  ## [0.1.9] - 2012-03-06
156
163
  ### Changed
157
164
  - Use `@redis.setex` when expiry provided, else `@redis.set`
158
- - gemification
165
+ - gemification
159
166
  - Options hash to no longer expect redis options at same level
160
167
 
161
168
  ## [0.1.8] - 2010-12-09
@@ -194,7 +201,8 @@
194
201
  ### Added
195
202
  - first working version
196
203
 
197
- [Unreleased]: https://github.com/roidrage/redis-session-store/compare/v0.9.0...HEAD
204
+ [Unreleased]: https://github.com/roidrage/redis-session-store/compare/v0.9.1...HEAD
205
+ [0.9.1]: https://github.com/roidrage/redis-session-store/compare/v0.9.0...v0.9.1
198
206
  [0.9.0]: https://github.com/roidrage/redis-session-store/compare/v0.8.1...v0.9.0
199
207
  [0.8.1]: https://github.com/roidrage/redis-session-store/compare/v0.8.0...v0.8.1
200
208
  [0.8.0]: https://github.com/roidrage/redis-session-store/compare/v0.7.0...v0.8.0
data/README.md CHANGED
@@ -1,9 +1,8 @@
1
- Redis Session Store
2
- ===================
1
+ # Redis Session Store
3
2
 
4
- [![Build Status](https://travis-ci.org/roidrage/redis-session-store.png?branch=master)](https://travis-ci.org/roidrage/redis-session-store)
5
- [![Code Climate](https://codeclimate.com/github/roidrage/redis-session-store.png)](https://codeclimate.com/github/roidrage/redis-session-store)
6
- [![Gem Version](https://badge.fury.io/rb/redis-session-store.png)](http://badge.fury.io/rb/redis-session-store)
3
+ [![Build Status](https://travis-ci.org/roidrage/redis-session-store.svg?branch=master)](https://travis-ci.org/roidrage/redis-session-store)
4
+ [![Code Climate](https://codeclimate.com/github/roidrage/redis-session-store.svg)](https://codeclimate.com/github/roidrage/redis-session-store)
5
+ [![Gem Version](https://badge.fury.io/rb/redis-session-store.svg)](http://badge.fury.io/rb/redis-session-store)
7
6
 
8
7
  A simple Redis-based session store for Rails. But why, you ask,
9
8
  when there's [redis-store](http://github.com/jodosha/redis-store/)?
@@ -20,8 +19,7 @@ only suitable for Rails applications. For other frameworks or
20
19
  drop-in support for caching, check out
21
20
  [redis-store](http://github.com/jodosha/redis-store/).
22
21
 
23
- Installation
24
- ------------
22
+ ## Installation
25
23
 
26
24
  For Rails 3+, adding this to your `Gemfile` will do the trick.
27
25
 
@@ -29,8 +27,7 @@ For Rails 3+, adding this to your `Gemfile` will do the trick.
29
27
  gem 'redis-session-store'
30
28
  ```
31
29
 
32
- Configuration
33
- -------------
30
+ ## Configuration
34
31
 
35
32
  See `lib/redis-session-store.rb` for a list of valid options.
36
33
  In your Rails app, throw in an initializer with the following contents:
@@ -102,8 +99,7 @@ My::Application.config.session_store :redis_session_store, {
102
99
 
103
100
  **Note** The session will *always* be destroyed when it cannot be loaded.
104
101
 
105
- Rails 2 Compatibility
106
- ---------------------
102
+ ## Rails 2 Compatibility
107
103
 
108
104
  This gem is currently only compatible with Rails 3+. If you need
109
105
  Rails 2 compatibility, be sure to pin to a lower version like so:
@@ -111,8 +107,8 @@ Rails 2 compatibility, be sure to pin to a lower version like so:
111
107
  ``` ruby
112
108
  gem 'redis-session-store', '< 0.3'
113
109
  ```
114
- Contributing, Authors, & License
115
- --------------------------------
110
+
111
+ ## Contributing, Authors, & License
116
112
 
117
113
  See [CONTRIBUTING.md](CONTRIBUTING.md), [AUTHORS.md](AUTHORS.md), and
118
114
  [LICENSE](LICENSE), respectively.
@@ -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.9.0'.freeze
6
+ VERSION = '0.9.1'.freeze
7
7
  # Rails 3.1 and beyond defines the constant elsewhere
8
8
  unless defined?(ENV_SESSION_OPTIONS_KEY)
9
9
  if Rack.release.split('.').first.to_i > 1
@@ -4,7 +4,7 @@ Gem::Specification.new do |gem|
4
4
  gem.email = ['meyer@paperplanes.de']
5
5
  gem.summary = 'A drop-in replacement for e.g. MemCacheStore to ' \
6
6
  'store Rails sessions (and Rails sessions only) in Redis.'
7
- gem.description = gem.summary
7
+ gem.description = gem.summary + ' For great glory!'
8
8
  gem.homepage = 'https://github.com/roidrage/redis-session-store'
9
9
  gem.license = 'MIT'
10
10
 
@@ -16,12 +16,12 @@ Gem::Specification.new do |gem|
16
16
  gem.version = File.read('lib/redis-session-store.rb')
17
17
  .match(/^ VERSION = '(.*)'/)[1]
18
18
 
19
- gem.add_runtime_dependency 'redis'
19
+ gem.add_runtime_dependency 'redis', '~> 3'
20
20
  gem.add_runtime_dependency 'actionpack', '>= 3', '< 5.1'
21
21
 
22
- gem.add_development_dependency 'fakeredis'
23
- gem.add_development_dependency 'rake'
24
- gem.add_development_dependency 'rspec'
25
- gem.add_development_dependency 'rubocop'
26
- gem.add_development_dependency 'simplecov'
22
+ gem.add_development_dependency 'fakeredis', '~> 0.5'
23
+ gem.add_development_dependency 'rake', '~> 11'
24
+ gem.add_development_dependency 'rspec', '~> 3'
25
+ gem.add_development_dependency 'rubocop', '~> 0.41'
26
+ gem.add_development_dependency 'simplecov', '~> 0.11'
27
27
  end
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: redis-session-store
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.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: 2016-07-02 00:00:00.000000000 Z
11
+ date: 2016-07-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: redis
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ! '>='
17
+ - - ~>
18
18
  - !ruby/object:Gem::Version
19
- version: '0'
19
+ version: '3'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ! '>='
24
+ - - ~>
25
25
  - !ruby/object:Gem::Version
26
- version: '0'
26
+ version: '3'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: actionpack
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -48,74 +48,74 @@ dependencies:
48
48
  name: fakeredis
49
49
  requirement: !ruby/object:Gem::Requirement
50
50
  requirements:
51
- - - ! '>='
51
+ - - ~>
52
52
  - !ruby/object:Gem::Version
53
- version: '0'
53
+ version: '0.5'
54
54
  type: :development
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
57
  requirements:
58
- - - ! '>='
58
+ - - ~>
59
59
  - !ruby/object:Gem::Version
60
- version: '0'
60
+ version: '0.5'
61
61
  - !ruby/object:Gem::Dependency
62
62
  name: rake
63
63
  requirement: !ruby/object:Gem::Requirement
64
64
  requirements:
65
- - - ! '>='
65
+ - - ~>
66
66
  - !ruby/object:Gem::Version
67
- version: '0'
67
+ version: '11'
68
68
  type: :development
69
69
  prerelease: false
70
70
  version_requirements: !ruby/object:Gem::Requirement
71
71
  requirements:
72
- - - ! '>='
72
+ - - ~>
73
73
  - !ruby/object:Gem::Version
74
- version: '0'
74
+ version: '11'
75
75
  - !ruby/object:Gem::Dependency
76
76
  name: rspec
77
77
  requirement: !ruby/object:Gem::Requirement
78
78
  requirements:
79
- - - ! '>='
79
+ - - ~>
80
80
  - !ruby/object:Gem::Version
81
- version: '0'
81
+ version: '3'
82
82
  type: :development
83
83
  prerelease: false
84
84
  version_requirements: !ruby/object:Gem::Requirement
85
85
  requirements:
86
- - - ! '>='
86
+ - - ~>
87
87
  - !ruby/object:Gem::Version
88
- version: '0'
88
+ version: '3'
89
89
  - !ruby/object:Gem::Dependency
90
90
  name: rubocop
91
91
  requirement: !ruby/object:Gem::Requirement
92
92
  requirements:
93
- - - ! '>='
93
+ - - ~>
94
94
  - !ruby/object:Gem::Version
95
- version: '0'
95
+ version: '0.41'
96
96
  type: :development
97
97
  prerelease: false
98
98
  version_requirements: !ruby/object:Gem::Requirement
99
99
  requirements:
100
- - - ! '>='
100
+ - - ~>
101
101
  - !ruby/object:Gem::Version
102
- version: '0'
102
+ version: '0.41'
103
103
  - !ruby/object:Gem::Dependency
104
104
  name: simplecov
105
105
  requirement: !ruby/object:Gem::Requirement
106
106
  requirements:
107
- - - ! '>='
107
+ - - ~>
108
108
  - !ruby/object:Gem::Version
109
- version: '0'
109
+ version: '0.11'
110
110
  type: :development
111
111
  prerelease: false
112
112
  version_requirements: !ruby/object:Gem::Requirement
113
113
  requirements:
114
- - - ! '>='
114
+ - - ~>
115
115
  - !ruby/object:Gem::Version
116
- version: '0'
116
+ version: '0.11'
117
117
  description: A drop-in replacement for e.g. MemCacheStore to store Rails sessions
118
- (and Rails sessions only) in Redis.
118
+ (and Rails sessions only) in Redis. For great glory!
119
119
  email:
120
120
  - meyer@paperplanes.de
121
121
  executables: []