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.5.5 recipes/redis.rb
rails_apps_composer-1.5.4 recipes/redis.rb
rails_apps_composer-1.5.3 recipes/redis.rb
rails_apps_composer-1.5.2 recipes/redis.rb
rails_apps_composer-1.5.1 recipes/redis.rb
thyone_creator-0.0.5 recipes/redis.rb
thyone_creator-0.0.4 recipes/redis.rb
thyone_creator-0.0.3 recipes/redis.rb
thyone_creator-0.0.2 recipes/redis.rb
rails_apps_composer-1.5.0 recipes/redis.rb
rails_apps_composer-1.4.15 recipes/redis.rb
rails_apps_composer-1.4.14 recipes/redis.rb
rails_apps_composer-1.4.13 recipes/redis.rb
rails_apps_composer-1.4.12 recipes/redis.rb
rails_apps_composer-1.4.11 recipes/redis.rb
rails_apps_composer-1.4.10 recipes/redis.rb
rails_apps_composer-1.4.9 recipes/redis.rb
rails_apps_composer-1.4.8 recipes/redis.rb
rails_apps_composer-1.4.7 recipes/redis.rb
rails_apps_composer-1.4.6 recipes/redis.rb