qubole-redis-rails 5.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.github/auto-assign-issues.yml +2 -0
- data/.gitignore +6 -0
- data/.travis.yml +21 -0
- data/Appraisals +7 -0
- data/CHANGELOG.md +80 -0
- data/CODEOWNERS +1 -0
- data/Gemfile +29 -0
- data/MIT-LICENSE +20 -0
- data/README.md +187 -0
- data/Rakefile +4 -0
- data/bin/appraisal +17 -0
- data/gemfiles/rails_4.gemfile +7 -0
- data/gemfiles/rails_5.gemfile +7 -0
- data/lib/redis-rails.rb +10 -0
- data/lib/redis-rails/version.rb +5 -0
- data/redis-rails.gemspec +31 -0
- data/test/redis_rails_test.rb +11 -0
- data/test/test_helper.rb +4 -0
- metadata +197 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 3cc4437d1d1b5fee3d52f36dfff49240f71638ee
|
4
|
+
data.tar.gz: d7ae5604c6ae58b351355d2de16d0925331b7d60
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 32894aa0c3b4dddfca966b319d04fdaa38922cc8cabd2c987954c76efc1a404344da1bb841e3c67587b080d00214612eea02da9be37d50c2b17df744f76903aa
|
7
|
+
data.tar.gz: ec8b47faf1a2820a22623d449a5cabe8a30d05816af8308e8ed86c68de0ae26b3c5b05af24f6054b6afbd4142cd43427597a589005d0f95c5e1f26d9f5c8f7ec
|
data/.gitignore
ADDED
data/.travis.yml
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
language: ruby
|
2
|
+
before_install: gem install bundler
|
3
|
+
script: bundle exec rake
|
4
|
+
rvm:
|
5
|
+
- 2.2
|
6
|
+
- 2.3
|
7
|
+
- 2.4.0
|
8
|
+
- ruby-head
|
9
|
+
- jruby-head
|
10
|
+
matrix:
|
11
|
+
allow_failures:
|
12
|
+
- rvm: jruby-head
|
13
|
+
- rvm: ruby-head
|
14
|
+
deploy:
|
15
|
+
provider: rubygems
|
16
|
+
api_key:
|
17
|
+
secure: BYM9wq4SEXVsEuOZAiPDJy54giAmtEMjd8ImnuRH1RJ6AcJcS9YMbKd59siH6c866p8ENC0nd/hQaplSQG9yqNCetvbLbRjLfTsR1QpSL83HdP5r9GeLI7K8J4yu93eIGuqt/fDpjle0n1xx93CceTq7kU4vNJOJa5wiRWI8d5Y=
|
18
|
+
gem: redis-rails
|
19
|
+
on:
|
20
|
+
tags: true
|
21
|
+
repo: redis-store/redis-rails
|
data/Appraisals
ADDED
data/CHANGELOG.md
ADDED
@@ -0,0 +1,80 @@
|
|
1
|
+
# Changelog
|
2
|
+
|
3
|
+
## 5.0.2
|
4
|
+
|
5
|
+
This version drops support for Ruby 1.9.x - no changes have been introduced which
|
6
|
+
actively break compatibility, but the gem is no longer tested on these [deprecated](https://www.ruby-lang.org/en/news/2014/01/10/ruby-1-9-3-will-end-on-2015/)
|
7
|
+
Ruby versions.
|
8
|
+
|
9
|
+
Breaking changes
|
10
|
+
|
11
|
+
- None
|
12
|
+
|
13
|
+
Added
|
14
|
+
|
15
|
+
- None
|
16
|
+
|
17
|
+
Fixed
|
18
|
+
|
19
|
+
- Allow newer versions of dependencies
|
20
|
+
|
21
|
+
## 5.0.1
|
22
|
+
|
23
|
+
Breaking changes
|
24
|
+
|
25
|
+
- None
|
26
|
+
|
27
|
+
Added
|
28
|
+
|
29
|
+
- None
|
30
|
+
|
31
|
+
Fixed
|
32
|
+
|
33
|
+
- Use non-prerelease versions of dependencies
|
34
|
+
|
35
|
+
## 5.0.0
|
36
|
+
|
37
|
+
Breaking changes
|
38
|
+
|
39
|
+
- None
|
40
|
+
|
41
|
+
Added
|
42
|
+
|
43
|
+
- Begin testing against ruby 2.1.2, 2.2, and 2.3
|
44
|
+
- Bump dependencies to support Rails 5
|
45
|
+
|
46
|
+
Fixed
|
47
|
+
|
48
|
+
- Various documentation improvements
|
49
|
+
|
50
|
+
## 4.0.0
|
51
|
+
|
52
|
+
Not documented yet. Contributions welcome.
|
53
|
+
|
54
|
+
## 3.2.4
|
55
|
+
|
56
|
+
Not documented yet. Contributions welcome.
|
57
|
+
|
58
|
+
## 3.2.3
|
59
|
+
|
60
|
+
Not documented yet. Contributions welcome.
|
61
|
+
|
62
|
+
## 3.2.2
|
63
|
+
|
64
|
+
Not documented yet. Contributions welcome.
|
65
|
+
|
66
|
+
## 3.2.1
|
67
|
+
|
68
|
+
Not documented yet. Contributions welcome.
|
69
|
+
|
70
|
+
## 3.1.5
|
71
|
+
|
72
|
+
Not documented yet. Contributions welcome.
|
73
|
+
|
74
|
+
## 3.1.4
|
75
|
+
|
76
|
+
Not documented yet. Contributions welcome.
|
77
|
+
|
78
|
+
## 3.1.3
|
79
|
+
|
80
|
+
Not documented yet. Contributions welcome.
|
data/CODEOWNERS
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
* @tubbo
|
data/Gemfile
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
source "https://rubygems.org"
|
2
|
+
gemspec
|
3
|
+
|
4
|
+
# if ::File.directory?(gem_path = "../redis-store")
|
5
|
+
# gem "redis-store", [">= 1.2.0", "< 1.4"], path: gem_path
|
6
|
+
# end
|
7
|
+
|
8
|
+
# if ::File.directory?(gem_path = "../redis-rack")
|
9
|
+
# gem "redis-rack", "~> 2.0.0.pre", path: gem_path
|
10
|
+
# end
|
11
|
+
|
12
|
+
# if ::File.directory?(gem_path = "../redis-activesupport")
|
13
|
+
# gem "redis-activesupport", '>= 4.0.0', '< 5.1', path: gem_path
|
14
|
+
# end
|
15
|
+
|
16
|
+
# if ::File.directory?(gem_path = "../redis-actionpack")
|
17
|
+
# gem "redis-actionpack", ">= 4.0.0", '< 5.1', path: gem_path
|
18
|
+
# end
|
19
|
+
|
20
|
+
version = ENV["RAILS_VERSION"] || '5'
|
21
|
+
|
22
|
+
rails = case version
|
23
|
+
when "master"
|
24
|
+
{:github => "rails/rails"}
|
25
|
+
else
|
26
|
+
"~> #{version}.0"
|
27
|
+
end
|
28
|
+
|
29
|
+
gem "rails", rails
|
data/MIT-LICENSE
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
Copyright (c) 2009 - 2011 Luca Guidi
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
a copy of this software and associated documentation files (the
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be
|
12
|
+
included in all copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,187 @@
|
|
1
|
+
# Redis stores for Ruby on Rails
|
2
|
+
|
3
|
+
__`redis-rails`__ provides a full set of stores (*Cache*, *Session*, *HTTP Cache*) for __Ruby on Rails__. See the main [redis-store readme](https://github.com/redis-store/redis-store) for general guidelines.
|
4
|
+
|
5
|
+
## A quick note about Rails 5.2
|
6
|
+
|
7
|
+
Rails 5.2.0 [includes a Redis cache store out of the
|
8
|
+
box](https://github.com/rails/rails/pull/31134), so you don't really
|
9
|
+
need this gem anymore if you just need to store the fragment cache in
|
10
|
+
Redis. Maintenance on the [redis-activesupport](https://github.com/redis-store/redis-activesupport)
|
11
|
+
gem will continue for security and compatibility issues, but we are no longer accepting new
|
12
|
+
features. We are still actively maintaining all other gems in the redis-store
|
13
|
+
family.
|
14
|
+
|
15
|
+
## Installation
|
16
|
+
|
17
|
+
Add the following to your Gemfile:
|
18
|
+
|
19
|
+
```ruby
|
20
|
+
gem 'redis-rails'
|
21
|
+
```
|
22
|
+
|
23
|
+
## Usage
|
24
|
+
|
25
|
+
`redis-rails` packages storage drivers for Redis which implement the
|
26
|
+
ActiveSupport fragment caching and ActionDispatch / Rack session
|
27
|
+
storage APIs. The following section(s) explain how to configure each
|
28
|
+
store:
|
29
|
+
|
30
|
+
### Rails Fragment Cache
|
31
|
+
|
32
|
+
Configure the fragment cache store in **config/environments/production.rb** like so:
|
33
|
+
|
34
|
+
```ruby
|
35
|
+
config.cache_store = :redis_store, "redis://localhost:6379/0/cache", { expires_in: 90.minutes }
|
36
|
+
```
|
37
|
+
|
38
|
+
The `ActiveSupport::Cache::Store` implementation assumes that your
|
39
|
+
backend store (Redis, Memcached, etc) will be available at boot time. If
|
40
|
+
you cannot guarantee this, you can use the `raise_errors: false` option
|
41
|
+
to rescue connection errors.
|
42
|
+
|
43
|
+
You can also provide a hash instead of a URL:
|
44
|
+
|
45
|
+
```ruby
|
46
|
+
config.cache_store = :redis_store, {
|
47
|
+
host: "localhost",
|
48
|
+
port: 6379,
|
49
|
+
db: 0,
|
50
|
+
password: "mysecret",
|
51
|
+
namespace: "cache"
|
52
|
+
}, {
|
53
|
+
expires_in: 90.minutes
|
54
|
+
}
|
55
|
+
```
|
56
|
+
|
57
|
+
### Session Storage
|
58
|
+
|
59
|
+
You can also store your session data in Redis, keeping user-specific
|
60
|
+
data isolated, shared, and highly available. Built upon [redis-rack](https://github.com/redis-store/redis-rack),
|
61
|
+
we present the session data to the user as a signed/encrypted cookie,
|
62
|
+
but we persist the data in Redis.
|
63
|
+
|
64
|
+
Add the following to your **config/initializers/session_store.rb** to
|
65
|
+
use Redis as the session store.
|
66
|
+
|
67
|
+
```ruby
|
68
|
+
MyApplication::Application.config.session_store :redis_store,
|
69
|
+
servers: ["redis://localhost:6379/0/session"],
|
70
|
+
expire_after: 90.minutes,
|
71
|
+
key: "_#{Rails.application.class.parent_name.downcase}_session",
|
72
|
+
threadsafe: true,
|
73
|
+
signed: true,
|
74
|
+
secure: true
|
75
|
+
```
|
76
|
+
|
77
|
+
A brief run-down of these options...
|
78
|
+
|
79
|
+
- **servers** is an Array of Redis servers that we will attempt to find
|
80
|
+
data from. This uses the same syntax as `:redis_store`
|
81
|
+
- **expire_after** is the default TTL of session keys. This is also set
|
82
|
+
as the expiry time of any cookies generated by the session store.
|
83
|
+
- **key** is the name of the cookie on the client side
|
84
|
+
- **threadsafe** is for applications that run on multiple instances. Set
|
85
|
+
this to `false` if you want to disable the global mutex lock on
|
86
|
+
session data. It's `true` by default, meaning the mutex will be
|
87
|
+
enabled.
|
88
|
+
- **signed** uses signed/encrypted cookies to store the local session on
|
89
|
+
a client machine, preventing a malicious user from tampering with its
|
90
|
+
contents.
|
91
|
+
- **secure** ensures HTTP cookies are transferred from server to client
|
92
|
+
on a secure (HTTPS) connection
|
93
|
+
- **httponly** ensures that all cookies have the HttpOnly flag set to true
|
94
|
+
|
95
|
+
### HTTP Caching
|
96
|
+
|
97
|
+
We also provide [an adapter](https://github.com/redis-store/redis-rack-cache) for
|
98
|
+
[Rack::Cache](http://rtomayko.github.io/rack-cache/) that lets you store HTTP
|
99
|
+
caching data in Redis. To take advantage of this, add the following to
|
100
|
+
Gemfile:
|
101
|
+
|
102
|
+
```ruby
|
103
|
+
group :production do
|
104
|
+
gem 'redis-rack-cache'
|
105
|
+
end
|
106
|
+
```
|
107
|
+
|
108
|
+
Then, add the following to **config/environments/production.rb**:
|
109
|
+
|
110
|
+
```ruby
|
111
|
+
# config/environments/production.rb
|
112
|
+
config.action_dispatch.rack_cache = {
|
113
|
+
metastore: "redis://localhost:6379/1/metastore",
|
114
|
+
entitystore: "redis://localhost:6379/1/entitystore"
|
115
|
+
}
|
116
|
+
```
|
117
|
+
|
118
|
+
### Usage with Redis Sentinel
|
119
|
+
|
120
|
+
You can also use [Redis Sentinel](https://redis.io/topics/sentinel) to manage a cluster of Redis servers
|
121
|
+
for high-availability data access. To do so, configure the sentinel
|
122
|
+
servers like so:
|
123
|
+
|
124
|
+
```ruby
|
125
|
+
sentinel_config = {
|
126
|
+
url: "redis://mymaster/0",
|
127
|
+
role: "master",
|
128
|
+
sentinels: [{
|
129
|
+
host: "127.0.0.1",
|
130
|
+
port: 26379
|
131
|
+
},{
|
132
|
+
host: "127.0.0.1",
|
133
|
+
port: 26380
|
134
|
+
},{
|
135
|
+
host: "127.0.0.1",
|
136
|
+
port: 26381
|
137
|
+
}]
|
138
|
+
}
|
139
|
+
```
|
140
|
+
|
141
|
+
You can then include this in your cache store configuration within
|
142
|
+
**config/environments/production.rb**:
|
143
|
+
|
144
|
+
```ruby
|
145
|
+
config.cache_store = :redis_store, sentinel_config.merge(
|
146
|
+
namespace: "cache",
|
147
|
+
expires_in: 1.days
|
148
|
+
)
|
149
|
+
config.session_store :redis_store, {
|
150
|
+
servers: [
|
151
|
+
sentinel_config.merge(
|
152
|
+
namespace: "sessions"
|
153
|
+
)
|
154
|
+
],
|
155
|
+
expire_after: 2.days
|
156
|
+
}
|
157
|
+
```
|
158
|
+
|
159
|
+
## Usage with Redis Cluster
|
160
|
+
|
161
|
+
You can also specify only a subset of the nodes, and the client will discover the missing ones using the [CLUSTER NODES](https://redis.io/commands/cluster-nodes) command.
|
162
|
+
|
163
|
+
```ruby
|
164
|
+
config.cache_store = :redis_store, { cluster: %w[redis://127.0.0.1:6379/0/] }
|
165
|
+
```
|
166
|
+
|
167
|
+
## Running tests
|
168
|
+
|
169
|
+
```shell
|
170
|
+
gem install bundler
|
171
|
+
git clone git://github.com/redis-store/redis-rails.git
|
172
|
+
cd redis-rails
|
173
|
+
RAILS_VERSION=5.0.1 bundle install
|
174
|
+
RAILS_VERSION=5.0.1 bundle exec rake
|
175
|
+
```
|
176
|
+
|
177
|
+
If you are on **Snow Leopard**, run `env ARCHFLAGS="-arch x86_64" bundle exec rake`
|
178
|
+
|
179
|
+
## Status
|
180
|
+
|
181
|
+
[![Gem Version](https://badge.fury.io/rb/redis-rails.svg)](http://badge.fury.io/rb/redis-rails)
|
182
|
+
[![Build Status](https://secure.travis-ci.org/redis-store/redis-rails.svg?branch=master)](http://travis-ci.org/redis-store/redis-rails?branch=master)
|
183
|
+
[![Code Climate](https://codeclimate.com/github/redis-store/redis-rails.svg)](https://codeclimate.com/github/redis-store/redis-rails)
|
184
|
+
|
185
|
+
## Copyright
|
186
|
+
|
187
|
+
2009 - 2018 Luca Guidi - [http://lucaguidi.com](http://lucaguidi.com), released under the MIT license
|
data/Rakefile
ADDED
data/bin/appraisal
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
3
|
+
#
|
4
|
+
# This file was generated by Bundler.
|
5
|
+
#
|
6
|
+
# The application 'appraisal' is installed as part of a gem, and
|
7
|
+
# this file is here to facilitate running it.
|
8
|
+
#
|
9
|
+
|
10
|
+
require "pathname"
|
11
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
|
12
|
+
Pathname.new(__FILE__).realpath)
|
13
|
+
|
14
|
+
require "rubygems"
|
15
|
+
require "bundler/setup"
|
16
|
+
|
17
|
+
load Gem.bin_path("appraisal", "appraisal")
|
data/lib/redis-rails.rb
ADDED
data/redis-rails.gemspec
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
$:.push File.expand_path("../lib", __FILE__)
|
3
|
+
require "redis-rails/version"
|
4
|
+
|
5
|
+
Gem::Specification.new do |s|
|
6
|
+
s.name = "qubole-redis-rails"
|
7
|
+
s.version = Redis::Rails::VERSION
|
8
|
+
s.authors = ["Luca Guidi", "Ryan Bigg"]
|
9
|
+
s.email = ["me@lucaguidi.com", "me@ryanbigg.com"]
|
10
|
+
s.homepage = "http://redis-store.org/redis-rails"
|
11
|
+
s.summary = %q{Redis for Ruby on Rails}
|
12
|
+
s.description = %q{Redis for Ruby on Rails}
|
13
|
+
s.license = 'MIT'
|
14
|
+
|
15
|
+
s.rubyforge_project = "redis-rails"
|
16
|
+
|
17
|
+
s.files = `git ls-files`.split("\n")
|
18
|
+
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
19
|
+
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
20
|
+
s.require_paths = ["lib"]
|
21
|
+
|
22
|
+
s.add_dependency "redis-activesupport", [">= 3.0", "< 6"]
|
23
|
+
s.add_dependency "redis-actionpack", [">= 3.0", "< 6"]
|
24
|
+
|
25
|
+
s.add_development_dependency "rake", "~> 10"
|
26
|
+
s.add_development_dependency "bundler", "~> 1.3"
|
27
|
+
s.add_development_dependency "mocha", "~> 0.14.0"
|
28
|
+
s.add_development_dependency "minitest", [">= 4.2", "< 6"]
|
29
|
+
s.add_development_dependency "redis-store-testing"
|
30
|
+
s.add_development_dependency 'appraisal'
|
31
|
+
end
|
@@ -0,0 +1,11 @@
|
|
1
|
+
require "test_helper"
|
2
|
+
|
3
|
+
describe Redis::Rails do
|
4
|
+
it "must require ActiveSupport dependency" do
|
5
|
+
assert defined?(ActiveSupport::Cache::RedisStore)
|
6
|
+
end
|
7
|
+
|
8
|
+
it "must require ActionPack dependency" do
|
9
|
+
assert defined?(ActionDispatch::Session::RedisStore)
|
10
|
+
end
|
11
|
+
end
|
data/test/test_helper.rb
ADDED
metadata
ADDED
@@ -0,0 +1,197 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: qubole-redis-rails
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 5.0.2
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Luca Guidi
|
8
|
+
- Ryan Bigg
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2019-11-11 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: redis-activesupport
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - ">="
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: '3.0'
|
21
|
+
- - "<"
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: '6'
|
24
|
+
type: :runtime
|
25
|
+
prerelease: false
|
26
|
+
version_requirements: !ruby/object:Gem::Requirement
|
27
|
+
requirements:
|
28
|
+
- - ">="
|
29
|
+
- !ruby/object:Gem::Version
|
30
|
+
version: '3.0'
|
31
|
+
- - "<"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '6'
|
34
|
+
- !ruby/object:Gem::Dependency
|
35
|
+
name: redis-actionpack
|
36
|
+
requirement: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '3.0'
|
41
|
+
- - "<"
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '6'
|
44
|
+
type: :runtime
|
45
|
+
prerelease: false
|
46
|
+
version_requirements: !ruby/object:Gem::Requirement
|
47
|
+
requirements:
|
48
|
+
- - ">="
|
49
|
+
- !ruby/object:Gem::Version
|
50
|
+
version: '3.0'
|
51
|
+
- - "<"
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '6'
|
54
|
+
- !ruby/object:Gem::Dependency
|
55
|
+
name: rake
|
56
|
+
requirement: !ruby/object:Gem::Requirement
|
57
|
+
requirements:
|
58
|
+
- - "~>"
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: '10'
|
61
|
+
type: :development
|
62
|
+
prerelease: false
|
63
|
+
version_requirements: !ruby/object:Gem::Requirement
|
64
|
+
requirements:
|
65
|
+
- - "~>"
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: '10'
|
68
|
+
- !ruby/object:Gem::Dependency
|
69
|
+
name: bundler
|
70
|
+
requirement: !ruby/object:Gem::Requirement
|
71
|
+
requirements:
|
72
|
+
- - "~>"
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: '1.3'
|
75
|
+
type: :development
|
76
|
+
prerelease: false
|
77
|
+
version_requirements: !ruby/object:Gem::Requirement
|
78
|
+
requirements:
|
79
|
+
- - "~>"
|
80
|
+
- !ruby/object:Gem::Version
|
81
|
+
version: '1.3'
|
82
|
+
- !ruby/object:Gem::Dependency
|
83
|
+
name: mocha
|
84
|
+
requirement: !ruby/object:Gem::Requirement
|
85
|
+
requirements:
|
86
|
+
- - "~>"
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: 0.14.0
|
89
|
+
type: :development
|
90
|
+
prerelease: false
|
91
|
+
version_requirements: !ruby/object:Gem::Requirement
|
92
|
+
requirements:
|
93
|
+
- - "~>"
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: 0.14.0
|
96
|
+
- !ruby/object:Gem::Dependency
|
97
|
+
name: minitest
|
98
|
+
requirement: !ruby/object:Gem::Requirement
|
99
|
+
requirements:
|
100
|
+
- - ">="
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: '4.2'
|
103
|
+
- - "<"
|
104
|
+
- !ruby/object:Gem::Version
|
105
|
+
version: '6'
|
106
|
+
type: :development
|
107
|
+
prerelease: false
|
108
|
+
version_requirements: !ruby/object:Gem::Requirement
|
109
|
+
requirements:
|
110
|
+
- - ">="
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
version: '4.2'
|
113
|
+
- - "<"
|
114
|
+
- !ruby/object:Gem::Version
|
115
|
+
version: '6'
|
116
|
+
- !ruby/object:Gem::Dependency
|
117
|
+
name: redis-store-testing
|
118
|
+
requirement: !ruby/object:Gem::Requirement
|
119
|
+
requirements:
|
120
|
+
- - ">="
|
121
|
+
- !ruby/object:Gem::Version
|
122
|
+
version: '0'
|
123
|
+
type: :development
|
124
|
+
prerelease: false
|
125
|
+
version_requirements: !ruby/object:Gem::Requirement
|
126
|
+
requirements:
|
127
|
+
- - ">="
|
128
|
+
- !ruby/object:Gem::Version
|
129
|
+
version: '0'
|
130
|
+
- !ruby/object:Gem::Dependency
|
131
|
+
name: appraisal
|
132
|
+
requirement: !ruby/object:Gem::Requirement
|
133
|
+
requirements:
|
134
|
+
- - ">="
|
135
|
+
- !ruby/object:Gem::Version
|
136
|
+
version: '0'
|
137
|
+
type: :development
|
138
|
+
prerelease: false
|
139
|
+
version_requirements: !ruby/object:Gem::Requirement
|
140
|
+
requirements:
|
141
|
+
- - ">="
|
142
|
+
- !ruby/object:Gem::Version
|
143
|
+
version: '0'
|
144
|
+
description: Redis for Ruby on Rails
|
145
|
+
email:
|
146
|
+
- me@lucaguidi.com
|
147
|
+
- me@ryanbigg.com
|
148
|
+
executables:
|
149
|
+
- appraisal
|
150
|
+
extensions: []
|
151
|
+
extra_rdoc_files: []
|
152
|
+
files:
|
153
|
+
- ".github/auto-assign-issues.yml"
|
154
|
+
- ".gitignore"
|
155
|
+
- ".travis.yml"
|
156
|
+
- Appraisals
|
157
|
+
- CHANGELOG.md
|
158
|
+
- CODEOWNERS
|
159
|
+
- Gemfile
|
160
|
+
- MIT-LICENSE
|
161
|
+
- README.md
|
162
|
+
- Rakefile
|
163
|
+
- bin/appraisal
|
164
|
+
- gemfiles/rails_4.gemfile
|
165
|
+
- gemfiles/rails_5.gemfile
|
166
|
+
- lib/redis-rails.rb
|
167
|
+
- lib/redis-rails/version.rb
|
168
|
+
- redis-rails.gemspec
|
169
|
+
- test/redis_rails_test.rb
|
170
|
+
- test/test_helper.rb
|
171
|
+
homepage: http://redis-store.org/redis-rails
|
172
|
+
licenses:
|
173
|
+
- MIT
|
174
|
+
metadata: {}
|
175
|
+
post_install_message:
|
176
|
+
rdoc_options: []
|
177
|
+
require_paths:
|
178
|
+
- lib
|
179
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
180
|
+
requirements:
|
181
|
+
- - ">="
|
182
|
+
- !ruby/object:Gem::Version
|
183
|
+
version: '0'
|
184
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
185
|
+
requirements:
|
186
|
+
- - ">="
|
187
|
+
- !ruby/object:Gem::Version
|
188
|
+
version: '0'
|
189
|
+
requirements: []
|
190
|
+
rubyforge_project: redis-rails
|
191
|
+
rubygems_version: 2.2.3
|
192
|
+
signing_key:
|
193
|
+
specification_version: 4
|
194
|
+
summary: Redis for Ruby on Rails
|
195
|
+
test_files:
|
196
|
+
- test/redis_rails_test.rb
|
197
|
+
- test/test_helper.rb
|