Re: Keeping Camping going

2008-01-10 Thread why the lucky stiff
On Wed, Jan 09, 2008 at 11:29:17PM -0500, Jeremy McAnally wrote: > If that's not acceptable, then I'd like a commit bit at least so I can Yes, sure, anyone who has a trac account is also granted commit rights for all of my projects. (Except for Shoes, which I am much more protective of.) It woul

Re: Will there be a new release soon?

2007-11-06 Thread why the lucky stiff
On Tue, Nov 06, 2007 at 06:15:53PM +0100, Jonas Pfenniger wrote: > the svn trunk is near the release but still needs some work on the > following areas : > * better session handling > * fastcgi fixes > > Look in the track for ticket, patches are welcome :) Let's call this version two since the

Re: help on helper module inclusion/extension

2007-11-06 Thread why the lucky stiff
On Tue, Nov 06, 2007 at 01:26:34AM -0800, Ronald Evangelista wrote: > I want to include helper methods included to my Camping App from by > requiring an external file but I can't seem to include helpers from > another module. Try mixing into CampApp::Mab class directly, which will add methods to t

Re: Camping and sessions proposal.

2007-10-10 Thread why the lucky stiff
On Wed, Oct 10, 2007 at 10:09:46AM -0600, Aria Stewart wrote: > Keep camping light, move sessions as far out of the core as possible! I'd be okay leaving sessions out. I think zimbatm's Hash is great, because it's peewee and it gets the basic methods across for everyone else to override. If you'

Re: Cookie session handling?

2007-10-05 Thread why the lucky stiff
On Fri, Oct 05, 2007 at 06:08:12PM +0200, Jonas Pfenniger wrote: > I like the idea pretty much. What do you think of simply using a > Camping::H that is process-persistent ? Sure, and maybe it doesn't really need to be process-persistent. Yes, that would be how Camping would want us to do it. _wh

Re: putting away HashWithIndifferentAccess

2007-09-26 Thread why the lucky stiff
On Wed, Sep 26, 2007 at 11:33:42AM +0200, Jonas Pfenniger wrote: > I suggest that H is a child of Hash. Extensions can extend it to > provide method_missing goodness or anything else. The only concern I > have is about case-sensitiveness. I am not sure if the http headers > are normalized on input

Re: putting away HashWithIndifferentAccess

2007-09-25 Thread why the lucky stiff
On Tue, Sep 25, 2007 at 05:05:04PM -0700, MenTaLguY wrote: > Ah, yeah, good catch. Actually any approach which let you access > query parameters as methods would have that problem -- behind the > scenes, every uniquely named method introduces a symbol. This is > even a potential issue for approac

putting away HashWithIndifferentAccess

2007-09-25 Thread why the lucky stiff
Hey, campineros. And many good handshakes to zimbatm for getting some patches applied. So, yeah, I'd really like to get rid of any serious dependancies with this 1.6 release. Anything that's not in stdlib has to go. Of course, camping-omnibus will still assume the whole ActiveRecord, Markaby, M

Re: CampingConf?

2007-05-04 Thread why the lucky stiff
On Fri, May 04, 2007 at 11:39:01AM -0400, Eric Mill wrote: > My coworker raises a good point, saying that in the spirit of > CampingConf, it will have to take only 5 minutes, and we'll all give > our talks at once, using one single run on sentence. With a deep breath every 80th character. You kno

Re: Save sessions on file system instead of database table?

2007-04-19 Thread why the lucky stiff
On Thu, Apr 19, 2007 at 08:58:09PM +0200, Thomas Weibel wrote: > Is there a way to save session data on the file system (like in Rails) > instead of a database table? Well, you could probably use CGI::Session (which comes with Ruby) and try to tie together that and Camping::Session. Or you could

Re: Pimpin' a patch: moving the bin/camping logic to classes

2007-03-27 Thread why the lucky stiff
On Tue, Mar 27, 2007 at 09:52:49PM -0500, Mark Fredrickson wrote: > I'm unclear on any next steps, but if you like the idea and/or the > patch, please comment on the issue: > > http://code.whytheluckystiff.net/camping/ticket/117 The next step is for me to accept it and I accept it. You can go ah

