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.
@@ -24,7 +24,7 @@ module HellaRedis
24
24
  def initialize(args)
25
25
  @url = args[:url]
26
26
  @driver = args[:driver]
27
- @redis_ns = args[:ns]
27
+ @redis_ns = args[:redis_ns]
28
28
  @timeout = args[:timeout]
29
29
  @size = args[:size] || 1
30
30
  end
@@ -1,3 +1,3 @@
1
1
  module HellaRedis
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
@@ -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], subject.url
61
- assert_equal @config_hash[:driver], subject.driver
62
- assert_equal @config_hash[:ns], subject.redis_ns
63
- assert_equal @config_hash[:timeout], subject.timeout
64
- assert_equal @config_hash[:size], subject.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: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 0
10
- version: 0.2.0
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: 2014-12-30 00:00:00 Z
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