relax-rb 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f069ff4029b634f6c2f18e2069a6a50c6a2d7441
4
- data.tar.gz: 100010406406dfe03359c57065a09cef4d5267fb
3
+ metadata.gz: cb5c87fed245878cc5486925f712ae43fb7d50c7
4
+ data.tar.gz: 0e24b6c8918cc0ec82023f35dc0a8f14db12152b
5
5
  SHA512:
6
- metadata.gz: e06a343fd1ec7c264213abcf65ef6a6fb250b5ea00e511c676ec998bee6955e835b5e1b3e53e2cd7e47f9a6d008c2ceeea2678d7bbdbba77b3d05224058201aa
7
- data.tar.gz: 638c4ba842b0f5d874f942f73f0d51774694dda8b09dcc0afcfc3bf36c9a95706fe6b3db25c3f7e5c91700bf63ffd8651cbeb3647139a7fb669543ee25bb7fbc
6
+ metadata.gz: 99e346584b383abbf8b708372dbfc14b56b8715e4e5ebac5dfb4791db8757175fd9579a67ba6e38148005ccae6d7191e13c861d6af04aabc9a0d3692307013f8
7
+ data.tar.gz: a35905ab54d161bcbab08c7a91b12b64abd2ada57c256eda5d44b1e2dfd6a684e8b1ca7b203563df0aead2f1f5138162652a229604d436413e2f2bf364566d5f
data/lib/relax/base.rb CHANGED
@@ -1,7 +1,9 @@
1
1
  module Relax
2
2
  class Base
3
3
  def self.redis
4
- if uri = ENV['REDISTOGO_URL']
4
+ if uri = ENV['REDISCLOUD_URL']
5
+ redis_uri = URI.parse(uri)
6
+ elsif uri = ENV['REDISTOGO_URL']
5
7
  redis_uri = URI.parse(uri)
6
8
  elsif uri = ENV['REDIS_URL']
7
9
  redis_uri = URI.parse(uri)
data/lib/relax/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Relax
2
- VERSION = "0.2.2"
2
+ VERSION = "0.2.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relax-rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - arunthampi