Ruby-Mongrel2 version 0.20.0 has been released!
Ruby-Mongrel2 is a complete Ruby (1.9-only) connector for
Mongrel2[http://mongrel2.org/].
This library includes configuration-database ORM classes, a Ruby
implementation of the ‘m2sh’ tool, a configuration DSL for generating
config
databases in pure Ruby, a Control port interface object, and handler
classes
for creating applications or higher-level frameworks.
Installation:
gem install mongrel2
Changes:
== v0.20.0 [2012-03-28] Michael G. [email protected]
- Fix the config DB for Sequel 3.34.
Note: This fix includes several API changes
- Mongrel2::Config.adapter_method is now .sqlite_adapter, and just
returns the name of the appropriate adapter instead of a Method
object that returns a Sequel::Database. - Mongrel2::Config.pathname is now .dbname, and returns either a URI
or a String, depending on how the database handle was created.
These changes also will make it easier to use alternative
configuration databases, e.g., when I get the PostgreSQL config
module working, it’ll be easier to point the config model at it.