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.3.2 lib/generators/curation_concerns/templates/config/redis_config.rb
curation_concerns-1.3.1 lib/generators/curation_concerns/templates/config/redis_config.rb
curation_concerns-1.3.0 lib/generators/curation_concerns/templates/config/redis_config.rb
curation_concerns-1.2.0 lib/generators/curation_concerns/templates/config/redis_config.rb
curation_concerns-1.1.2 lib/generators/curation_concerns/templates/config/redis_config.rb
curation_concerns-1.1.1 lib/generators/curation_concerns/templates/config/redis_config.rb
curation_concerns-1.1.0 lib/generators/curation_concerns/templates/config/redis_config.rb
curation_concerns-1.0.0 lib/generators/curation_concerns/templates/config/redis_config.rb
curation_concerns-1.0.0.beta10 lib/generators/curation_concerns/templates/config/redis_config.rb
curation_concerns-1.0.0.beta9 lib/generators/curation_concerns/templates/config/redis_config.rb
curation_concerns-1.0.0.beta8 lib/generators/curation_concerns/templates/config/redis_config.rb
curation_concerns-1.0.0.beta7 lib/generators/curation_concerns/templates/config/redis_config.rb
curation_concerns-1.0.0.beta6 lib/generators/curation_concerns/templates/config/redis_config.rb
curation_concerns-1.0.0.beta5 lib/generators/curation_concerns/templates/config/redis_config.rb
curation_concerns-1.0.0.beta4 lib/generators/curation_concerns/templates/config/redis_config.rb
curation_concerns-1.0.0.beta3 lib/generators/curation_concerns/templates/config/redis_config.rb
curation_concerns-1.0.0.beta2 lib/generators/curation_concerns/templates/config/redis_config.rb
curation_concerns-1.0.0.beta1 lib/generators/curation_concerns/templates/config/redis_config.rb