README in css_parser-0.9.0 vs README in css_parser-0.9.1
- old
+ new
@@ -1,18 +1,18 @@
-= Ruby CSS Parser
+=== Ruby CSS Parser
Load, parse and cascade CSS rule sets in Ruby.
-=== Setup
+==== Setup
Install the gem from RubyGems.
gem install css_parser
Done.
-=== An example
+==== An example
require 'css_parser'
include CssParser
parser = CssParser::Parser.new
parser.load_file!('http://example.com/styles/style.css')
@@ -39,22 +39,20 @@
# output all CSS rules in a single stylesheet
parser.to_s
=> #content { font-size: 13px; line-height: 1.2; }
body { margin: 0 1em; }
-=== Testing
+==== Testing
You can run the suite of unit tests using <tt>rake test</tt>.
The download/import tests require that WEBrick is installed. The tests set up
a temporary server on port 12000 and pull down files from the <tt>test/fixtures/</tt>
directory.
-=== Credits and code
+==== Credits and code
-* Project page: http://code.dunae.ca/css_parser/
-* Source: http://code.dunae.ca/svn/css_parser/
-* Docs: http://code.dunae.ca/css_parser/doc/
+By Alex Dunae (dunae.ca, e-mail 'code' at the same domain), 2007-08.
-By Alex Dunae (dunae.ca, e-mail 'code' at the same domain), 2007.
+Thanks to Dana (http://github.com/DanaDanger) for the 0.9.1 update.
-Made with love on Vancouver Island.
+Made on Vancouver Island.
\ No newline at end of file