redis-namespace 0.4.1 → 0.4.2

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 (3) hide show
  1. data/Rakefile +1 -1
  2. data/lib/redis/namespace.rb +1 -1
  3. metadata +2 -2
data/Rakefile CHANGED
@@ -17,7 +17,7 @@ begin
17
17
  gemspec.email = "chris@ozmm.org"
18
18
  gemspec.homepage = "http://github.com/defunkt/redis-namespace"
19
19
  gemspec.authors = ["Chris Wanstrath"]
20
- gemspec.version = '0.4.1'
20
+ gemspec.version = '0.4.2'
21
21
  gemspec.add_dependency 'redis'
22
22
  gemspec.description = <<description
23
23
  Adds a Redis::Namespace class which can be used to namespace calls
@@ -125,7 +125,7 @@ class Redis
125
125
  }
126
126
 
127
127
  # support previous versions of redis gem
128
- ALIASES = defined? Redis::Client ? Redis::Client::ALIASES : Redis::ALIASES
128
+ ALIASES = (defined? Redis::Client) ? Redis::Client::ALIASES : Redis::ALIASES
129
129
 
130
130
  attr_accessor :namespace
131
131
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: redis-namespace
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Wanstrath
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-04-05 00:00:00 -07:00
12
+ date: 2010-04-21 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency