redis-rack 1.5.0 → 1.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +3 -4
- data/.travis.yml +12 -0
- data/Gemfile +0 -2
- data/README.md +25 -15
- data/Rakefile +2 -6
- data/lib/redis/rack/version.rb +1 -1
- data/redis-rack.gemspec +4 -3
- data/test/redis/rack/version_test.rb +1 -1
- metadata +36 -20
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 16ba1a9bab4d224f9667bb1eaf9b03507437c79c
|
4
|
+
data.tar.gz: 52ce65b51c10ac80fba79588068850b3b5af8327
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e24233635bebe2e09dc8bc6daa7c8722f9aa5bed66071e051f559711b90ff285c32da5842ccb2ed5df40c4cb5d3b8eaae29dd786521fead1e42428e094ce7d76
|
7
|
+
data.tar.gz: e4b54b4d2bb04225e0a741e1973e90fca6745ac197d16aabdad1ef9cc59d7f995cbe4c8e6fdeacf029b9f5e3f91117c8f8de1f5d2d9734c6a074c1ca3ac67eb8
|
data/.gitignore
CHANGED
data/.travis.yml
ADDED
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -1,32 +1,42 @@
|
|
1
1
|
# Redis stores for Rack
|
2
2
|
|
3
|
-
__`redis-rack`__ provides a Redis backed session store __Rack__. See the main [redis-store readme](https://github.com/
|
3
|
+
__`redis-rack`__ provides a Redis backed session store __Rack__. See the main [redis-store readme](https://github.com/redis-store/redis-store) for general guidelines.
|
4
4
|
|
5
5
|
## Installation
|
6
6
|
|
7
|
-
|
8
|
-
|
7
|
+
```ruby
|
8
|
+
# Gemfile
|
9
|
+
gem 'redis-rack'
|
10
|
+
```
|
9
11
|
|
10
|
-
|
12
|
+
## Usage
|
11
13
|
|
12
|
-
If you are using redis-store with Rails, consider using the [redis-rails gem](https://github.com/
|
14
|
+
If you are using redis-store with Rails, consider using the [redis-rails gem](https://github.com/redis-store/redis-rails) instead. For standalone usage:
|
13
15
|
|
14
|
-
|
15
|
-
|
16
|
-
|
16
|
+
```ruby
|
17
|
+
# config.ru
|
18
|
+
require 'rack'
|
19
|
+
require 'rack/session/redis'
|
17
20
|
|
18
|
-
|
21
|
+
use Rack::Session::Redis
|
22
|
+
```
|
19
23
|
|
20
24
|
## Running tests
|
21
25
|
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
26
|
+
```shell
|
27
|
+
gem install bundler
|
28
|
+
git clone git://github.com/redis-store/redis-rack.git
|
29
|
+
cd redis-rack
|
30
|
+
bundle install
|
31
|
+
bundle exec rake
|
32
|
+
```
|
27
33
|
|
28
34
|
If you are on **Snow Leopard** you have to run `env ARCHFLAGS="-arch x86_64" bundle exec rake`
|
29
35
|
|
36
|
+
## Status
|
37
|
+
|
38
|
+
[![Gem Version](https://badge.fury.io/rb/redis-rack.png)](http://badge.fury.io/rb/redis-rack) [![Build Status](https://secure.travis-ci.org/redis-store/redis-rack.png?branch=master)](http://travis-ci.org/jodosha/redis-rack?branch=master) [![Code Climate](https://codeclimate.com/github/jodosha/redis-store.png)](https://codeclimate.com/github/redis-store/redis-rack)
|
39
|
+
|
30
40
|
## Copyright
|
31
41
|
|
32
|
-
|
42
|
+
2009 - 2013 Luca Guidi - [http://lucaguidi.com](http://lucaguidi.com), released under the MIT license
|
data/Rakefile
CHANGED
data/lib/redis/rack/version.rb
CHANGED
data/redis-rack.gemspec
CHANGED
@@ -7,15 +7,15 @@ Gem::Specification.new do |s|
|
|
7
7
|
s.version = Redis::Rack::VERSION
|
8
8
|
s.authors = ['Luca Guidi']
|
9
9
|
s.email = ['me@lucaguidi.com']
|
10
|
-
s.homepage =
|
10
|
+
s.homepage = 'http://redis-store.org/redis-rack'
|
11
11
|
s.summary = %q{Redis Store for Rack}
|
12
|
-
s.description = %q{Redis Store for Rack}
|
12
|
+
s.description = %q{Redis Store for Rack applications}
|
13
|
+
s.license = 'MIT'
|
13
14
|
|
14
15
|
s.rubyforge_project = 'redis-rack'
|
15
16
|
|
16
17
|
s.files = `git ls-files`.split("\n")
|
17
18
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
18
|
-
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
19
19
|
s.require_paths = ["lib"]
|
20
20
|
|
21
21
|
s.add_runtime_dependency 'redis-store', '~> 1.1.0'
|
@@ -25,5 +25,6 @@ Gem::Specification.new do |s|
|
|
25
25
|
s.add_development_dependency 'bundler', '~> 1.3'
|
26
26
|
s.add_development_dependency 'mocha', '~> 0.14.0'
|
27
27
|
s.add_development_dependency 'minitest', '~> 5'
|
28
|
+
s.add_development_dependency 'redis-store-testing'
|
28
29
|
end
|
29
30
|
|
metadata
CHANGED
@@ -1,107 +1,122 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: redis-rack
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Luca Guidi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-02-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: redis-store
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - ~>
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 1.1.0
|
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
26
|
version: 1.1.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rack
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - ~>
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '1.5'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - ~>
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '1.5'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rake
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - ~>
|
45
|
+
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '10'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - ~>
|
52
|
+
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '10'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: bundler
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - ~>
|
59
|
+
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '1.3'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - ~>
|
66
|
+
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '1.3'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: mocha
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- - ~>
|
73
|
+
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: 0.14.0
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- - ~>
|
80
|
+
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: 0.14.0
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: minitest
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- - ~>
|
87
|
+
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: '5'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- - ~>
|
94
|
+
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '5'
|
97
|
-
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: redis-store-testing
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
description: Redis Store for Rack applications
|
98
112
|
email:
|
99
113
|
- me@lucaguidi.com
|
100
114
|
executables: []
|
101
115
|
extensions: []
|
102
116
|
extra_rdoc_files: []
|
103
117
|
files:
|
104
|
-
- .gitignore
|
118
|
+
- ".gitignore"
|
119
|
+
- ".travis.yml"
|
105
120
|
- Gemfile
|
106
121
|
- MIT-LICENSE
|
107
122
|
- README.md
|
@@ -114,7 +129,8 @@ files:
|
|
114
129
|
- test/redis/rack/version_test.rb
|
115
130
|
- test/test_helper.rb
|
116
131
|
homepage: http://redis-store.org/redis-rack
|
117
|
-
licenses:
|
132
|
+
licenses:
|
133
|
+
- MIT
|
118
134
|
metadata: {}
|
119
135
|
post_install_message:
|
120
136
|
rdoc_options: []
|
@@ -122,17 +138,17 @@ require_paths:
|
|
122
138
|
- lib
|
123
139
|
required_ruby_version: !ruby/object:Gem::Requirement
|
124
140
|
requirements:
|
125
|
-
- -
|
141
|
+
- - ">="
|
126
142
|
- !ruby/object:Gem::Version
|
127
143
|
version: '0'
|
128
144
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
129
145
|
requirements:
|
130
|
-
- -
|
146
|
+
- - ">="
|
131
147
|
- !ruby/object:Gem::Version
|
132
148
|
version: '0'
|
133
149
|
requirements: []
|
134
150
|
rubyforge_project: redis-rack
|
135
|
-
rubygems_version: 2.
|
151
|
+
rubygems_version: 2.6.14
|
136
152
|
signing_key:
|
137
153
|
specification_version: 4
|
138
154
|
summary: Redis Store for Rack
|