public
Description: Goldfish is a Sinatra extension for database-based sessions.
Homepage:
Clone URL: git://github.com/robgleeson/goldfish.git
name age message
file README.markdown Loading commit data...
file TODO.md
directory app/ Fri Oct 30 04:29:47 -0700 2009 Switched from rdoc to yardoc/markdown [robert]
file goldfish-0.1.1.gemspec
directory lib/
directory spec/
README.markdown

GoldFish

GoldFish is a Sinatra extension that uses the DataMapper ORM to provide database-based sessions
for the Sinatra web framework. It is database-agnostic, supporting any database that DataMapper supports.

If you are reading this on github, the docs are at http://www.flowof.info/goldfish-doc

Download

GoldFish is hosted on http://gemcutter.org as a rubygem.
If you haven't added http://gemcutter.org to your rubygems source list, do that now:

gem source -a http://gemcutter.org

After that's been done, its as easy as pie:

gem install goldfish

Support

The following Ruby implementations have been run through the RSpec tests and passed:

  • CRuby 1.9 (Matz's Ruby)
  • JRuby (1.8.6p287-based)
  • Most likely CRuby 1.8.6+, but I haven't tried yet.

License (MIT)

Copyright (c) 2009 Robert Gleeson

Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following
conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.