redis-namespace 1.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of redis-namespace might be problematic. Click here for more details.
- data/lib/redis/namespace.rb +1 -1
- data/spec/redis_spec.rb +4 -0
- metadata +3 -2
data/lib/redis/namespace.rb
CHANGED
data/spec/redis_spec.rb
CHANGED
@@ -20,6 +20,10 @@ describe "redis" do
|
|
20
20
|
@redis.quit
|
21
21
|
end
|
22
22
|
|
23
|
+
it "proxies `client` to the client" do
|
24
|
+
@namespaced.client.should == @redis.client
|
25
|
+
end
|
26
|
+
|
23
27
|
it "should be able to use a namespace" do
|
24
28
|
@namespaced['foo'].should == nil
|
25
29
|
@namespaced['foo'] = 'chris'
|
metadata
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: redis-namespace
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 21
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
|
-
|
9
|
+
- 1
|
10
|
+
version: 1.0.1
|
10
11
|
platform: ruby
|
11
12
|
authors:
|
12
13
|
- Chris Wanstrath
|