I'd like to see the logic in the camping server wrapped into a class.
This would allow other uses. Right now, there is no easy way to pass
in database, url, and port parameters. It would be helpful to have an
API like:
require 'camping/server'
db = { 'host' => 'localhost, 'username' => 'camping', 'password' =>
'foo', 'db' => 'mysql_camping', .... }
myserver = Camping::Server.new('localhost', 3301, db)
myserver.run # boots the server and returns when the sever dies
I wrote a rake task to launch camping apps using a Rails config file,
and I had to duplicate virtually all the code in the camping server.
I'm happy to write this patch, but I won't have time until later this
week. What's the timeline for 1.6?
-M
On 11/26/06, why the lucky stiff <[EMAIL PROTECTED]> wrote:
> On Sat, Nov 25, 2006 at 02:01:55PM +0100, Manfred Stienstra wrote:
> > I think this problem was solved just after Camping 1.5 was released.
>
> That's true, this little problem bothered me a lot and maybe it's time for
> 1.6.
> Our milestones: are loading apps straight from a Gem and daemon mode[1].
>
> Anything else?
>
> _why
>
> [1] http://code.whytheluckystiff.net/camping/roadmap
> _______________________________________________
> Camping-list mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/camping-list
>
_______________________________________________
Camping-list mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/camping-list