From gregoire.lejeune at gmail.com Wed Nov 12 12:03:32 2008 From: gregoire.lejeune at gmail.com (Gregoire LEJEUNE) Date: Wed, 12 Nov 2008 18:03:32 +0100 Subject: Hum... What's wrong with me ? Message-ID: <1cf700d50811120903o6dc1fecdj638c229e55872aa0@mail.gmail.com> Hi Campers, i just download and install the last version from http://github.com/why/camping/tree/master Then, when i test with this piece of code : require 'camping' Camping.goes :Test module Test::Controllers class Index < R '/' def get @hello = "Hello World!" render :index end end end module Test::Views def layout html do body do self << yield end end end def index p "Camping say #{@hello}" end end I just see "Camping say" not "Camping say Hello World!"... So what's wrong ? From kprojection at gmail.com Wed Nov 12 12:29:12 2008 From: kprojection at gmail.com (Eric Mill) Date: Wed, 12 Nov 2008 12:29:12 -0500 Subject: Hum... What's wrong with me ? In-Reply-To: <1cf700d50811120903o6dc1fecdj638c229e55872aa0@mail.gmail.com> References: <1cf700d50811120903o6dc1fecdj638c229e55872aa0@mail.gmail.com> Message-ID: You want def get render :index, :hello => "Hello World!" end in your view. Unlike Rails, instance variables aren't magically carried along from Controller to View. -- Eric On Wed, Nov 12, 2008 at 12:03 PM, Gregoire LEJEUNE wrote: > Hi Campers, > > i just download and install the last version from > http://github.com/why/camping/tree/master > > Then, when i test with this piece of code : > > require 'camping' > > Camping.goes :Test > > module Test::Controllers > class Index < R '/' > def get > @hello = "Hello World!" > render :index > end > end > end > > module Test::Views > def layout > html do > body do > self << yield > end > end > end > > def index > p "Camping say #{@hello}" > end > end > > I just see "Camping say" not "Camping say Hello World!"... > > So what's wrong ? > _______________________________________________ > Camping-list mailing list > Camping-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/camping-list > From judofyr at gmail.com Wed Nov 12 12:37:32 2008 From: judofyr at gmail.com (Magnus Holm) Date: Wed, 12 Nov 2008 18:37:32 +0100 Subject: Hum... What's wrong with me ? In-Reply-To: References: <1cf700d50811120903o6dc1fecdj638c229e55872aa0@mail.gmail.com> Message-ID: <391a49da0811120937sed7e0e5pb73f2581e1c7925f@mail.gmail.com> Huh? I just pasted that code, ran "camping test.rb" and it worked just like expected: "Camping say Hello World!"... -- Magnus Holm On Wed, Nov 12, 2008 at 6:29 PM, Eric Mill wrote: > You want > > def get > render :index, :hello => "Hello World!" > end > > in your view. Unlike Rails, instance variables aren't magically > carried along from Controller to View. > > -- Eric > > On Wed, Nov 12, 2008 at 12:03 PM, Gregoire LEJEUNE > wrote: > > Hi Campers, > > > > i just download and install the last version from > > http://github.com/why/camping/tree/master > > > > Then, when i test with this piece of code : > > > > require 'camping' > > > > Camping.goes :Test > > > > module Test::Controllers > > class Index < R '/' > > def get > > @hello = "Hello World!" > > render :index > > end > > end > > end > > > > module Test::Views > > def layout > > html do > > body do > > self << yield > > end > > end > > end > > > > def index > > p "Camping say #{@hello}" > > end > > end > > > > I just see "Camping say" not "Camping say Hello World!"... > > > > So what's wrong ? > > _______________________________________________ > > Camping-list mailing list > > Camping-list at rubyforge.org > > http://rubyforge.org/mailman/listinfo/camping-list > > > _______________________________________________ > Camping-list mailing list > Camping-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/camping-list > -------------- next part -------------- An HTML attachment was scrubbed... URL: From kprojection at gmail.com Wed Nov 12 12:42:27 2008 From: kprojection at gmail.com (Eric Mill) Date: Wed, 12 Nov 2008 12:42:27 -0500 Subject: Hum... What's wrong with me ? In-Reply-To: <391a49da0811120937sed7e0e5pb73f2581e1c7925f@mail.gmail.com> References: <1cf700d50811120903o6dc1fecdj638c229e55872aa0@mail.gmail.com> <391a49da0811120937sed7e0e5pb73f2581e1c7925f@mail.gmail.com> Message-ID: Hey....me too. I've been using the style I recommended before in my code thus far, but maybe I didn't need to. Is it something that differs between Camping versions? On Wed, Nov 12, 2008 at 12:37 PM, Magnus Holm wrote: > Huh? I just pasted that code, ran "camping test.rb" and it worked just like > expected: "Camping say Hello World!"... > -- > Magnus Holm > > > On Wed, Nov 12, 2008 at 6:29 PM, Eric Mill wrote: >> >> You want >> >> def get >> render :index, :hello => "Hello World!" >> end >> >> in your view. Unlike Rails, instance variables aren't magically >> carried along from Controller to View. >> >> -- Eric >> >> On Wed, Nov 12, 2008 at 12:03 PM, Gregoire LEJEUNE >> wrote: >> > Hi Campers, >> > >> > i just download and install the last version from >> > http://github.com/why/camping/tree/master >> > >> > Then, when i test with this piece of code : >> > >> > require 'camping' >> > >> > Camping.goes :Test >> > >> > module Test::Controllers >> > class Index < R '/' >> > def get >> > @hello = "Hello World!" >> > render :index >> > end >> > end >> > end >> > >> > module Test::Views >> > def layout >> > html do >> > body do >> > self << yield >> > end >> > end >> > end >> > >> > def index >> > p "Camping say #{@hello}" >> > end >> > end >> > >> > I just see "Camping say" not "Camping say Hello World!"... >> > >> > So what's wrong ? >> > _______________________________________________ >> > Camping-list mailing list >> > Camping-list at rubyforge.org >> > http://rubyforge.org/mailman/listinfo/camping-list >> > >> _______________________________________________ >> Camping-list mailing list >> Camping-list at rubyforge.org >> http://rubyforge.org/mailman/listinfo/camping-list > > > _______________________________________________ > Camping-list mailing list > Camping-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/camping-list > From blueberry at creativepony.com Wed Nov 12 15:24:54 2008 From: blueberry at creativepony.com (Bluebie, Jenna) Date: Thu, 13 Nov 2008 07:24:54 +1100 Subject: Hum... What's wrong with me ? In-Reply-To: References: <1cf700d50811120903o6dc1fecdj638c229e55872aa0@mail.gmail.com> <391a49da0811120937sed7e0e5pb73f2581e1c7925f@mail.gmail.com> Message-ID: Maybe _why's version is broken. Gregoire, could you try using Magnus (judofyr)'s version instead? On 13/11/2008, at 4:42 AM, Eric Mill wrote: > Hey....me too. I've been using the style I recommended before in my > code thus far, but maybe I didn't need to. Is it something that > differs between Camping versions? > > On Wed, Nov 12, 2008 at 12:37 PM, Magnus Holm > wrote: >> Huh? I just pasted that code, ran "camping test.rb" and it worked >> just like >> expected: "Camping say Hello World!"... >> -- >> Magnus Holm >> >> >> On Wed, Nov 12, 2008 at 6:29 PM, Eric Mill >> wrote: >>> >>> You want >>> >>> def get >>> render :index, :hello => "Hello World!" >>> end >>> >>> in your view. Unlike Rails, instance variables aren't magically >>> carried along from Controller to View. >>> >>> -- Eric >>> >>> On Wed, Nov 12, 2008 at 12:03 PM, Gregoire LEJEUNE >>> wrote: >>>> Hi Campers, >>>> >>>> i just download and install the last version from >>>> http://github.com/why/camping/tree/master >>>> >>>> Then, when i test with this piece of code : >>>> >>>> require 'camping' >>>> >>>> Camping.goes :Test >>>> >>>> module Test::Controllers >>>> class Index < R '/' >>>> def get >>>> @hello = "Hello World!" >>>> render :index >>>> end >>>> end >>>> end >>>> >>>> module Test::Views >>>> def layout >>>> html do >>>> body do >>>> self << yield >>>> end >>>> end >>>> end >>>> >>>> def index >>>> p "Camping say #{@hello}" >>>> end >>>> end >>>> >>>> I just see "Camping say" not "Camping say Hello World!"... >>>> >>>> So what's wrong ? >>>> _______________________________________________ >>>> Camping-list mailing list >>>> Camping-list at rubyforge.org >>>> http://rubyforge.org/mailman/listinfo/camping-list >>>> >>> _______________________________________________ >>> Camping-list mailing list >>> Camping-list at rubyforge.org >>> http://rubyforge.org/mailman/listinfo/camping-list >> >> >> _______________________________________________ >> Camping-list mailing list >> Camping-list at rubyforge.org >> http://rubyforge.org/mailman/listinfo/camping-list >> > _______________________________________________ > Camping-list mailing list > Camping-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/camping-list From gregoire.lejeune at gmail.com Thu Nov 13 05:12:45 2008 From: gregoire.lejeune at gmail.com (Gregoire LEJEUNE) Date: Thu, 13 Nov 2008 11:12:45 +0100 Subject: Hum... What's wrong with me ? In-Reply-To: References: <1cf700d50811120903o6dc1fecdj638c229e55872aa0@mail.gmail.com> <391a49da0811120937sed7e0e5pb73f2581e1c7925f@mail.gmail.com> Message-ID: <1cf700d50811130212r65d5ea56i39142c47eff05359@mail.gmail.com> Hi campers, first, thanks a lot for your answers. I found the problem. This was due to markaby, installed from http://github.com/zimbatm/markaby/tree/master. I have replaced this module with last official version from rubygems then it works. Thanks again. Greg 2008/11/12 Bluebie, Jenna : > Maybe _why's version is broken. Gregoire, could you try using Magnus > (judofyr)'s version instead? > On 13/11/2008, at 4:42 AM, Eric Mill wrote: > >> Hey....me too. I've been using the style I recommended before in my >> code thus far, but maybe I didn't need to. Is it something that >> differs between Camping versions? >> >> On Wed, Nov 12, 2008 at 12:37 PM, Magnus Holm wrote: >>> >>> Huh? I just pasted that code, ran "camping test.rb" and it worked just >>> like >>> expected: "Camping say Hello World!"... >>> -- >>> Magnus Holm >>> >>> >>> On Wed, Nov 12, 2008 at 6:29 PM, Eric Mill wrote: >>>> >>>> You want >>>> >>>> def get >>>> render :index, :hello => "Hello World!" >>>> end >>>> >>>> in your view. Unlike Rails, instance variables aren't magically >>>> carried along from Controller to View. >>>> >>>> -- Eric >>>> >>>> On Wed, Nov 12, 2008 at 12:03 PM, Gregoire LEJEUNE >>>> wrote: >>>>> >>>>> Hi Campers, >>>>> >>>>> i just download and install the last version from >>>>> http://github.com/why/camping/tree/master >>>>> >>>>> Then, when i test with this piece of code : >>>>> >>>>> require 'camping' >>>>> >>>>> Camping.goes :Test >>>>> >>>>> module Test::Controllers >>>>> class Index < R '/' >>>>> def get >>>>> @hello = "Hello World!" >>>>> render :index >>>>> end >>>>> end >>>>> end >>>>> >>>>> module Test::Views >>>>> def layout >>>>> html do >>>>> body do >>>>> self << yield >>>>> end >>>>> end >>>>> end >>>>> >>>>> def index >>>>> p "Camping say #{@hello}" >>>>> end >>>>> end >>>>> >>>>> I just see "Camping say" not "Camping say Hello World!"... >>>>> >>>>> So what's wrong ? >>>>> _______________________________________________ >>>>> Camping-list mailing list >>>>> Camping-list at rubyforge.org >>>>> http://rubyforge.org/mailman/listinfo/camping-list >>>>> >>>> _______________________________________________ >>>> Camping-list mailing list >>>> Camping-list at rubyforge.org >>>> http://rubyforge.org/mailman/listinfo/camping-list >>> >>> >>> _______________________________________________ >>> Camping-list mailing list >>> Camping-list at rubyforge.org >>> http://rubyforge.org/mailman/listinfo/camping-list >>> >> _______________________________________________ >> Camping-list mailing list >> Camping-list at rubyforge.org >> http://rubyforge.org/mailman/listinfo/camping-list > > _______________________________________________ > Camping-list mailing list > Camping-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/camping-list > From julian.tarkhanov at gmail.com Thu Nov 13 07:38:56 2008 From: julian.tarkhanov at gmail.com (julik) Date: Thu, 13 Nov 2008 13:38:56 +0100 Subject: Hum... What's wrong with me ? In-Reply-To: References: <1cf700d50811120903o6dc1fecdj638c229e55872aa0@mail.gmail.com> Message-ID: On Nov 12, 2008, at 6:29 PM, Eric Mill wrote: > def get > render :index, :hello => "Hello World!" > end > > in your view. Unlike Rails, instance variables aren't magically > carried along from Controller to View. since when? From kprojection at gmail.com Thu Nov 13 10:13:02 2008 From: kprojection at gmail.com (Eric Mill) Date: Thu, 13 Nov 2008 10:13:02 -0500 Subject: Hum... What's wrong with me ? Message-ID: Oh, geez, I glanced at an app where I overwrote render to work with Haml instead of Markaby. Sorry for the confusion. On Nov 13, 2008 7:39 AM, "julik" wrote: On Nov 12, 2008, at 6:29 PM, Eric Mill wrote: > def get > render :index, :hello => "Hello World!"... since when? _______________________________________________ Camping-list mailing list Camping-list at rubyforge.or... -------------- next part -------------- An HTML attachment was scrubbed... URL: From julian.tarkhanov at gmail.com Sun Nov 16 14:56:26 2008 From: julian.tarkhanov at gmail.com (julik) Date: Sun, 16 Nov 2008 20:56:26 +0100 Subject: Mosquito for bug-free Camping now works with v.2 Message-ID: <846E4427-E158-4F32-81E2-087EAB1D0D20@gmail.com> Hello everyone! Just a quick heads-up - ppplz willing to use Mosquito for testing Camping 2 can track my Mosquito trunk on github. I hope for a rubyforge release soon. Camping 1.5 compat stays the same. http://github.com/julik/mosquito/tree/master From judofyr at gmail.com Fri Nov 21 14:31:44 2008 From: judofyr at gmail.com (Magnus Holm) Date: Fri, 21 Nov 2008 20:31:44 +0100 Subject: Mosquito for bug-free Camping now works with v.2 In-Reply-To: <846E4427-E158-4F32-81E2-087EAB1D0D20@gmail.com> References: <846E4427-E158-4F32-81E2-087EAB1D0D20@gmail.com> Message-ID: <391a49da0811211131l41303c32s2f29560bff5c28d2@mail.gmail.com> Awesome! I've already thought of doing it myself, but I'm waaaaay to lazy! Very nice, indeed! Magnus Holm On Sun, Nov 16, 2008 at 20:56, julik wrote: > Hello everyone! Just a quick heads-up - ppplz willing to use Mosquito for > testing Camping 2 can track my Mosquito trunk on github. I hope for a > rubyforge release soon. Camping 1.5 compat stays the same. > > http://github.com/julik/mosquito/tree/master > _______________________________________________ > Camping-list mailing list > Camping-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/camping-list > -------------- next part -------------- An HTML attachment was scrubbed... URL: From judofyr at gmail.com Sat Nov 22 16:52:27 2008 From: judofyr at gmail.com (Magnus Holm) Date: Sat, 22 Nov 2008 22:52:27 +0100 Subject: camping/test - Lightweight Mosquito-replacement for 2.0 Message-ID: <391a49da0811221352n175da979tabd2a33f89f856ee@mail.gmail.com> First of all, I must applaud Julik Tarkhanov for great work on getting Mosquito 2.0-ready. Well done! However, much code in Mosquito (which is needed for 1.5-support) is unnecessary in 2.0, and I believe there is better way to structure it too, so here comes my Mosquito-clone: camping/test. Take a look at http:// github.com/judofyr/camping-test and *please* give me some feedback! Yes, I know this is very similar to Mosquito and I actually don't want camping/test to be a project for itself. I realize that 1.5-support is pretty important for Mosquito, but I would love if camping/test could simply be renamed to Mosquito and be *the* official Camping testing framework. I know it's a lot to ask for, and I fully understand that you don't like me coming here and take over your code, so just scream out if you don't like the idea :-) Another option would be to ship camping/test with Camping (Sinatra ships with a minimal testing-framework) so all users are getting testing built-in. I'm however a little afraid of adding more into Camping; I mean: it should still be micro, micro, micro, and testing is really needed for tiny apps. If not, I can always keep this as a separate project/gem, but I don't like to "compete" with Mosquito and really want this merged into something! Oh, and if all of you think this is just crap, I will silently shut my mouth and no offense will be taken :-) -- Magnus Holm -------------- next part -------------- An HTML attachment was scrubbed... URL: From julian.tarkhanov at gmail.com Mon Nov 24 06:23:32 2008 From: julian.tarkhanov at gmail.com (julik) Date: Mon, 24 Nov 2008 12:23:32 +0100 Subject: Pasaporte: an OpenID server with a colored bar on top Message-ID: <71680693-3346-46CF-8382-7E9F3FE24B77@gmail.com> A quick heads-up that I've pushed the code for Pasaporte to GitHub. Pasaporte is an OpenID server for small workgroups (we personally use it to gateway authentication to our Outlook server). Pasaporte supports unlimited users per domain and uses an external plaintext login procedure (make it as simple as you like it). Note that the gem that is currently on Rubyforge is not very good - it needs updates to work with some more strict providers, but the Github master branch should work OK. The app has long been in development primarily because I wanted to polish some more :-) Anyways, I would love to get some contributors and hear if someone implements Pasaporte at his company/family/whatever. Bug reports are also welcome. From julian.tarkhanov at gmail.com Mon Nov 24 11:36:20 2008 From: julian.tarkhanov at gmail.com (julik) Date: Mon, 24 Nov 2008 17:36:20 +0100 Subject: camping/test - Lightweight Mosquito-replacement for 2.0 In-Reply-To: <391a49da0811221352n175da979tabd2a33f89f856ee@mail.gmail.com> References: <391a49da0811221352n175da979tabd2a33f89f856ee@mail.gmail.com> Message-ID: On Nov 22, 2008, at 10:52 PM, Magnus Holm wrote: > I know it's a lot to ask for, and I fully understand that you don't > like me coming here and take over your code, so just scream out if > you don't like the idea :-) No problem with that if you guarantee 100% API compatibility (like automatic encoding of nested arrays and hashes and absolute/relative URIs and whatnot). And if camping/test can run this suite: http://github.com/julik/pasaporte/tree/master/test%2Ftest_openid.rb From blueberry at creativepony.com Mon Nov 24 15:46:10 2008 From: blueberry at creativepony.com (Jenna Fox) Date: Tue, 25 Nov 2008 07:46:10 +1100 Subject: camping/test - Lightweight Mosquito-replacement for 2.0 In-Reply-To: <391a49da0811221352n175da979tabd2a33f89f856ee@mail.gmail.com> References: <391a49da0811221352n175da979tabd2a33f89f856ee@mail.gmail.com> Message-ID: <2C2A9369-43D1-4586-AA87-BE089239C4A9@creativepony.com> I personally don't mind at all how much stuff you stick in camping as long as camping.rb doesn't require it. Stuff like the sessions are really nice because you only load them if you need them, which is important given my cgi environment. On 23/11/2008, at 8:52 AM, Magnus Holm wrote: > First of all, I must applaud Julik Tarkhanov for great work on > getting Mosquito 2.0-ready. Well done! > > However, much code in Mosquito (which is needed for 1.5-support) is > unnecessary in 2.0, and I believe there is better way to structure > it too, so here comes my Mosquito-clone: camping/test. Take a look > at http://github.com/judofyr/camping-test and *please* give me some > feedback! > > Yes, I know this is very similar to Mosquito and I actually don't > want camping/test to be a project for itself. I realize that 1.5- > support is pretty important for Mosquito, but I would love if > camping/test could simply be renamed to Mosquito and be *the* > official Camping testing framework. I know it's a lot to ask for, > and I fully understand that you don't like me coming here and take > over your code, so just scream out if you don't like the idea :-) > > Another option would be to ship camping/test with Camping (Sinatra > ships with a minimal testing-framework) so all users are getting > testing built-in. I'm however a little afraid of adding more into > Camping; I mean: it should still be micro, micro, micro, and testing > is really needed for tiny apps. > > If not, I can always keep this as a separate project/gem, but I > don't like to "compete" with Mosquito and really want this merged > into something! > > Oh, and if all of you think this is just crap, I will silently shut > my mouth and no offense will be taken :-) > > -- > Magnus Holm > _______________________________________________ > Camping-list mailing list > Camping-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/camping-list -------------- next part -------------- An HTML attachment was scrubbed... URL: From singalicious365 at aol.com Sun Nov 30 16:39:53 2008 From: singalicious365 at aol.com (Singalicious365) Date: Sun, 30 Nov 2008 16:39:53 -0500 Subject: (no subject) Message-ID: <9d58f8c5.0a03.44a3.a7da.f7c99ccfd120@aol.com> Cool to find some people that love the outdoors as much as I do! Has anyone ever camped on the Tye River? -------------- next part -------------- An HTML attachment was scrubbed... URL: From fophillips at fophillips.org Sun Nov 30 17:49:19 2008 From: fophillips at fophillips.org (Fred Phillips) Date: Sun, 30 Nov 2008 22:49:19 +0000 Subject: (no subject) In-Reply-To: <9d58f8c5.0a03.44a3.a7da.f7c99ccfd120@aol.com> References: <9d58f8c5.0a03.44a3.a7da.f7c99ccfd120@aol.com> Message-ID: <20081130224919.GB3948@tarkin.lan> On Sun Nov 30 21:39:53 2008, Singalicious365 wrote: > Cool to find some people that love the outdoors as much as I do! > Has anyone ever camped on the Tye River? Yes, it was beautiful until the raft I had pitched my tent on got overturned by sexually frustrated hippos. -- Fred O. Phillips http://fophillips.org BBC7 7572 755F 83E0 3209 504A E4F7 874F 1545 9D41 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: not available URL: