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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7a35f2700143032ab7d59a4be80991ee82315835
4
- data.tar.gz: b563eaf2efe6e8a116a6998536b5fc284aa19a12
3
+ metadata.gz: 16ba1a9bab4d224f9667bb1eaf9b03507437c79c
4
+ data.tar.gz: 52ce65b51c10ac80fba79588068850b3b5af8327
5
5
  SHA512:
6
- metadata.gz: b1eccbce3b52d84841f1ee98485c86377025144e70c6e83ace2da544fa7ed348a7d9084bbafbba73e4f69ad9c11531b4595c97fa1d28f57012592a0d0bf17ddc
7
- data.tar.gz: 7a73557b27db1b7622ab8090534b2ef6e0ce6db0ff989262528983ca6b2241b6a297fba16c9b85f55015b0d3d3532b99fbf6ee59b52ac619539f101508114d09
6
+ metadata.gz: e24233635bebe2e09dc8bc6daa7c8722f9aa5bed66071e051f559711b90ff285c32da5842ccb2ed5df40c4cb5d3b8eaae29dd786521fead1e42428e094ce7d76
7
+ data.tar.gz: e4b54b4d2bb04225e0a741e1973e90fca6745ac197d16aabdad1ef9cc59d7f995cbe4c8e6fdeacf029b9f5e3f91117c8f8de1f5d2d9734c6a074c1ca3ac67eb8
data/.gitignore CHANGED
@@ -1,5 +1,4 @@
1
- *.gem
2
- .bundle
3
1
  Gemfile.lock
4
- pkg/*
5
- tmp/*
2
+ *.gem
3
+ tmp/
4
+ stdout
@@ -0,0 +1,12 @@
1
+ language: ruby
2
+ script: 'bundle exec rake'
3
+ rvm:
4
+ - 1.9.3
5
+ - 2.0.0
6
+ - ruby-head
7
+ - jruby-head
8
+
9
+ matrix:
10
+ allow_failures:
11
+ - rvm: jruby-head
12
+ - rvm: ruby-head
data/Gemfile CHANGED
@@ -1,4 +1,2 @@
1
1
  source 'https://rubygems.org'
2
2
  gemspec
3
-
4
- gem 'redis-store', '~> 1.1.0', path: '../redis-store'
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/jodosha/redis-store) for general guidelines.
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
- # Gemfile
8
- gem 'redis-rack'
7
+ ```ruby
8
+ # Gemfile
9
+ gem 'redis-rack'
10
+ ```
9
11
 
10
- ### Usage
12
+ ## Usage
11
13
 
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:
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
- # config.ru
15
- require 'rack'
16
- require 'rack/session/redis'
16
+ ```ruby
17
+ # config.ru
18
+ require 'rack'
19
+ require 'rack/session/redis'
17
20
 
18
- use Rack::Session::Redis
21
+ use Rack::Session::Redis
22
+ ```
19
23
 
20
24
  ## Running tests
21
25
 
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
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
- (c) 2009 - 2013 Luca Guidi - [http://lucaguidi.com](http://lucaguidi.com), released under the MIT license
42
+ 2009 - 2013 Luca Guidi - [http://lucaguidi.com](http://lucaguidi.com), released under the MIT license
data/Rakefile CHANGED
@@ -1,8 +1,4 @@
1
- require 'bundler'
2
- Bundler.setup
1
+ require 'bundler/setup'
3
2
  require 'rake'
4
3
  require 'bundler/gem_tasks'
5
-
6
- load 'tasks/redis.tasks.rb'
7
- task :default => 'redis:test:suite'
8
-
4
+ require 'redis-store/testing/tasks'
@@ -1,6 +1,6 @@
1
1
  class Redis
2
2
  module Rack
3
- VERSION = '1.5.0'
3
+ VERSION = '1.5.1'
4
4
  end
5
5
  end
6
6
 
@@ -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 = "http://redis-store.org/redis-rack"
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
 
@@ -2,6 +2,6 @@ require 'test_helper'
2
2
 
3
3
  describe Redis::Rack::VERSION do
4
4
  it 'returns current version' do
5
- Redis::Rack::VERSION.must_equal '1.5.0'
5
+ Redis::Rack::VERSION.must_equal '1.5.1'
6
6
  end
7
7
  end
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.0
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: 2013-08-20 00:00:00.000000000 Z
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
- description: Redis Store for Rack
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.0.3
151
+ rubygems_version: 2.6.14
136
152
  signing_key:
137
153
  specification_version: 4
138
154
  summary: Redis Store for Rack