No commit activity in last 3 years
No release in over 3 years
Sinatra Ruby gem extensions for gettext, caching, reloading, etc.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies
 Project Readme

Sinatra Hat

This is a set of extensions for Sinatra and relative gems such as Sequel, Haml, GetText.

It adds following functions to your Sinatra project:

  • Automatic translation using GetText or Fast_Gettext of Haml templates, and parser for po file generation
  • Several fixes for Sequel, Rack
  • Rack reloader for Sinatra and GetText translations
  • String permalinks and date extensions

Setup

1. Install

sudo gem install sinatra-hat

Or from source:

git clone git://github.com/nanoant/sinatra-hat.git
cd sinatra-hat && rake install

Author

Adam Strzelecki ono@java.pl

Released under MIT license, see MIT-LICENSE for details.