README.md in nori-2.2.0 vs README.md in nori-2.3.0
- old
+ new
@@ -1,8 +1,14 @@
-Nori [](http://travis-ci.org/savonrb/nori)
+Nori
====
+[](http://travis-ci.org/savonrb/nori)
+[](http://badge.fury.io/rb/nori)
+[](https://codeclimate.com/github/savonrb/nori)
+[](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.