From djlewis at acm.org Fri Dec 19 14:33:08 2008 From: djlewis at acm.org (Deb Lewis) Date: Fri, 19 Dec 2008 11:33:08 -0800 Subject: [Masterview-devel] Reviving Masterview for rails 2.x [ruby frustrations] In-Reply-To: <20081219093522203934.f6f7f081@acm.org> References: <20081216074712415165.59bc493b@acm.org> <19cda190812171453k7b2c2c6cm1c56e5aa18073222@mail.gmail.com> <20081219093522203934.f6f7f081@acm.org> Message-ID: <20081219113308040549.fc22e64f@acm.org> On Fri, 19 Dec 2008 09:35:22 -0800, Deb Lewis wrote: > trying to figure out why MV template parsing > was completely broken (error that mv prefix wasn't recognized) Ruby 1.8.6 p111 had REXML 3.1.7.1 in the standard library. Ruby 1.8.6 p114 has REXML 3.1.7.2 in the standard library. And this point release introduced IMO a pretty significant functional change: namespace prefixes are now strictly checked against namespace declarations, per the XML namespaces specification. Strictly correct; practically problematic. There's a ticket against REXML on this and a patch to allow client to disable strict namespace checking (just as client can choose whether or not to validate the xml document against a DTD/schema). http://www.germane-software.com/projects/rexml/ticket/165 So I've incorporated the patch in our masterview initialization and voila, things finally run again in my rails 2.0 test setup. sheesh. There's one other REXML change showing up in a unit test failure, but it's fairly minor and I'll tweak something suitably (diff answer coming back from 3.1.7.3 for some xml directive attributes) So maybe I can finally get the MV 2.0 update completed and committed and move on the 2.1 and 2.2 integration this w/e. ~ Deb From djlewis at acm.org Mon Dec 22 00:02:15 2008 From: djlewis at acm.org (Deb Lewis) Date: Sun, 21 Dec 2008 21:02:15 -0800 Subject: [Masterview-devel] Rails 2.x progress Message-ID: <20081221210215522211.0b5daab8@acm.org> ... at last! I finished sorting out most of the loose ends involved in getting masterview running on Rails 2.0 this weekend; the bulk of this work was done back at railsconf in July, but there were a few remaining areas to check/correct (template exception reporting, redoing how the Admin controller hooks into the rails framework to use the new view_paths mechanism rather than having to hack our way into place with special logic) Two separate problems related to REXML parser also resolved. REXML 3.1.7.2 came in with one of the recent patch upgrades of ruby 1.8.6 - requires a patch so strict namespace checking is client controllable (otherwise every document would be required to have a complete DTD for all its attribute markup), also patch a minor bug that was introduced in that version which kicked out in one of our unit tests (standalone attribute parsing in the xml declaration) So... if I can resolve why I can no longer access our project repository, I'll actually get this stuff committed and move on to rails 2.1 and 2.2 integration. svn+ssh connection is broken, even through I regenerated and reinstalled ssh keys over the weekend to ensure I had a clean installation after recent system rebuild for leopard. Got a rubyforge-help msg posted, hopefully someone will have a response; following the available doc instructions faithfully doesn't work and I'm out of clues for further debugging. ~ Deb From djlewis at acm.org Tue Dec 23 00:21:30 2008 From: djlewis at acm.org (Deb Lewis) Date: Mon, 22 Dec 2008 21:21:30 -0800 Subject: [Masterview-devel] Masterview on Rails 2.0 Message-ID: <20081222212130535234.3d288f93@acm.org> ... is committed and I think pretty much done. On to Rails 2.1. Would like to continue and sort out rails 2.1 and 2.2 integration before we roll out new release of Masterview, not much point until we're caught up to the rest of the world again I think. And then I'm going to want to do a bit of reorganization of our installation and initialization to untangle places that are tightly coupled to Rails, so that Masterview can be used cleanly in non-rails context and with merb. ~ Deb From djlewis at acm.org Thu Dec 25 11:58:54 2008 From: djlewis at acm.org (Deb Lewis) Date: Thu, 25 Dec 2008 08:58:54 -0800 Subject: [Masterview-devel] Rails 3.0 = rails + merb Message-ID: <20081225085854148932.9ea55ed1@acm.org> ----- Begin forwarded message ----- From: Scott Hodson Date: Wed, 24 Dec 2008 16:18:11 -0800 To: ocruby at yahoogroups.com Subject: [ocruby] Merb being merged into Rails! Reply-To: ocruby at yahoogroups.com http://weblog.rubyonrails.com/2008/12/23/merb-gets-merged-into-rails-3