hella-redis 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/hella-redis/connection.rb +1 -1
- data/lib/hella-redis/version.rb +1 -1
- data/test/unit/connection_tests.rb +5 -5
- metadata +4 -4
data/lib/hella-redis/version.rb
CHANGED
@@ -57,11 +57,11 @@ module HellaRedis::Connection
|
|
57
57
|
should have_readers :url, :driver, :redis_ns, :timeout, :size
|
58
58
|
|
59
59
|
should "know its attributes" do
|
60
|
-
assert_equal @config_hash[:url],
|
61
|
-
assert_equal @config_hash[:driver],
|
62
|
-
assert_equal @config_hash[:
|
63
|
-
assert_equal @config_hash[:timeout],
|
64
|
-
assert_equal @config_hash[:size],
|
60
|
+
assert_equal @config_hash[:url], subject.url
|
61
|
+
assert_equal @config_hash[:driver], subject.driver
|
62
|
+
assert_equal @config_hash[:redis_ns], subject.redis_ns
|
63
|
+
assert_equal @config_hash[:timeout], subject.timeout
|
64
|
+
assert_equal @config_hash[:size], subject.size
|
65
65
|
end
|
66
66
|
|
67
67
|
should "default its size" do
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hella-redis
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 21
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 1
|
10
|
+
version: 0.2.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Kelly Redding
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date:
|
19
|
+
date: 2015-01-02 00:00:00 Z
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
22
22
|
requirement: &id001 !ruby/object:Gem::Requirement
|