Sha256: e3b0bba0f599b2c9652bbf2d220994cc5f7b34e49e4014bec5ef7e0c27e9f01c

Contents?: true

Size: 1.09 KB

Versions: 2

Compression:

Stored size: 1.09 KB

Contents

tynn [![Build Status](https://travis-ci.org/frodsan/tynn.svg)](https://travis-ci.org/frodsan/tynn) [![Code Climate](https://codeclimate.com/github/frodsan/tynn/badges/gpa.svg)](https://codeclimate.com/github/frodsan/tynn)
====

A thin library for web development.

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.

[syro]: http://soveran.github.io/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.1.0 README.md
tynn-1.0.0 README.md