RubyGems Navigation menu

sinatra-flash-nicer 0.3.0

A Sinatra extension for setting and showing Rails-like flash messages. This extension improves on the Rack::Flash gem by being simpler to use, providing a full range of hash operations (including iterating through various flash keys, testing the size of the hash, etc.), and offering a 'styled_flash' view helper to render the entire flash hash with sensible CSS classes. The downside is reduced flexibility -- these methods will *only* work in Sinatra.

Gemfile:
= Copiar al portapapeles ¡Copiado!

instalar:
=

Versiones:

  1. 0.3.2 - January 04, 2011 (16 KB)
  2. 0.3.1 - January 04, 2011 (16 KB)
  3. 0.3.0 - January 04, 2011 (16 KB)

dependencias de Runtime (1):

sinatra >= 1.0.0

dependencias de Development (3):

rspec >= 1.2.9
yard >= 0

Propietarios:

Autores:

  • Stefano Bernardi

SHA 256 checksum:

1299f1a1588675cc99314e696c3933db2af5f9b0f82e8e1518e8f39702473df3

Total de descargas 10.996

Para esta versión 3.167

Licencias:

N/A

Versión de Ruby requerida: Ninguno

Enlace: