redised 0.2.1 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +2 -2
- data/Gemfile.lock +5 -5
- data/lib/redised.rb +1 -1
- data/redised.gemspec +8 -8
- metadata +7 -7
data/Gemfile
CHANGED
@@ -2,7 +2,7 @@ source "http://rubygems.org"
|
|
2
2
|
# Add dependencies required to use your gem here.
|
3
3
|
# Example:
|
4
4
|
# gem "activesupport", ">= 2.3.5"
|
5
|
-
gem 'redis', '~>
|
5
|
+
gem 'redis', '~>3'
|
6
6
|
gem 'redis-namespace'
|
7
7
|
|
8
8
|
# Add dependencies to develop your gem here.
|
@@ -10,6 +10,6 @@ gem 'redis-namespace'
|
|
10
10
|
group :development do
|
11
11
|
gem "shoulda", ">= 0"
|
12
12
|
gem "mocha"
|
13
|
-
gem "bundler", "~> 1.0
|
13
|
+
gem "bundler", "~> 1.0"
|
14
14
|
gem "jeweler", "~> 1.8.3"
|
15
15
|
end
|
data/Gemfile.lock
CHANGED
@@ -14,18 +14,18 @@ GEM
|
|
14
14
|
rake (0.9.2.2)
|
15
15
|
rdoc (3.12)
|
16
16
|
json (~> 1.4)
|
17
|
-
redis (
|
18
|
-
redis-namespace (1.
|
19
|
-
redis (
|
17
|
+
redis (3.0.6)
|
18
|
+
redis-namespace (1.3.2)
|
19
|
+
redis (~> 3.0.4)
|
20
20
|
shoulda (2.11.3)
|
21
21
|
|
22
22
|
PLATFORMS
|
23
23
|
ruby
|
24
24
|
|
25
25
|
DEPENDENCIES
|
26
|
-
bundler (~> 1.0
|
26
|
+
bundler (~> 1.0)
|
27
27
|
jeweler (~> 1.8.3)
|
28
28
|
mocha
|
29
|
-
redis (~>
|
29
|
+
redis (~> 3)
|
30
30
|
redis-namespace
|
31
31
|
shoulda
|
data/lib/redised.rb
CHANGED
@@ -2,7 +2,7 @@ require 'redis/namespace'
|
|
2
2
|
# Redised allows for the common patter of module access to redis, when included
|
3
3
|
# a .redis and .redis= method are provided
|
4
4
|
module Redised
|
5
|
-
VERSION = '0.
|
5
|
+
VERSION = '0.3.0'
|
6
6
|
|
7
7
|
# Get a reusable connection based on a set of params. The
|
8
8
|
# params are the same as the options you pass to `Redis.new`
|
data/redised.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "redised"
|
8
|
-
s.version = "0.
|
8
|
+
s.version = "0.3.0"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Aaron Quint"]
|
12
|
-
s.date = "
|
12
|
+
s.date = "2013-11-07"
|
13
13
|
s.description = "redised provides a single module `Redised` that when included in your class provides a self.redis= and self.redis methods. It also has the ability to load the urls from a YAML config file"
|
14
14
|
s.email = "aaron@quirkey.com"
|
15
15
|
s.extra_rdoc_files = [
|
@@ -39,26 +39,26 @@ Gem::Specification.new do |s|
|
|
39
39
|
s.specification_version = 3
|
40
40
|
|
41
41
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
42
|
-
s.add_runtime_dependency(%q<redis>, ["~>
|
42
|
+
s.add_runtime_dependency(%q<redis>, ["~> 3"])
|
43
43
|
s.add_runtime_dependency(%q<redis-namespace>, [">= 0"])
|
44
44
|
s.add_development_dependency(%q<shoulda>, [">= 0"])
|
45
45
|
s.add_development_dependency(%q<mocha>, [">= 0"])
|
46
|
-
s.add_development_dependency(%q<bundler>, ["~> 1.0
|
46
|
+
s.add_development_dependency(%q<bundler>, ["~> 1.0"])
|
47
47
|
s.add_development_dependency(%q<jeweler>, ["~> 1.8.3"])
|
48
48
|
else
|
49
|
-
s.add_dependency(%q<redis>, ["~>
|
49
|
+
s.add_dependency(%q<redis>, ["~> 3"])
|
50
50
|
s.add_dependency(%q<redis-namespace>, [">= 0"])
|
51
51
|
s.add_dependency(%q<shoulda>, [">= 0"])
|
52
52
|
s.add_dependency(%q<mocha>, [">= 0"])
|
53
|
-
s.add_dependency(%q<bundler>, ["~> 1.0
|
53
|
+
s.add_dependency(%q<bundler>, ["~> 1.0"])
|
54
54
|
s.add_dependency(%q<jeweler>, ["~> 1.8.3"])
|
55
55
|
end
|
56
56
|
else
|
57
|
-
s.add_dependency(%q<redis>, ["~>
|
57
|
+
s.add_dependency(%q<redis>, ["~> 3"])
|
58
58
|
s.add_dependency(%q<redis-namespace>, [">= 0"])
|
59
59
|
s.add_dependency(%q<shoulda>, [">= 0"])
|
60
60
|
s.add_dependency(%q<mocha>, [">= 0"])
|
61
|
-
s.add_dependency(%q<bundler>, ["~> 1.0
|
61
|
+
s.add_dependency(%q<bundler>, ["~> 1.0"])
|
62
62
|
s.add_dependency(%q<jeweler>, ["~> 1.8.3"])
|
63
63
|
end
|
64
64
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: redised
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2013-11-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: redis
|
@@ -18,7 +18,7 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: '
|
21
|
+
version: '3'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ~>
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '
|
29
|
+
version: '3'
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
31
|
name: redis-namespace
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|
@@ -82,7 +82,7 @@ dependencies:
|
|
82
82
|
requirements:
|
83
83
|
- - ~>
|
84
84
|
- !ruby/object:Gem::Version
|
85
|
-
version: 1.0
|
85
|
+
version: '1.0'
|
86
86
|
type: :development
|
87
87
|
prerelease: false
|
88
88
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -90,7 +90,7 @@ dependencies:
|
|
90
90
|
requirements:
|
91
91
|
- - ~>
|
92
92
|
- !ruby/object:Gem::Version
|
93
|
-
version: 1.0
|
93
|
+
version: '1.0'
|
94
94
|
- !ruby/object:Gem::Dependency
|
95
95
|
name: jeweler
|
96
96
|
requirement: !ruby/object:Gem::Requirement
|
@@ -143,7 +143,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
143
143
|
version: '0'
|
144
144
|
segments:
|
145
145
|
- 0
|
146
|
-
hash:
|
146
|
+
hash: -2742425785523815070
|
147
147
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
148
148
|
none: false
|
149
149
|
requirements:
|