README.md in premailer-rails3-1.0.1 vs README.md in premailer-rails3-1.0.2
- old
+ new
@@ -34,6 +34,33 @@
Simply add the gem to your Gemfile in your Rails project:
gem 'premailer-rails3'
+premailer-rails3 requires either nokogiri or hpricot. It doesn't list them as a
+dependency so you can choose which one to use.
+
+ gem 'nokogiri'
+ # or
+ gem 'hpricot'
+
+If both are loaded for some reason, premailer chooses hpricot.
+
That's it!
+
+## Configuration
+
+Premailer itself accepts a number of options. In order for premailer-rails3 to
+pass these options on to the underlying premailer instance, specify them in an
+initializer:
+
+```ruby
+PremailerRails.config = {
+ :preserve_styles => true,
+ :remove_ids => true
+}
+```
+
+For a list of options, refer to the [Premailer documentation](http://rubydoc.info/gems/premailer/1.7.3/Premailer:initialize)
+
+Note that the options `with_html_string` and `css_string` are used to make this
+gem work and will thus be overridden.