GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

public
Description: the 4k pocket full-of-gags web microframework
Homepage: http://code.whytheluckystiff.net/camping/
Clone URL: git://github.com/why/camping.git

Comments for why's camping   feed

judofyr commented on why/camping Tue Jun 24 15:47:48 -0700 2008
Comment in 3c19581:

You can now code like this:
class BlogXN # no R
end
If you use the R-method, you’ll have to define your own Regex, if not Camping will create one for you :-)

diclophis commented on why/camping Tue Jun 24 14:31:17 -0700 2008
Comment in 3c19581:

I am not sure I see the point… Controllers::BlogXN becomes ’/blog/(\w+)/(\d+)’?
does that mean we can code controllers like so?
class BlogXN < R ’/blog/(\w+)/(\d+)’
def get(x, n)
#x is a word
#n is a number
end
end
Or, is there implied arguments based on these new capitol letters in the controller name
class BlogXXNN < R
def get(wordone, wordtwo, numberone, numbertwo)
end
end
Or what?

judofyr commented on why/camping Tue Jun 24 03:52:06 -0700 2008
Comment on lib/camping-unabridged.rb L536 in 3c19581:

That’s absolutely awesome!

qwzybug commented on why/camping Thu Jun 05 17:55:38 -0700 2008
Comment in 1b7718b:

Bluebie in IRC pointed out to me that this is not very pretty because @cookies really already should be setting the path to self / "/" (also something my code didn’t take into account). But it doesn’t look like we can use @cookies just right here, for a reason I’m not totally clear on yet. I need to ensure that I understand what is happening before I muck around more. Paging Bluebie to github!

dustin commented on why/camping Sat May 24 21:17:52 -0700 2008
Comment on Rakefile L12 in d56614c:

I usually use the following recipe (works well when you’ve got proper tags, OK when you’ve got regular tags, and still works when you don’t have tags):
git describe || git describe—tags || git rev-parse—short HEAD