Monday, March 31, 2008

Great To See This Kind of Appreciation

I'm a bit of a fan of DataMapper, and today even more so.

The site design for datamapper.org was very kindly donated by Luke Sutton aka unagi-san. He did the design as a way to contribute to datamapper, and it sure does make it nice. Not only did he do the original design for it, he continues to work on it, donating his time and talent to a great project.

Well. Today Sam Smoot, the father of DataMapper has setup a pledgie as a way to recognize the hard work, and say thanx. I think it's an awesome way for the community to help out a designer that's helped out the community. If you can spare a few dollars and like the project why not get in on it.

Wednesday, March 26, 2008

Introducing Whistler

With all the posts about merbful_athentication lately, you'd think that was all I was working on. It's not quite the case. A lot of it isn't looking like going OS, but I've been able extract something from one of my project.

Whistler is a markup white list filter. It's based on the specs of Rick Olson's WhiteList rails plugin and runs on hpricot.

Usage is super simple. You can either include it into your model, or use it directly.
Whistler.white_list(markup_string)
That's it. There are ways of using different tags and attributes on each call. Check out the source at http://github.com/hassox/whistler

Merbful Authentication 0.9.2

I've just put up a bugfix for merbful_authentication because there was a method name clash in merb-gen. This is really a very small fix. It also includes a couple of other minor fixes.

You can get the latest from rubyforge.

Wednesday, March 5, 2008

Merbful Authentication 0.9.1

After a buggy start, and no Test::Unit support, the new MerbfulAuthentication is here.

This release is a little experimental at the moment. I mean, it's more robust in the way it handles the dependencies, but there is one area I'd really like some feedback.

To minimise the setup and configuration required, I've taken some liberty with this release. There was an issue where with the way I had the routes in 0.9.0, when the router was reloaded because of a change, the AuthenticatedSystem routes were wiped out. Also there was requires and dependencies still fairly well littered throughout the code.

To accomplish this, I've taken the liberty of writing some configuration information into the config/init.rb and config/routes.rb files. This will add the lines when you generate, if they are not already there. It won't be destructive, and you can just remove them if you want.

I'd really like some feedback to see if ppl don't like this. I can't see it causing trouble. But that doesn't mean ppl will like it ;)

So have a crack and let me know what you think :)