Sha256: 2068b5b35b92bfd74e0e2749408f3de9d0f2c3ca9eff6d474ac0da32e36abda9
Contents?: true
Size: 1.28 KB
Versions: 1
Compression:
Stored size: 1.28 KB
Contents
Not Yet Another Ruby Async web framework and server. [![Build Status](https://travis-ci.org/luikore/nyara.png)](https://travis-ci.org/luikore/nyara) - Evented IO while API remains synchrony - Prefork production server, mixing a bit blocking operations won't block other users - Sinatra-like http method and scanf-like http path and path helper - Request format matcher with just `case ... when` - Easy to stream the view with `Fiber.yield` # Getting started Requirement - BSD/Linux/Mac OS X - Ruby 2.0.0 or higher - GCC or Clang Install ```bash gem ins --pre nyara ``` Edit a file, name it `nyahaha.rb` for example ```ruby require 'nyara' get '/' do send_string 'hello world' end ``` And start server ```bash ruby nyahaha.rb ``` # Documentation - [Manual](https://github.com/luikore/nyara/wiki/Manual) - [API doc](http://rubydoc.info/github/luikore/nyara/master/frames) - [Building from source](https://github.com/luikore/nyara/wiki/Building) # Caveats - *Nyara* is not based on [rack](https://github.com/rack/rack). - *Nyara* is not compatible with [eventmachine](https://github.com/eventmachine/eventmachine). It won't work if you add gems like [em-synchrony](https://github.com/igrigorik/em-synchrony). # License BSD, see [copying](https://github.com/luikore/nyara/blob/master/copying)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
nyara-0.0.1.pre.5 | readme.md |