RubyGems Navigation menu

sinatra-flash 0.2.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.0 - May 02, 2010 (15,5 KB)
  2. 0.2.1 - April 29, 2010 (15,5 KB)
  3. 0.2.0 - April 28, 2010 (15,5 KB)
  4. 0.1.0 - April 26, 2010 (14,5 KB)

dependencias de Runtime (1):

sinatra >= 1.0.0

dependencias de Development (3):

rspec >= 1.2.9
yard >= 0

Propietarios:

Autores:

  • Stephen Eley

SHA 256 checksum:

d3b0da01d07117d1b7246e282984f96203f5b4856e2b48cb4cf2887e0c3794d6

Total de descargas 3.255.783

Para esta versión 3.470

Licencias:

N/A

Versión de Ruby requerida: Ninguno

Enlace: