redis-namespace 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of redis-namespace might be problematic. Click here for more details.
- data/lib/redis/namespace.rb +4 -0
- metadata +4 -11
data/lib/redis/namespace.rb
CHANGED
@@ -144,6 +144,10 @@ class Redis
|
|
144
144
|
method_missing(:type, key)
|
145
145
|
end
|
146
146
|
|
147
|
+
def respond_to?(command)
|
148
|
+
@redis.respond_to?(command)
|
149
|
+
end
|
150
|
+
|
147
151
|
def method_missing(command, *args, &block)
|
148
152
|
(before, after) = COMMANDS[command.to_s] ||
|
149
153
|
COMMANDS[ALIASES[command.to_s]]
|
metadata
CHANGED
@@ -1,13 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: redis-namespace
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash: 11
|
5
4
|
prerelease: false
|
6
5
|
segments:
|
7
6
|
- 0
|
8
7
|
- 5
|
9
|
-
-
|
10
|
-
version: 0.5.
|
8
|
+
- 1
|
9
|
+
version: 0.5.1
|
11
10
|
platform: ruby
|
12
11
|
authors:
|
13
12
|
- Chris Wanstrath
|
@@ -15,18 +14,16 @@ autorequire:
|
|
15
14
|
bindir: bin
|
16
15
|
cert_chain: []
|
17
16
|
|
18
|
-
date: 2010-
|
17
|
+
date: 2010-06-04 00:00:00 -07:00
|
19
18
|
default_executable:
|
20
19
|
dependencies:
|
21
20
|
- !ruby/object:Gem::Dependency
|
22
21
|
name: redis
|
23
22
|
prerelease: false
|
24
23
|
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
24
|
requirements:
|
27
25
|
- - <
|
28
26
|
- !ruby/object:Gem::Version
|
29
|
-
hash: 7
|
30
27
|
segments:
|
31
28
|
- 3
|
32
29
|
- 0
|
@@ -63,27 +60,23 @@ rdoc_options: []
|
|
63
60
|
require_paths:
|
64
61
|
- lib
|
65
62
|
required_ruby_version: !ruby/object:Gem::Requirement
|
66
|
-
none: false
|
67
63
|
requirements:
|
68
64
|
- - ">="
|
69
65
|
- !ruby/object:Gem::Version
|
70
|
-
hash: 3
|
71
66
|
segments:
|
72
67
|
- 0
|
73
68
|
version: "0"
|
74
69
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
75
|
-
none: false
|
76
70
|
requirements:
|
77
71
|
- - ">="
|
78
72
|
- !ruby/object:Gem::Version
|
79
|
-
hash: 3
|
80
73
|
segments:
|
81
74
|
- 0
|
82
75
|
version: "0"
|
83
76
|
requirements: []
|
84
77
|
|
85
78
|
rubyforge_project:
|
86
|
-
rubygems_version: 1.3.
|
79
|
+
rubygems_version: 1.3.6
|
87
80
|
signing_key:
|
88
81
|
specification_version: 3
|
89
82
|
summary: Namespaces Redis commands.
|