sinatra-redis 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +35 -2
- data/lib/sinatra/redis.rb +2 -0
- data/sinatra-redis.gemspec +1 -1
- metadata +2 -2
data/README.md
CHANGED
@@ -4,10 +4,18 @@ Sinatra Redis Extension
|
|
4
4
|
Extends [Sinatra](http://www.sinatrarb.com/) with an extension method for
|
5
5
|
dealing with redis databases using the rubyredis.rb client library that
|
6
6
|
comes with the redis source (pre-packaged with this library for convenience).
|
7
|
-
|
8
|
-
Install the `sinatra-redis` with rip. No gem support yet.
|
7
|
+
You can Install the `sinatra-redis` with rip
|
9
8
|
|
10
9
|
$ rip install git://github.com/bmizerany/sinatra-redis.git
|
10
|
+
|
11
|
+
or
|
12
|
+
$ gem install sinatra-redis -s http://gemcutter.org
|
13
|
+
or
|
14
|
+
|
15
|
+
$ gem install bmizerany-sinatra-redis -s http://gems.github.com
|
16
|
+
|
17
|
+
and use like:
|
18
|
+
|
11
19
|
$ vim sinatra-using-redis.rb
|
12
20
|
|
13
21
|
require 'sinatra'
|
@@ -46,3 +54,28 @@ Install the `sinatra-redis` with rip. No gem support yet.
|
|
46
54
|
### NOTE about the rip-off
|
47
55
|
|
48
56
|
This Code and README.md is a heavy adaption of [rtomayko's sinatra-sequel](http://github.com/rtomayko/sinatra-sequel/)
|
57
|
+
|
58
|
+
# LICENSE
|
59
|
+
|
60
|
+
Copyright (c) 2009 Blake Mizerany
|
61
|
+
|
62
|
+
Permission is hereby granted, free of charge, to any person
|
63
|
+
obtaining a copy of this software and associated documentation
|
64
|
+
files (the "Software"), to deal in the Software without
|
65
|
+
restriction, including without limitation the rights to use,
|
66
|
+
copy, modify, merge, publish, distribute, sublicense, and/or sell
|
67
|
+
copies of the Software, and to permit persons to whom the
|
68
|
+
Software is furnished to do so, subject to the following
|
69
|
+
conditions:
|
70
|
+
|
71
|
+
The above copyright notice and this permission notice shall be
|
72
|
+
included in all copies or substantial portions of the Software.
|
73
|
+
|
74
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
75
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
76
|
+
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
77
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
78
|
+
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
79
|
+
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
80
|
+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
81
|
+
OTHER DEALINGS IN THE SOFTWARE.
|
data/lib/sinatra/redis.rb
CHANGED
data/sinatra-redis.gemspec
CHANGED
@@ -3,7 +3,7 @@ Gem::Specification.new do |s|
|
|
3
3
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
4
4
|
|
5
5
|
s.name = 'sinatra-redis'
|
6
|
-
s.version = '0.1.
|
6
|
+
s.version = '0.1.1'
|
7
7
|
s.date = '2009-09-21'
|
8
8
|
|
9
9
|
s.description = "Extends Sinatra with redis helpers for instant redis use"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sinatra-redis
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Blake Mizerany
|
@@ -62,7 +62,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
62
62
|
requirements: []
|
63
63
|
|
64
64
|
rubyforge_project: bmizerany
|
65
|
-
rubygems_version: 1.3.
|
65
|
+
rubygems_version: 1.3.5
|
66
66
|
signing_key:
|
67
67
|
specification_version: 2
|
68
68
|
summary: Extends Sinatra with redis helpers for instant redis use
|