Sinatra-contrib
Sinatra-contrib
http://github.com/sinatra/sinatra-contrib
collection of useful extensions to the Sinatra web framework
sinatra-contrib is a collection of common extensions to the Sinatra web framework, semi-officially supported: - capture: Let's you capture the content of blocks in templates. - config_file: Allows loading configuration from yaml files. - content_for: Adds Rails-style content_for helpers to Haml, Erb, Erubis and Slim. - cookies: A cookies helper for reading and writing cookies. - engine_tracking: Adds methods like haml? that allow helper methods to check whether they are called from within a template. - json: Adds a #json helper method to return JSON documents. - link_header: Helpers for generating link HTML tags and corresponding Link HTTP headers. Adds link, stylesheet and prefetch helper methods. - multi_route: Adds ability to define one route block for multiple routes and multiple or custom HTTP verbs. - namespace: Adds namespace support to Sinatra. - respond_with: Choose action and/or template automatically depending on the incoming request. Adds helpers respond_to and respond_with. - decompile: Recreates path patterns from Sinatra's internal data structures (used by other extensions). - reloader: Automatically reloads Ruby files on code changes. - extension: Mixin for writing your own Sinatra extensions. - test_helpers: Helper methods to ease testing your Sinatra application. Partly extracted from Sinatra. Testing framework agnostic.
Download
http://ftp.debian.org/debian/pool/main/r/ruby-sinatra-contrib/ruby-sinatra-contrib_1.4.2.orig.tar.gz
Categories
Licensing
License
Verified by
Verified on
Notes
License
Verified by
Debian: Jérémy Bobbio <lunar@debian.org>
Verified on
11 April 2014
Notes
License: expat
Leaders and contributors
Resources and communication
Audience | Resource type | URI |
---|---|---|
Debian (Ref) (R) | https://tracker.debian.org/pkg/ruby-sinatra-contrib | |
Ruby (Ref) | https://rubygems.org/gems/sinatra-contrib | |
Download | https://github.com/sinatra/sinatra-contrib |
Software prerequisites
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the page “GNU Free Documentation License”.
The copyright and license notices on this page only apply to the text on this page. Any software or copyright-licenses or other similar notices described in this text has its own copyright notice and license, which can usually be found in the distribution or license text itself.