Nicely done!
Also glad you're using restr... seems like rest-client is getting all the
love nowdays.
I'm happy to start a full-fledged githup repo for reststop. Although maybe a
better place for it would be the general 'camping' github account?
Matt.
On Fri, Mar 26, 2010 at 11:42 PM, Philippe
I actually have a reststop app up and running fine with Camping 2.0 (check
out Taskr at http://github.com/zuk/taskr). Tthe catch is that it's a version
of 2.0 that I forked about this time last year, and looking at the github
graph, Magnus has committed a whole slew of changes since then. So
I find extending Camping apps to be quite easy, since it's all classes and
modules, but I can understand that extending Camping itself can be
difficult/weird. That said, I think a lot can be solved by defining
#included and #extended. It would be great if you could tell us a bit
exactly the
Hey Magnus, while we have your attention, in 2.0 how do I get access to
e['REQUEST_METHOD'] inside the 'service' method? Trying to figure this out
as we speak...
On Tue, Mar 23, 2010 at 11:50 AM, Magnus Holm judo...@gmail.com wrote:
I find extending Camping apps to be quite easy, since it's all
@env['REQUEST_METHOD'] is the HTTP method send by the client, @method is the
method (in lowercase) Camping is going to run (r404 for 404 etc.)
// Magnus Holm
On Tue, Mar 23, 2010 at 17:01, Matt Zukowski m...@roughest.net wrote:
Hey Magnus, while we have your attention, in 2.0 how do I get
Okay got it... but as I look at this a bit more, the ridiculous things I had
to do to make Reststop work (for Camping 1.0) are all coming back to me.
As I recall, the root of all evil was Camping#goes. I had to override it in
order to inject the Reststop code into Camping. Camping#qsp was the
Alright I spent a few hours trying to see if I can make things work with
2.0.
I was able to make some progress (mostly thanks to Magnus' help!) but ran
out of time before I could get things runnings.
Here's the result:
http://gist.github.com/341555
I'm not sure when I will get a chance in the
Sorry that link should be: http://gist.github.com/341555#file_reststop2.rb
On Tue, Mar 23, 2010 at 3:49 PM, Matt Zukowski m...@roughest.net wrote:
Alright I spent a few hours trying to see if I can make things work with
2.0.
I was able to make some progress (mostly thanks to Magnus' help!)
Hi David,
I had played with RESTstop on the old Camping maybe six months ago.
I have now started to take a look at what the issues are about.
So far I have found a few things like:
In reststop.rb:
- the service method needs to retrieve the REQUEST_METHOD using
@env['REQUEST_METHOD']
-the
9 matches
Mail list logo