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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b70b309905cd6102b6227535fea4c661e3e739f5
4
- data.tar.gz: b2fc5e799864161b4b670812ead3474552bf2e03
3
+ metadata.gz: 7a35f2700143032ab7d59a4be80991ee82315835
4
+ data.tar.gz: b563eaf2efe6e8a116a6998536b5fc284aa19a12
5
5
  SHA512:
6
- metadata.gz: 1ee63f15b5dcb972a0fd3b6e7a60c535d08c894549a29689d5c4f67596611120932184f925aeee24bd80f42ffdf30a21053ceeb494ea59347eb06b80d7f85ecd
7
- data.tar.gz: e5d80ded588285c5450cad9241f77aed852a2632391d2727eb198791f9c13e889bf70a1267576c4ba30cf3c85957f839ae1c4798cd5c0e7900cbed6608fe8bba
6
+ metadata.gz: b1eccbce3b52d84841f1ee98485c86377025144e70c6e83ace2da544fa7ed348a7d9084bbafbba73e4f69ad9c11531b4595c97fa1d28f57012592a0d0bf17ddc
7
+ data.tar.gz: 7a73557b27db1b7622ab8090534b2ef6e0ce6db0ff989262528983ca6b2241b6a297fba16c9b85f55015b0d3d3532b99fbf6ee59b52ac619539f101508114d09
data/.gitignore CHANGED
@@ -1,3 +1,5 @@
1
- Gemfile.lock
2
1
  *.gem
3
- tmp/
2
+ .bundle
3
+ Gemfile.lock
4
+ pkg/*
5
+ tmp/*
data/Gemfile CHANGED
@@ -1,6 +1,4 @@
1
1
  source 'https://rubygems.org'
2
2
  gemspec
3
3
 
4
- if ::File.directory?(gem_path = '../redis-store')
5
- gem 'redis-store', '~> 1.1.4', path: gem_path
6
- end
4
+ gem 'redis-store', '~> 1.1.0', path: '../redis-store'
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/redis-store/redis-store) for general guidelines.
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
- ```ruby
8
- # Gemfile
9
- gem 'redis-rack'
10
- ```
7
+ # Gemfile
8
+ gem 'redis-rack'
11
9
 
12
- ## Usage
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
- ```ruby
17
- # config.ru
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
- ```shell
27
- gem install bundler
28
- git clone git://github.com/redis-store/redis-rack.git
29
- cd redis-rack
30
- git checkout -t origin/1.4.x
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
@@ -1,4 +1,8 @@
1
- require 'bundler/setup'
1
+ require 'bundler'
2
+ Bundler.setup
2
3
  require 'rake'
3
4
  require 'bundler/gem_tasks'
4
- require 'redis-store/testing/tasks'
5
+
6
+ load 'tasks/redis.tasks.rb'
7
+ task :default => 'redis:test:suite'
8
+
@@ -1,6 +1,6 @@
1
1
  class Redis
2
2
  module Rack
3
- VERSION = '1.4.4'
3
+ VERSION = '1.5.0'
4
4
  end
5
5
  end
6
6
 
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 = '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 applications}
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', '~> 1.1.4'
23
- s.add_runtime_dependency 'rack', '~> 1.4.0'
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
 
@@ -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.4.4'
5
+ Redis::Rack::VERSION.must_equal '1.5.0'
6
6
  end
7
7
  end
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.4
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-29 00:00:00.000000000 Z
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.4
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.4
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.4.0
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.4.0
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
- - !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
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: []
data/.travis.yml DELETED
@@ -1,14 +0,0 @@
1
- language: ruby
2
- script: 'bundle exec rake'
3
- rvm:
4
- - 1.9.3
5
- - 2.0.0
6
- - ruby-head
7
- - rbx-19mode
8
- - jruby-19mode
9
- - jruby-head
10
-
11
- matrix:
12
- allow_failures:
13
- - rvm: jruby-head
14
- - rvm: ruby-head