From james.britt at gmail.com Mon Mar 3 01:11:05 2008 From: james.britt at gmail.com (James Britt) Date: Sun, 02 Mar 2008 23:11:05 -0700 Subject: [Nitro] Running Og specs for darcs repo Message-ID: <47CB9679.2040501@gmail.com> I've been trying to run the specs for Og in the darcs repo When I execute rake test:og it tells me there are 0 specs, though the various spec files clearly have tests defined. But it also gives me repeated errors for /home/james/data/vendor/repo.nitroproject.org/og/test/og/../helper.rb:91: uninitialized constant Spec::DSL (NameError) which I think is making rspec skip attempting to run the tests. How do I run the specs without getting that error? I have rspec-1.1.3 installed as a gem, and did a darcs pull earlier today for the nitro source Thanks. -- James Britt "I must create a system, or be enslaved by another man's; I will not reason and compare; my business is to create." - William Blake From transfire at gmail.com Mon Mar 3 04:14:23 2008 From: transfire at gmail.com (Trans) Date: Mon, 3 Mar 2008 01:14:23 -0800 (PST) Subject: [Nitro] Running Og specs for darcs repo In-Reply-To: <47CB9679.2040501@gmail.com> References: <47CB9679.2040501@gmail.com> Message-ID: <2910164c-4bb0-4ac6-a4bd-80b07b2ae7a7@q33g2000hsh.googlegroups.com> On Mar 3, 1:11?am, James Britt wrote: > I've been trying to run the specs for Og in the darcs repo > > When I execute > > ? ?rake test:og > > it tells me there are 0 specs, though the various spec files clearly > have tests defined. > > But it also gives me repeated errors for > > /home/james/data/vendor/repo.nitroproject.org/og/test/og/../helper.rb:91: > uninitialized constant Spec::DSL (NameError) > > which I think is making rspec skip attempting to run the tests. > > How do I run the specs without getting that error? > > I have ?rspec-1.1.3 installed as a gem, and did a darcs pull earlier > today for the nitro source First off you probably want to read this: http://blog.gmosx.com/2008/02/nitro-reloaded.html My hope is to revitalize Nitro/Og by making them true community projects. Secondly, I'm slowly working on at least getting 0.50 released in working order --which is why I posted the First Comes Og thread. Please checkout the SVN repo here: http://rubyforge.org/scm/?group_id=5023 And run 'ruby task/test' --and watch all the pretty errors ;) This is far as I've gotten, but at least it's churning through the specs. If you have any time to contribute to getting these tests passing (please please), let me know and I'll add you as a project developer. T. From james.britt at gmail.com Mon Mar 3 13:14:34 2008 From: james.britt at gmail.com (James Britt) Date: Mon, 03 Mar 2008 11:14:34 -0700 Subject: [Nitro] Running Og specs for darcs repo In-Reply-To: <2910164c-4bb0-4ac6-a4bd-80b07b2ae7a7@q33g2000hsh.googlegroups.com> References: <47CB9679.2040501@gmail.com> <2910164c-4bb0-4ac6-a4bd-80b07b2ae7a7@q33g2000hsh.googlegroups.com> Message-ID: <47CC400A.1040709@gmail.com> Trans wrote: > > First off you probably want to read this: > > http://blog.gmosx.com/2008/02/nitro-reloaded.html Wow. I missed seeing that earlier. Too bad; while I've become a fan of Ramaze, I do like the Nitro idea of transformation pipelines. And of course I still use Og. However, Nitro by way of Rhino (if I'm interpreting that post correctly) sounds kick-ass. > > My hope is to revitalize Nitro/Og by making them true community > projects. If George is moving over to N2, why not join in with Ramaze? > > > Secondly, I'm slowly working on at least getting 0.50 released in > working order --which is why I posted the First Comes Og thread. > Please checkout the SVN repo here: > > http://rubyforge.org/scm/?group_id=5023 I did that ... > > And run 'ruby task/test' --and watch all the pretty errors ;) This is > far as I've gotten, but at least it's churning through the specs. So much red! :) > > If you have any time to contribute to getting these tests passing > (please please), let me know and I'll add you as a project developer. I have to confess to purely selfish interest here. I was trying to see how to write specs for a new project that is using Og, and figured I could glom examples from either Nitro or ogden. I think any patches would be predicated on my fixing things that I need to have work for me. But I'll take a look. -- James Britt "People want simple stories." From george.moschovitis at gmail.com Mon Mar 3 14:40:04 2008 From: george.moschovitis at gmail.com (George Moschovitis) Date: Mon, 3 Mar 2008 21:40:04 +0200 Subject: [Nitro] Running Og specs for darcs repo In-Reply-To: <47CC400A.1040709@gmail.com> References: <47CB9679.2040501@gmail.com> <2910164c-4bb0-4ac6-a4bd-80b07b2ae7a7@q33g2000hsh.googlegroups.com> <47CC400A.1040709@gmail.com> Message-ID: > > However, Nitro by way of Rhino (if I'm interpreting that post correctly) > sounds kick-ass. You are interpreting this correctly. However, the design decisions and trade-offs will be considerably different this time. More functional flavor, much much simpler, REST compliant. I will try to embrace the nature of the Web (and the underlying protocols) instead of trying to enforce a desktop-application like developer mindset. You can expect a first release by the end of this month, and a series of related articles on my Blog before that. BTW, I will continue using the Ruby version of Nitro daily for the foreseable future and provide updates to the Repo. -g. -- http://gmosx.me.gr http://joy.gr http://cull.gr http://nitroproject.org http://phidz.com http://joyerz.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/nitro-general/attachments/20080303/b8872795/attachment.html From james.britt at gmail.com Mon Mar 3 15:34:17 2008 From: james.britt at gmail.com (James Britt) Date: Mon, 03 Mar 2008 13:34:17 -0700 Subject: [Nitro] Running Og specs for darcs repo In-Reply-To: References: <47CB9679.2040501@gmail.com> <2910164c-4bb0-4ac6-a4bd-80b07b2ae7a7@q33g2000hsh.googlegroups.com> <47CC400A.1040709@gmail.com> Message-ID: <47CC60C9.20704@gmail.com> George Moschovitis wrote: >> However, Nitro by way of Rhino (if I'm interpreting that post correctly) >> sounds kick-ass. > > > You are interpreting this correctly. However, the design decisions and > trade-offs will be considerably different this time. > More functional flavor, much much simpler, REST compliant. I will try to > embrace the nature of the Web (and the underlying protocols) > instead of trying to enforce a desktop-application like developer mindset. > You can expect a first release by the end of this month, and > a series of related articles on my Blog before that. Looking forward to it. -- James Britt "I must create a system, or be enslaved by another man's; I will not reason and compare; my business is to create." - William Blake From tastapod at gmail.com Sun Mar 23 16:34:15 2008 From: tastapod at gmail.com (Dan North) Date: Sun, 23 Mar 2008 20:34:15 +0000 Subject: [Nitro] First Comes Og In-Reply-To: <7f44c329-63d6-471d-a291-c3751f1fb59b@o77g2000hsf.googlegroups.com> References: <4b6f054f0802250816x2cdf1615n1faf2f6777f675cf@mail.gmail.com> <128cd30a-44b7-4e5e-935b-4be6db6e1726@p73g2000hsd.googlegroups.com> <7f44c329-63d6-471d-a291-c3751f1fb59b@o77g2000hsf.googlegroups.com> Message-ID: Hi folks. I just downloaded from the svn link and ran task/test and got the following: Finished in 7.722335 seconds 19 examples, 13 failures Is this the same thing you guys are getting or am I even more out of whack than you? Thanks, Dan On 27/02/2008, Trans wrote: > > On Feb 27, 4:41 pm, "Jonathan Buch" wrote: > > Hi, > > > > > I think so. I'm still trying to understand it myself. I assume it was > > > correct to just load all the .rb files within the test/ directory. > > > Since there is no spec_ prefix, or anything like that, I could only > > > > another annoyance; one gets what one asks for. :P > > > :D If it's any consolation I'll buy a beer (or preferred beverage). > > > > > assume this to be the case. It seems to be working for the most part > -- > > > with the exception of warnings about constants being reset. I will > > > keep working to improve this, and make sure it is working right Any > > > help you can offer in the way of this is appreciated. > > > > >> that only `rake test` or similar has to be done > > > > > Yes, just run "ruby task/test". > > > > jo:ogden jo:0$ ruby task/test > > ruby: No such file or directory -- task/test (LoadError) > > jo:ogden jo:1$ ls task/ > > clobber rdoc setup > > > Sorry. I worked on these last night and forgot to check them in. They > should be there now. > > > > >> and that a strict 'only patches passing all tests'-policy will be > used > > >> on Ogden - then I will have a look at the failing specs. > > > > > Yes. After we get 0.50 out the door (which George has been asking me > > > do for weeks now), we will switch to a proper patch policy with > > > branches and passing tests. > > > > But of course, until there is actually a Ogden which has no failing > > tests, that point is moot. But I like the plan. :) > > > > > In fact, would you like to be in change of overseeing that? > > > > No, I don't see that coming yet. As I'm wrapping up my University > > time this semester, I very much doubt I have the leasure time to > > do maintainer work. > > All I hope I can do is putting my Og knowledge to use to at least get > > it in a half stable state. > > > Understood. Hopefully a couple of other interested and capable > programmers will turn up once we get 0.50 out the door. I'm pretty > busy too. > > > T. > > _______________________________________________ > Nitro-general mailing list > Nitro-general at rubyforge.org > http://rubyforge.org/mailman/listinfo/nitro-general > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/nitro-general/attachments/20080323/09606601/attachment.html From jason at southwell.net Mon Mar 24 01:09:15 2008 From: jason at southwell.net (Jason Southwell) Date: Sun, 23 Mar 2008 22:09:15 -0700 Subject: [Nitro] Session Message-ID: <47E7377B.1080007@southwell.net> First post to this list. I'm running Nitro .50 as installed from the Gems posted here recently. When I set a session variable via @context.session[:MYVAR] = str it is always nil on subsequent requests. I've also tried dropping the @context but still nil. Is there any direction on how to properly use session variables? From george.moschovitis at gmail.com Mon Mar 24 04:15:27 2008 From: george.moschovitis at gmail.com (George Moschovitis) Date: Mon, 24 Mar 2008 10:15:27 +0200 Subject: [Nitro] Session In-Reply-To: <47E7377B.1080007@southwell.net> References: <47E7377B.1080007@southwell.net> Message-ID: try just: session[:MYVAL] = str -g. On Mon, Mar 24, 2008 at 7:09 AM, Jason Southwell wrote: > First post to this list. I'm running Nitro .50 as installed from the > Gems posted here recently. > > When I set a session variable via > > @context.session[:MYVAR] = str > > it is always nil on subsequent requests. > > I've also tried dropping the @context but still nil. > > Is there any direction on how to properly use session variables? > _______________________________________________ > Nitro-general mailing list > Nitro-general at rubyforge.org > http://rubyforge.org/mailman/listinfo/nitro-general > -- http://gmosx.me.gr http://joy.gr http://cull.gr http://nitroproject.org http://phidz.com http://joyerz.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/nitro-general/attachments/20080324/ed2e03b8/attachment-0001.html From jason at southwell.net Mon Mar 24 09:38:39 2008 From: jason at southwell.net (Jason Southwell) Date: Mon, 24 Mar 2008 09:38:39 -0400 Subject: [Nitro] Session In-Reply-To: References: <47E7377B.1080007@southwell.net> Message-ID: <47E7AEDF.9040005@southwell.net> > session[:MYVAL] = str > I've also tried dropping the @context but still nil. As I said, i tried that but it is still nil. The session does not seem to persist between page hits. From george.moschovitis at gmail.com Mon Mar 24 10:04:15 2008 From: george.moschovitis at gmail.com (George Moschovitis) Date: Mon, 24 Mar 2008 16:04:15 +0200 Subject: [Nitro] Session In-Reply-To: <47E7AEDF.9040005@southwell.net> References: <47E7377B.1080007@southwell.net> <47E7AEDF.9040005@southwell.net> Message-ID: email me privately your code, so i can investigate and help you! -g. On Mon, Mar 24, 2008 at 3:38 PM, Jason Southwell wrote: > > session[:MYVAL] = str > > I've also tried dropping the @context but still nil. > > As I said, i tried that but it is still nil. The session does not seem > to persist between page hits. > _______________________________________________ > Nitro-general mailing list > Nitro-general at rubyforge.org > http://rubyforge.org/mailman/listinfo/nitro-general > -- http://gmosx.me.gr http://joy.gr http://cull.gr http://nitroproject.org http://phidz.com http://joyerz.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/nitro-general/attachments/20080324/a37f7b06/attachment.html From transfire at gmail.com Mon Mar 24 15:53:48 2008 From: transfire at gmail.com (Trans) Date: Mon, 24 Mar 2008 12:53:48 -0700 (PDT) Subject: [Nitro] First Comes Og In-Reply-To: References: <4b6f054f0802250816x2cdf1615n1faf2f6777f675cf@mail.gmail.com> <128cd30a-44b7-4e5e-935b-4be6db6e1726@p73g2000hsd.googlegroups.com> <7f44c329-63d6-471d-a291-c3751f1fb59b@o77g2000hsf.googlegroups.com> Message-ID: <6c190068-13bb-4b95-9e8c-b87f34d8c3e6@q78g2000hsh.googlegroups.com> On Mar 23, 4:34 pm, "Dan North" wrote: > Hi folks. > > I just downloaded from the svn link and ran task/test and got the following: > > Finished in 7.722335 seconds > > 19 examples, 13 failures > > Is this the same thing you guys are getting or am I even more out of whack > than you? That's about the state of things right now. I just spent about 15 minutes updating my copy to the latest Facets and I end up with 11 failures. There is some clear work that needs to be done before a new release -- mainly removing the use of paramix.rb and then getting the tests to pass. But I haven't had any time lately to work on it. It would be great if someone wanted to dive in. T. From george.moschovitis at gmail.com Mon Mar 24 16:00:01 2008 From: george.moschovitis at gmail.com (George Moschovitis) Date: Mon, 24 Mar 2008 22:00:01 +0200 Subject: [Nitro] First Comes Og In-Reply-To: <6c190068-13bb-4b95-9e8c-b87f34d8c3e6@q78g2000hsh.googlegroups.com> References: <4b6f054f0802250816x2cdf1615n1faf2f6777f675cf@mail.gmail.com> <128cd30a-44b7-4e5e-935b-4be6db6e1726@p73g2000hsd.googlegroups.com> <7f44c329-63d6-471d-a291-c3751f1fb59b@o77g2000hsf.googlegroups.com> <6c190068-13bb-4b95-9e8c-b87f34d8c3e6@q78g2000hsh.googlegroups.com> Message-ID: Do you know what kind of changes are needed to make this compatible with the latest facets? -g. On Mon, Mar 24, 2008 at 9:53 PM, Trans wrote: > > > On Mar 23, 4:34 pm, "Dan North" wrote: > > Hi folks. > > > > I just downloaded from the svn link and ran task/test and got the > following: > > > > Finished in 7.722335 seconds > > > > 19 examples, 13 failures > > > > Is this the same thing you guys are getting or am I even more out of > whack > > than you? > > That's about the state of things right now. I just spent about 15 > minutes updating my copy to the latest Facets and I end up with 11 > failures. > > There is some clear work that needs to be done before a new release -- > mainly removing the use of paramix.rb and then getting the tests to > pass. But I haven't had any time lately to work on it. It would be > great if someone wanted to dive in. > > T. > _______________________________________________ > Nitro-general mailing list > Nitro-general at rubyforge.org > http://rubyforge.org/mailman/listinfo/nitro-general > -- http://gmosx.me.gr http://joy.gr http://cull.gr http://nitroproject.org http://phidz.com http://joyerz.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/nitro-general/attachments/20080324/8b508a64/attachment.html From transfire at gmail.com Tue Mar 25 22:30:55 2008 From: transfire at gmail.com (Trans) Date: Tue, 25 Mar 2008 19:30:55 -0700 (PDT) Subject: [Nitro] First Comes Og In-Reply-To: References: <4b6f054f0802250816x2cdf1615n1faf2f6777f675cf@mail.gmail.com> <128cd30a-44b7-4e5e-935b-4be6db6e1726@p73g2000hsd.googlegroups.com> <7f44c329-63d6-471d-a291-c3751f1fb59b@o77g2000hsf.googlegroups.com> <6c190068-13bb-4b95-9e8c-b87f34d8c3e6@q78g2000hsh.googlegroups.com> Message-ID: <2c68b194-fdcb-460c-ae63-a4cc947c53ea@m3g2000hsc.googlegroups.com> On Mar 24, 4:00 pm, "George Moschovitis" wrote: > Do you know what kind of changes are needed to make this compatible with the > latest facets? > -g. I just committed my changes. The changes were mainly just adjusting some require statements. T. From jason at southwell.net Wed Mar 26 00:30:30 2008 From: jason at southwell.net (Jason Southwell) Date: Tue, 25 Mar 2008 21:30:30 -0700 Subject: [Nitro] Session In-Reply-To: <47E7AEDF.9040005@southwell.net> References: <47E7377B.1080007@southwell.net> <47E7AEDF.9040005@southwell.net> Message-ID: <47E9D166.9090906@southwell.net> >> I've also tried dropping the @context but still nil. Setting the cookies hash directly doesn't work either. Could this have something to do with using YUI on the client side? I wouldn't think it would overwrite any cookies though. From jason at southwell.net Wed Mar 26 00:55:05 2008 From: jason at southwell.net (Jason Southwell) Date: Tue, 25 Mar 2008 21:55:05 -0700 Subject: [Nitro] Session In-Reply-To: <47E7AEDF.9040005@southwell.net> References: <47E7377B.1080007@southwell.net> <47E7AEDF.9040005@southwell.net> Message-ID: <47E9D729.9040600@southwell.net> One more thing. If I set the cookie via YUI in the browser, I can read it in the cookies property server-side. However, nothing set in the cookies property ever makes it to the client. From george.moschovitis at gmail.com Wed Mar 26 04:24:21 2008 From: george.moschovitis at gmail.com (George Moschovitis) Date: Wed, 26 Mar 2008 10:24:21 +0200 Subject: [Nitro] First Comes Og In-Reply-To: <2c68b194-fdcb-460c-ae63-a4cc947c53ea@m3g2000hsc.googlegroups.com> References: <4b6f054f0802250816x2cdf1615n1faf2f6777f675cf@mail.gmail.com> <128cd30a-44b7-4e5e-935b-4be6db6e1726@p73g2000hsd.googlegroups.com> <7f44c329-63d6-471d-a291-c3751f1fb59b@o77g2000hsf.googlegroups.com> <6c190068-13bb-4b95-9e8c-b87f34d8c3e6@q78g2000hsh.googlegroups.com> <2c68b194-fdcb-460c-ae63-a4cc947c53ea@m3g2000hsc.googlegroups.com> Message-ID: > > > I just committed my changes. The changes were mainly just adjusting > some require statements. can you remind me where they are commited? -g. > > > T. > _______________________________________________ > Nitro-general mailing list > Nitro-general at rubyforge.org > http://rubyforge.org/mailman/listinfo/nitro-general > -- http://gmosx.me.gr http://joy.gr http://cull.gr http://nitroproject.org http://phidz.com http://joyerz.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/nitro-general/attachments/20080326/8d299a07/attachment.html From george.moschovitis at gmail.com Wed Mar 26 04:28:37 2008 From: george.moschovitis at gmail.com (George Moschovitis) Date: Wed, 26 Mar 2008 10:28:37 +0200 Subject: [Nitro] Session In-Reply-To: <47E9D729.9040600@southwell.net> References: <47E7377B.1080007@southwell.net> <47E7AEDF.9040005@southwell.net> <47E9D729.9040600@southwell.net> Message-ID: hmm... which browser are you using... try to use 0.0.0.0 127.0.0.11 localhost to access your app... try to use firefox and 0.0.0.0:9000 to access your app and tell me if it works... -g. On Wed, Mar 26, 2008 at 6:55 AM, Jason Southwell wrote: > One more thing. If I set the cookie via YUI in the browser, I can read > it in the cookies property server-side. However, nothing set in the > cookies property ever makes it to the client. > _______________________________________________ > Nitro-general mailing list > Nitro-general at rubyforge.org > http://rubyforge.org/mailman/listinfo/nitro-general > -- http://gmosx.me.gr http://joy.gr http://cull.gr http://nitroproject.org http://phidz.com http://joyerz.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/nitro-general/attachments/20080326/4dfdfd25/attachment-0001.html From transfire at gmail.com Wed Mar 26 07:43:36 2008 From: transfire at gmail.com (Trans) Date: Wed, 26 Mar 2008 04:43:36 -0700 (PDT) Subject: [Nitro] First Comes Og In-Reply-To: References: <4b6f054f0802250816x2cdf1615n1faf2f6777f675cf@mail.gmail.com> <128cd30a-44b7-4e5e-935b-4be6db6e1726@p73g2000hsd.googlegroups.com> <7f44c329-63d6-471d-a291-c3751f1fb59b@o77g2000hsf.googlegroups.com> <6c190068-13bb-4b95-9e8c-b87f34d8c3e6@q78g2000hsh.googlegroups.com> <2c68b194-fdcb-460c-ae63-a4cc947c53ea@m3g2000hsc.googlegroups.com> Message-ID: On Mar 26, 4:24 am, "George Moschovitis" wrote: > > I just committed my changes. The changes were mainly just adjusting > > some require statements. > > can you remind me where they are commited? http://rubyforge.org/scm/?group_id=5023 T. From Bas at baswilbers.nl Sun Mar 30 09:09:31 2008 From: Bas at baswilbers.nl (Bas Wilbers) Date: Sun, 30 Mar 2008 15:09:31 +0200 Subject: [Nitro] Multiple nitro apps on 1 vps Message-ID: <6d0e137b0803300609i76a46a70l98e89f975899cce4@mail.gmail.com> Hello. It recently bought a VPS. It's alfa period will start in a few days. I want to host nitro on it of course. but my vps is like loads of cpu power shared with not so many others and guarantied 512 mb ram. (OS is debain etchy) I use probably not more then 10% of it. So maby some of you guys are interested in a nitro host. I someone tells me how I can configure it correctly then I can offer a few of you nitro hosting. So far I think this is a good setup: (please correct if wrong) - Mysql as database, for compatibility with php (not that I ever gonna use that again ;p) - nitro and og version 0.41?? (or is 0.5 better?) - pound to set up the virtual hosting. - a ftp server (suggestions are welcome) so that controllers and model's can be changed etc. - maby something like mongrel or lightttd or whatever to speed things up??? I read about pound here: http://www.oxyliquit.de/tip/28 I was thinking that I could setup pound to forward the correct domain to the correct inside application (so you have to have a domain name yourself, or ask me for subdomain (I have silly domain...)) then just 5 applications or so can run within it on a different port. everyone gets his own ftp account with access to his own nitro app folder. As for rebooting the app, I of course cannot give you access to my ssh account. so make I can make some sort of nitro app on which you can log in, which reboots the other app's (if possible, suggestions welcome) I hope this is possible to do because I think this is a great way to do something back to the nitro community, offer free hosting. you must realise however that I will offer it only for development or small sites. It have only 100 Gb/month traffic (for more I have to pay...) and 10 GB of space. However if you use large amounts of traffic I'm okey with it as long as you also pay for the bandwidth you use. So anyone interested? anyone ideas on how to achieve this? And btw, isn't there a potential security risk, as you can do some harmful things from out ruby? I don't want to keep me own nitro app online and maby some other small things I'm gonna host as well. ? Anyways I must say that I will pick the ones who want free nitro hosting myself and will of course give priority to active nitro contributors. Greetings Bas -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/nitro-general/attachments/20080330/da1a87ae/attachment.html