redis_vars 0.6.0 → 0.6.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.
@@ -1,6 +1,6 @@
1
1
  module RedisVars
2
2
  class Config
3
- def uri
3
+ def url
4
4
  ENV['REDIS_VARS_URL']
5
5
  end
6
6
 
@@ -30,8 +30,8 @@ module RedisVars
30
30
  hash.map &block
31
31
  end
32
32
 
33
- def uri
34
- config.uri
33
+ def url
34
+ config.url
35
35
  end
36
36
 
37
37
  def app_key
@@ -39,7 +39,7 @@ module RedisVars
39
39
  end
40
40
 
41
41
  def redis
42
- @redis ||= Redis.new(:uri => uri)
42
+ @redis ||= Redis.new(:url => url)
43
43
  end
44
44
 
45
45
  def config
@@ -1,3 +1,3 @@
1
1
  module RedisVars
2
- VERSION = "0.6.0"
2
+ VERSION = "0.6.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: redis_vars
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-12-23 00:00:00.000000000 Z
12
+ date: 2012-12-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: thor