Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Redis-based distributed PubSub for Tavern.
branch: master
Failed to load latest commit information.
lib Default to using Redis.current
.gitignore Add tavern-redis
Gemfile Add tavern-redis
LICENSE Add tavern-redis Proper code blocks
Rakefile Add tavern-redis
tavern-redis.gemspec Add in gemspec details


Tavern Redis lets you publish and receive tavern messages over redis. Useful for situations where you want to implement simple pubsub with ruby-like semantics over a network. Magic!


Add this line to your application's Gemfile:

gem 'tavern-redis'

And then execute:

$ bundle

Or install it yourself as:

$ gem install tavern-redis


Inside your application, simple set your hub to a Tavern::Redis::Hub instance:

Tavern.hub =

Next, in a script where you want the subscribers to work, run:


Whilst using the hub as normal in your main application


  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request
Something went wrong with that request. Please try again.