Sha256: 2f86181af2f8c5020f433c9110d89704314f084eb8982cae8292a753efd92b38
Contents?: true
Size: 1.05 KB
Versions: 2
Compression:
Stored size: 1.05 KB
Contents
tynn [![Gem Version](https://badge.fury.io/rb/tynn.svg)](https://rubygems.org/gems/tynn) ==== Simple library to create [Rack][rack] applications. Description ----------- Tynn is a thin abstraction on top of [Syro][syro], a very simple and fast router for web applications. Usage ----- Here's a minimal application: ```ruby # config.ru require "tynn" Tynn.define do root do res.write("Hello World!") end end run(Tynn) ``` You can run `rackup` and open <http://localhost:9292/> to see the greeting message. Installation ------------ ``` $ gem install tynn ``` Contributing ------------ - Fork the project. - Use `make install` to install dependencies. - Use `make test` to run the test suite. - Create a pull request with your changes. You can install the gems globally, but we recommend [gs][gs] (or [gst][gst] if you're using chruby) to keep things isolated. [cuba]: https://github.com/soveran/cuba [rack]: https://github.com/rack/rack [syro]: https://github.com/soveran/syro [gs]: https://github.com/soveran/gs [gst]: https://github.com/tonchis/gst
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
tynn-1.0.0.rc1 | README.md |
tynn-0.0.4 | README.md |