public
Description: Yet Another Planet Refactoring
Homepage: http://intertwingly.net/blog/2007/12/19/Yet-Another-Planet-Refactoring
Clone URL: git://github.com/rubys/mars.git
Search Repo:
Scott Bronson (author)
Mon Mar 31 23:29:15 -0700 2008
commit  775bc2a397c7812ae67b9979f288c3c835aab059
tree    b847bf45fa3471cc91ecd89b2524fceb081f6f69
parent  567e2f3f459d446f0530bbd4c8acb00dde378420
mars /
name age message
folder .bzr/ Fri Mar 28 18:34:10 -0700 2008 Add full Mars bzr tree. [Scott Bronson]
folder README Fri Mar 28 18:34:10 -0700 2008 Add full Mars bzr tree. [Scott Bronson]
folder Rakefile.rb Fri Mar 28 18:34:10 -0700 2008 Add full Mars bzr tree. [Scott Bronson]
folder planet.rb Fri Mar 28 18:34:10 -0700 2008 Add full Mars bzr tree. [Scott Bronson]
folder planet/ Mon Mar 31 23:29:15 -0700 2008 cull empty formatting elements. They can cause... [Scott Bronson]
folder prereqs.rb Fri Mar 28 18:34:10 -0700 2008 Add full Mars bzr tree. [Scott Bronson]
folder reconstitute.rb Fri Mar 28 18:34:10 -0700 2008 Add full Mars bzr tree. [Scott Bronson]
folder test.rb Fri Mar 28 18:34:10 -0700 2008 Add full Mars bzr tree. [Scott Bronson]
folder test/ Fri Mar 28 18:34:10 -0700 2008 Add full Mars bzr tree. [Scott Bronson]
folder tools/ Fri Mar 28 18:34:10 -0700 2008 Add full Mars bzr tree. [Scott Bronson]
README
To verify that you have the necessary prereqs installed, execute:

  rake prereqs

Information on the various requirements:

  Addressable:
    gem install addressable

    For best resuts, also install idn:
      gem install idn

    To make sure that gems are searched:
      export RUBYOPT="-rubygems"

  Html5:
    There was a bug fixed on 2007-12-09 that Mars depends on.  For best
    results, check out the latest:

      svn checkout http://html5lib.googlecode.com/svn/trunk/ html5lib
      export RUBYLIB="/path/html5lib/ruby/lib"

  XmlParser:
    Mars needs a *working* XML parser (REXML version 3.1.6 won't do).

    To determine the version of REXML you have installed:
      ruby -rrexml/document -e 'p REXML::VERSION'

    For best results (speed, spec compliance), install one of
      http://www.yoshidam.net/xmlparser_en.txt
      http://libxml.rubyforge.org/

    The latest REXML can be obtained by
      svn co http://www.germane-software.com/repos/rexml/trunk/ rexml
      export RUBYLIB="/path/rexml/src"