Sha256: 661d44bf46de24814a7037d8ed9ead298fa6b3092095167141685f6b7562cabc
Contents?: true
Size: 379 Bytes
Versions: 5
Compression:
Stored size: 379 Bytes
Contents
url = URI.parse(ENV['REDIS_URL'] || 'redis://127.0.0.1:6379') if Rails.env.test? Redis.current = Redis.new(host: url.host, port: url.port, password: url.password, thread_safe: true, db: '15') else Redis.current = Redis.new(host: url.host, port: url.port, password: url.password, thread_safe: true) end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
kratos-1.1.0 | templates/redis.rb |
kratos-1.0.3 | templates/redis.rb |
kratos-1.0.2 | templates/redis.rb |
kratos-1.0.1 | templates/redis.rb |
kratos-1.0.0 | templates/redis.rb |