Re: Postamble vs campingrc

2007-01-22 Thread why the lucky stiff
On Mon, Jan 22, 2007 at 03:42:55PM -0700, James Earl wrote: > No prob, I am adding the extra parameters. I test it by just > deleting/recreating the .campingrc file and reloading my app. When > .campingrc isn't there, Camping will create the .camping.db and give > me an error since it doesn't con

Re: Rendering with erb

2007-01-19 Thread why the lucky stiff
On Fri, Jan 19, 2007 at 11:02:37AM -0700, James Earl wrote: > Replying to myself... this works, instead of using yield. Not very > pretty I know :) > > module Test > require 'erb' > def render(m) > content=ERB.new(IO.read("templates/#{m}.html")).result(binding) > layout=ERB.new(IO.rea

Re: Overriding ServerError?

2007-01-09 Thread why the lucky stiff
On Tue, Jan 09, 2007 at 02:28:17PM -0500, Michael Gorsuch wrote: > I am doing things right, I just need to render a template instead of > output everything in the controller. Curious. It should let ya. Can you pass on the software versions you're using and i'll ticketize. _why _

Re: Overriding ServerError?

2007-01-09 Thread why the lucky stiff
On Tue, Jan 09, 2007 at 02:20:43PM -0500, Michael Gorsuch wrote: > Is it possible to override the ServerError class? I need custom 500's > to come up, and not the normal "Camping Problem!" page. Are you on FastCGI? Because FastCGI has its own error page (which is broken in many gems.) The FastC

Re: ActiveSupport Dependency

2007-01-08 Thread why the lucky stiff
On Mon, Jan 08, 2007 at 02:16:56PM -0700, james wrote: > Hi, Just wondering if ActiveSupport is actually used heavily by > Camping when ActiveRecord is not used? I see ActiveSupport is a > dependency of ActiveRecord, but Camping still wants it even when > ActiveRecord isn't used. Yep, Camping use

! camping 1.5.180

2007-01-06 Thread why the lucky stiff
Just a few minor changes released before I add gem support. * R() now accepts a Hash in its arguments which can be used to build a query string. R(Topic, @topic.id, :page => 24) #=> "/topic/14?page=24" * Base#to_a, discussed here.[1] Can be used to forward requests. Both the camping

? camping apps in gems

2007-01-05 Thread why the lucky stiff
So would you like this: $ wget http://rubyforge.org/gems/junebug-0.0.18.gem $ camping junebug-0.0.18.gem Or should it be: $ gem install junebug $ touch junebug.gemcamp $ camping junebug.gemcamp _why ___ Camping-list mailing list Camping-list

Re: Camping 1.6 (was Re: Newline problem)

2006-11-27 Thread why the lucky stiff
On Mon, Nov 27, 2006 at 08:20:00AM -0600, Mark Fredrickson wrote: > 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: > > r

Camping 1.6 (was Re: Newline problem)

2006-11-26 Thread why the lucky stiff
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]. A

! camping-omnibus 1.5.176

2006-10-31 Thread why the lucky stiff
gem install camping-omnibus --source code.whytheluckystiff.net Considering the number of optional dependencies now in Camping, I've put together an eigengem which will load all of the recommended libraries that most devoted campers will want: ActiveRecord, Mongrel, SQLite3, RedCloth and the acts

Re: Mounting an app as '/' under Apache?

2006-10-29 Thread why the lucky stiff
On Sat, Oct 28, 2006 at 05:02:44PM -0400, Michael Gorsuch wrote: > It was ticket #104. I had to patch the 1.5 source to get around the > exception I was receiving after I figured out that I needed to preload my > Blog class. Well, well, look at that. Lovely! So, thanks for stepping in and just

Re: Mounting an app as '/' under Apache?

2006-10-28 Thread why the lucky stiff
On Sat, Oct 28, 2006 at 12:40:43PM -0400, Michael Gorsuch wrote: > Hello everyone, I have a site with a collection of camping apps. I'm trying > to force one of them, blog.rb, to run as the index ('/'). [...] > require 'rubygems' > require 'camping/fastcgi' > ENV['FORCE_ROOT'] = "1" > Camping::M