uri-redis 0.4.0 → 0.4.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.
Files changed (4) hide show
  1. data/CHANGES.txt +4 -0
  2. data/VERSION.yml +1 -1
  3. data/lib/uri/redis.rb +1 -1
  4. metadata +4 -4
data/CHANGES.txt CHANGED
@@ -1,5 +1,9 @@
1
1
  URI-Redis, CHANGES
2
2
 
3
+ #### 0.4.1 (2010-11-16) ###############################
4
+
5
+ * FIXED: Nil error in URI::Redis#key
6
+
3
7
  #### 0.4.0 (2010-11-15) ###############################
4
8
 
5
9
  * ADDED: Support for keys in the path
data/VERSION.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  ---
2
2
  :MAJOR: 0
3
3
  :MINOR: 4
4
- :PATCH: 0
4
+ :PATCH: 1
5
5
  :BUILD: '001'
data/lib/uri/redis.rb CHANGED
@@ -23,7 +23,7 @@ module URI
23
23
  def key
24
24
  return if self.path.nil?
25
25
  self.path ||= "/#{DEFAULT_DB}"
26
- self.path.split('/')[2..-1].join('/')
26
+ (self.path.split('/')[2..-1] || []).join('/')
27
27
  end
28
28
 
29
29
  def key=(val)
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uri-redis
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
4
+ hash: 13
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 4
9
- - 0
10
- version: 0.4.0
9
+ - 1
10
+ version: 0.4.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Delano Mandelbaum
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-11-15 00:00:00 -05:00
18
+ date: 2010-11-16 00:00:00 -05:00
19
19
  default_executable:
20
20
  dependencies: []
21
21