README.md in waffle-0.5.1 vs README.md in waffle-0.6.0
- old
+ new
@@ -4,26 +4,29 @@
[![Build Status](https://secure.travis-ci.org/undr/waffle.png?branch=master)](http://travis-ci.org/undr/waffle)
It supports the following transports:
-- RabbitMQ.
-- Redis.
+- RabbitMQ
+- Redis
## Configuration
Insert in your Gemfile:
+ gem 'bunny' # for RabbitMQ transport
+ gem 'hiredis' # for Redis transport
+ gem 'redis', require: ['redis', 'redis/connection/hiredis'] # for Redis transport
gem 'waffle', :gem => 'git://github.com/undr/waffle.git'
-and create config file:
+Create config file:
production:
transport: rabbitmq
encoder: marshal
url: amqp://anyhost.com:5678
-and load config file:
+and load it:
Waffle.configure(:path => 'config/waffle.yml')
You also can configure Waffle programmatically: