RubyGems Navigation menu

sinatra-flash-nicer 0.3.2

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:
= Copy to clipboard Copied!

install:
=

Versions:

  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)

Runtime Dependencies (1):

sinatra >= 1.0.0

Development Dependencies (3):

rspec >= 1.2.9
yard >= 0

Owners:

Authors:

  • Stefano Bernardi

SHA 256 checksum:

f6ad1f608237ff7e67b2a3db29689407d46cfa03d79493c5435f05426d699c51

Total downloads 10,926

For this version 4,587

Licenses:

N/A

Required Ruby Version: None

Links: