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.9.6 lib/generators/hyrax/templates/config/initializers/redis_config.rb
hyrax-2.9.5 lib/generators/hyrax/templates/config/initializers/redis_config.rb
hyrax-2.9.4 lib/generators/hyrax/templates/config/initializers/redis_config.rb
hyrax-2.9.3 lib/generators/hyrax/templates/config/initializers/redis_config.rb
hyrax-2.9.2 lib/generators/hyrax/templates/config/initializers/redis_config.rb
hyrax-2.9.1 lib/generators/hyrax/templates/config/initializers/redis_config.rb
zizia-6.0.1 spec/dummy/config/initializers/redis_config.rb
hyrax-2.9.0 lib/generators/hyrax/templates/config/initializers/redis_config.rb
hyrax-2.8.0 lib/generators/hyrax/templates/config/initializers/redis_config.rb
hyrax-2.7.2 lib/generators/hyrax/templates/config/initializers/redis_config.rb
hyrax-2.7.1 lib/generators/hyrax/templates/config/initializers/redis_config.rb
hyrax-2.7.0 lib/generators/hyrax/templates/config/initializers/redis_config.rb
zizia-6.0.0 spec/dummy/config/initializers/redis_config.rb
zizia-5.5.0 spec/dummy/config/initializers/redis_config.rb
zizia-5.4.0 spec/dummy/config/initializers/redis_config.rb
zizia-5.3.0 spec/dummy/config/initializers/redis_config.rb
zizia-5.2.0 spec/dummy/config/initializers/redis_config.rb
zizia-5.1.0 spec/dummy/config/initializers/redis_config.rb
hyrax-2.6.0 lib/generators/hyrax/templates/config/initializers/redis_config.rb
zizia-5.0.1 spec/dummy/config/initializers/redis_config.rb