RubyGems Navigation menu

sinatra-flash 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.

Versions:

  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)

Runtime Dependencies (1):

  • sinatra >= 1.0.0
  • Development Dependencies (3):

    Owners:

    Authors:

    • Stephen Eley

    SHA 256 checksum:

    fef044da4341840dcddc6f1cc9582c2babc6932aefbf1b00cda66f3bf6f717ee

    Total downloads 1,169,032

    For this version 1,161,106

    Gemfile:
    = Copy to clipboard Copied!

    install:
    =

    Licenses:

    N/A

    Required Ruby Version: None

    Links: