[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

GemPlugin 0.2.1 -- Resources, Configs, Cleaner

Zed A. Shaw

3/15/2006 8:49:00 AM

Just a quick announcement for people interested in GemPlugin. GemPlugin is
the plugin system for Mongrel (http://mongrel.rub...) which
implements a dynamic plugin loading system without anything more than
RubyGems and dependencies. The 0.2.1 release features:


NEW STUFF

* Works with edge rails by doing a better require on the init.rb file for
your plugin.
* Has a way for you to package resources and config files and then load them
into Ruby. This was used to package erb templates for the Mongrel
configtool (a Camping app).
* Should work without getting in the way of your regular gems and also
doesn't use any deprecated stuff (thanks Austin).
* A little generator script called gpgen that will get you started with a
plugin very quickly.
* Does not depend on *any* Mongrel code and is Ruby licensed rather than
LGPL so people are free to use it.


GETTING IT

You can check the docs for GemPlugin at:

http://mongrel.rub.../gem_plugin_rdoc/

And you can grab it with:

$ gem install gem_plugin

Finally here's some documentation on writing a Mongrel plugin which I'm sure
someone can take for their own uses:

http://mongrel.rub.../docs/gem_plugin.html

Enjoy!

Zed A. Shaw
http://www.ze...