Sha256: f134f5bcdc5d61d74fcaa3ea42c811c6bcf74037c21ac6837a9952ae596ae66c

Contents?: true

Size: 429 Bytes

Versions: 23

Compression:

Stored size: 429 Bytes

Contents

if config['redis']
  gem 'redis'

  after_bundler do
    say_wizard "Generating Redis initializer..."

    create_file "config/initializers/redis.rb" do <<-RUBY
  REDIS = Redis.new
    RUBY
    end
  end
else
  recipes.delete('redis')
end
__END__

name: Redis
description: "Add Redis as a persistence engine to your application."
author: mbleigh

exclusive: key_value
category: persistence
tags: [key_value, cache, session_store]

Version data entries

23 entries across 23 versions & 2 rubygems

Version Path
rails_apps_composer-1.4.5 recipes/redis.rb
rails_apps_composer-1.4.4 recipes/redis.rb
rails_apps_composer-1.4.3 recipes/redis.rb