Tavern history adds basic history to the events published with tavern, letting you retrieve a historical record of things that have happened.
How does it work you ask? easy! Tavern history uses a backend to store entities (out of the box, it's built to work with Redis at the moment) as well as a generaled channel to events mapping.
The redis backend is the primary backend at the moment and makes uses of redis hashes (for the actual event storage) and sorted sets for the actual historical channel tracking.
Add this line to your application's Gemfile:
And then execute:
Or install it yourself as:
$ gem install tavern-history
TODO: Write usage instructions here
- Fork it
- Create your feature branch (
git checkout -b my-new-feature)
- Commit your changes (
git commit -am 'Added some feature')
- Push to the branch (
git push origin my-new-feature)
- Create new Pull Request