Sha256: 20d2426fd13f654018d14dfeb34c3a3d298d6a1f09dc4b1caa8ae621f75a596d

Contents?: true

Size: 199 Bytes

Versions: 78

Compression:

Stored size: 199 Bytes

Contents

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

Version data entries

78 entries across 78 versions & 3 rubygems

Version Path
hyrax-2.0.1 lib/generators/hyrax/templates/config/initializers/redis_config.rb
hyrax-2.0.0 lib/generators/hyrax/templates/config/initializers/redis_config.rb
hyrax-2.0.0.rc3 lib/generators/hyrax/templates/config/initializers/redis_config.rb
hyrax-2.0.0.rc2 lib/generators/hyrax/templates/config/initializers/redis_config.rb
hyrax-2.0.0.rc1 lib/generators/hyrax/templates/config/initializers/redis_config.rb
hyrax-1.0.5 lib/generators/hyrax/templates/config/redis_config.rb
hyrax-2.0.0.beta5 lib/generators/hyrax/templates/config/initializers/redis_config.rb
hyrax-2.0.0.beta4 lib/generators/hyrax/templates/config/redis_config.rb
hyrax-2.0.0.beta3 lib/generators/hyrax/templates/config/redis_config.rb
hyrax-2.0.0.beta2 lib/generators/hyrax/templates/config/redis_config.rb
hyrax-2.0.0.beta1 lib/generators/hyrax/templates/config/redis_config.rb
hyrax-1.0.4 lib/generators/hyrax/templates/config/redis_config.rb
hyrax-1.0.3 lib/generators/hyrax/templates/config/redis_config.rb
hyrax-1.0.2 lib/generators/hyrax/templates/config/redis_config.rb
hyrax-1.0.1 lib/generators/hyrax/templates/config/redis_config.rb
hyrax-1.0.0.rc2 lib/generators/hyrax/templates/config/redis_config.rb
hyrax-1.0.0.rc1 lib/generators/hyrax/templates/config/redis_config.rb
test_hyrax-0.0.1.alpha lib/generators/hyrax/templates/config/redis_config.rb