README.md in nori-2.2.0 vs README.md in nori-2.3.0

- old
+ new

@@ -1,8 +1,14 @@ -Nori [![Build Status](https://secure.travis-ci.org/savonrb/nori.png)](http://travis-ci.org/savonrb/nori) +Nori ==== +[![Build Status](https://secure.travis-ci.org/savonrb/nori.png)](http://travis-ci.org/savonrb/nori) +[![Gem Version](https://badge.fury.io/rb/nori.png)](http://badge.fury.io/rb/nori) +[![Code Climate](https://codeclimate.com/github/savonrb/nori.png)](https://codeclimate.com/github/savonrb/nori) +[![Coverage Status](https://coveralls.io/repos/savonrb/nori/badge.png?branch=master)](https://coveralls.io/r/savonrb/nori) + + Really simple XML parsing ripped from Crack which ripped it from Merb. Nori was created to bypass the stale development of Crack, improve its XML parser and fix certain issues. ``` ruby @@ -10,13 +16,13 @@ parser.parse("<tag>This is the contents</tag>") # => { 'tag' => 'This is the contents' } ``` Nori supports pluggable parsers and ships with both REXML and Nokogiri implementations. -It defaults to REXML, but you can change it to use Nokogiri via: +It defaults to Nokogiri since v2.0.0, but you can change it to use REXML via: ``` ruby -Nori.new(:parser => :nokogiri) # or :rexml +Nori.new(:parser => :rexml) # or :nokogiri ``` Make sure Nokogiri is in your LOAD_PATH when parsing XML, because Nori tries to load it when it's needed.