Sha256: d378c0662b2c1e5677a18d221a010c8471b86e3c05f5e6d25d15317992ddbb96

Contents?: true

Size: 200 Bytes

Versions: 38

Compression:

Stored size: 200 Bytes

Contents

require 'redis'
config = YAML.load(ERB.new(IO.read(File.join(Rails.root, 'config', 'redis.yml'))).result)[Rails.env].with_indifferent_access
Redis.current = Redis.new(config.merge(thread_safe: true))

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
curation_concerns-1.7.8 lib/generators/curation_concerns/templates/config/redis_config.rb
curation_concerns-1.7.7 lib/generators/curation_concerns/templates/config/redis_config.rb
curation_concerns-2.0.0 lib/generators/curation_concerns/templates/config/redis_config.rb
curation_concerns-2.0.0.rc2 lib/generators/curation_concerns/templates/config/redis_config.rb
curation_concerns-1.7.6 lib/generators/curation_concerns/templates/config/redis_config.rb
curation_concerns-1.7.5 lib/generators/curation_concerns/templates/config/redis_config.rb
curation_concerns-1.7.4 lib/generators/curation_concerns/templates/config/redis_config.rb
curation_concerns-1.7.3 lib/generators/curation_concerns/templates/config/redis_config.rb
curation_concerns-1.7.2 lib/generators/curation_concerns/templates/config/redis_config.rb
curation_concerns-2.0.0.rc1 lib/generators/curation_concerns/templates/config/redis_config.rb
curation_concerns-1.7.1 lib/generators/curation_concerns/templates/config/redis_config.rb
curation_concerns-1.7.0 lib/generators/curation_concerns/templates/config/redis_config.rb
curation_concerns-1.7.0.beta1 lib/generators/curation_concerns/templates/config/redis_config.rb
curation_concerns-1.6.3 lib/generators/curation_concerns/templates/config/redis_config.rb
curation_concerns-1.6.2 lib/generators/curation_concerns/templates/config/redis_config.rb
curation_concerns-1.6.1 lib/generators/curation_concerns/templates/config/redis_config.rb
curation_concerns-1.6.0 lib/generators/curation_concerns/templates/config/redis_config.rb
curation_concerns-1.5.0 lib/generators/curation_concerns/templates/config/redis_config.rb
curation_concerns-1.4.0 lib/generators/curation_concerns/templates/config/redis_config.rb
curation_concerns-1.3.3 lib/generators/curation_concerns/templates/config/redis_config.rb