redis-rack 1.4.4 → 1.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +4 -2
- data/Gemfile +1 -3
- data/README.md +15 -26
- data/Rakefile +6 -2
- data/lib/redis/rack/version.rb +1 -1
- data/redis-rack.gemspec +4 -6
- data/test/redis/rack/version_test.rb +1 -1
- metadata +8 -24
- data/.travis.yml +0 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7a35f2700143032ab7d59a4be80991ee82315835
|
4
|
+
data.tar.gz: b563eaf2efe6e8a116a6998536b5fc284aa19a12
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b1eccbce3b52d84841f1ee98485c86377025144e70c6e83ace2da544fa7ed348a7d9084bbafbba73e4f69ad9c11531b4595c97fa1d28f57012592a0d0bf17ddc
|
7
|
+
data.tar.gz: 7a73557b27db1b7622ab8090534b2ef6e0ce6db0ff989262528983ca6b2241b6a297fba16c9b85f55015b0d3d3532b99fbf6ee59b52ac619539f101508114d09
|
data/.gitignore
CHANGED
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -1,43 +1,32 @@
|
|
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/jodosha/redis-store) for general guidelines.
|
4
4
|
|
5
5
|
## Installation
|
6
6
|
|
7
|
-
|
8
|
-
|
9
|
-
gem 'redis-rack'
|
10
|
-
```
|
7
|
+
# Gemfile
|
8
|
+
gem 'redis-rack'
|
11
9
|
|
12
|
-
|
10
|
+
### Usage
|
13
11
|
|
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:
|
12
|
+
If you are using redis-store with Rails, consider using the [redis-rails gem](https://github.com/jodosha/redis-store/tree/master/redis-rails) instead. For standalone usage:
|
15
13
|
|
16
|
-
|
17
|
-
|
18
|
-
require 'rack'
|
19
|
-
require 'rack/session/redis'
|
14
|
+
# config.ru
|
15
|
+
require 'rack'
|
16
|
+
require 'rack/session/redis'
|
20
17
|
|
21
|
-
use Rack::Session::Redis
|
22
|
-
```
|
18
|
+
use Rack::Session::Redis
|
23
19
|
|
24
20
|
## Running tests
|
25
21
|
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
bundle install
|
32
|
-
bundle exec rake
|
33
|
-
```
|
22
|
+
gem install bundler
|
23
|
+
git clone git://github.com/jodosha/redis-store.git
|
24
|
+
cd redis-store/redis-rack
|
25
|
+
bundle install
|
26
|
+
bundle exec rake
|
34
27
|
|
35
28
|
If you are on **Snow Leopard** you have to run `env ARCHFLAGS="-arch x86_64" bundle exec rake`
|
36
29
|
|
37
|
-
## Status
|
38
|
-
|
39
|
-
[![Build Status](https://secure.travis-ci.org/redis-store/redis-rack.png?branch=1.4.x)](http://travis-ci.org/jodosha/redis-rack?branch=1.4.x)
|
40
|
-
|
41
30
|
## Copyright
|
42
31
|
|
43
|
-
2009 - 2013 Luca Guidi - [http://lucaguidi.com](http://lucaguidi.com), released under the MIT license
|
32
|
+
(c) 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,10 +7,9 @@ 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
|
13
|
-
s.license = 'MIT'
|
12
|
+
s.description = %q{Redis Store for Rack}
|
14
13
|
|
15
14
|
s.rubyforge_project = 'redis-rack'
|
16
15
|
|
@@ -19,13 +18,12 @@ Gem::Specification.new do |s|
|
|
19
18
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
20
19
|
s.require_paths = ["lib"]
|
21
20
|
|
22
|
-
s.add_runtime_dependency 'redis-store',
|
23
|
-
s.add_runtime_dependency 'rack',
|
21
|
+
s.add_runtime_dependency 'redis-store', '~> 1.1.0'
|
22
|
+
s.add_runtime_dependency 'rack', '~> 1.5'
|
24
23
|
|
25
24
|
s.add_development_dependency 'rake', '~> 10'
|
26
25
|
s.add_development_dependency 'bundler', '~> 1.3'
|
27
26
|
s.add_development_dependency 'mocha', '~> 0.14.0'
|
28
27
|
s.add_development_dependency 'minitest', '~> 5'
|
29
|
-
s.add_development_dependency 'redis-store-testing'
|
30
28
|
end
|
31
29
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: redis-rack
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Luca Guidi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-08-
|
11
|
+
date: 2013-08-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: redis-store
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ~>
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.1.
|
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
|
-
version: 1.1.
|
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
|
-
version: 1.
|
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
|
-
version: 1.
|
40
|
+
version: '1.5'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rake
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -94,21 +94,7 @@ dependencies:
|
|
94
94
|
- - ~>
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '5'
|
97
|
-
|
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
|
97
|
+
description: Redis Store for Rack
|
112
98
|
email:
|
113
99
|
- me@lucaguidi.com
|
114
100
|
executables: []
|
@@ -116,7 +102,6 @@ extensions: []
|
|
116
102
|
extra_rdoc_files: []
|
117
103
|
files:
|
118
104
|
- .gitignore
|
119
|
-
- .travis.yml
|
120
105
|
- Gemfile
|
121
106
|
- MIT-LICENSE
|
122
107
|
- README.md
|
@@ -129,8 +114,7 @@ files:
|
|
129
114
|
- test/redis/rack/version_test.rb
|
130
115
|
- test/test_helper.rb
|
131
116
|
homepage: http://redis-store.org/redis-rack
|
132
|
-
licenses:
|
133
|
-
- MIT
|
117
|
+
licenses: []
|
134
118
|
metadata: {}
|
135
119
|
post_install_message:
|
136
120
|
rdoc_options: []
|