README.md in roadie-3.0.0.pre1 vs README.md in roadie-3.0.0
- old
+ new
@@ -5,11 +5,11 @@
[![Code Climate](https://codeclimate.com/github/Mange/roadie.png)](https://codeclimate.com/github/Mange/roadie)
[![Coverage Status](https://coveralls.io/repos/Mange/roadie/badge.png?branch=master)](https://coveralls.io/r/Mange/roadie?branch=master)
[![Gem Version](https://badge.fury.io/rb/roadie.png)](http://badge.fury.io/rb/roadie)
[![Dependency Status](https://gemnasium.com/Mange/roadie.png)](https://gemnasium.com/Mange/roadie)
-**Note: This README details the prerelease 3.0 version of Roadie. You might be using 2.0, which is much older and only for Rails.**
+**Note: This README details the 3.x version of Roadie. You might be using 2.x, which is much older and only for Rails.**
> Making HTML emails comfortable for the Ruby rockstars
Roadie tries to make sending HTML emails a little less painful by inlining stylesheets and rewriting relative URLs for you inside your emails.
@@ -68,15 +68,15 @@
### Making URLs absolute ###
In order to make URLs absolute you need to first configure the URL options of the document.
```ruby
-html = "... <a href="/about-us">Read more!</a> ..."
+html = '... <a href="/about-us">Read more!</a> ...'
document = Roadie::Document.new html
document.url_options = {host: "myapp.com", protocol: "https"}
document.transform
- # => "... <a href="https://myapp.com/about-us">Read more!</a> ..."
+ # => "... <a href=\"https://myapp.com/about-us\">Read more!</a> ..."
```
The following URLs will be rewritten for you:
* `a[href]` (HTML)
* `img[src]` (HTML)
@@ -233,10 +233,11 @@
Tested with [Travis CI](http://travis-ci.org) using:
* MRI 1.9.3
* MRI 2.0.0
+* MRI 2.1.2
* JRuby (latest)
* Rubinius >= 2.1 (experimental)
[(Build status)](http://travis-ci.org/#!/Mange/roadie)
@@ -271,10 +272,11 @@
Documentation
-------------
* [Online documentation for gem](http://rubydoc.info/gems/roadie/frames)
* [Online documentation for master](http://rubydoc.info/github/Mange/roadie/master/frames)
+* [Online documentation for Roadie 2.4](http://rubydoc.info/gems/roadie/2.4/frames)
* [Changelog](https://github.com/Mange/roadie/blob/master/Changelog.md)
Running specs
-------------
@@ -298,10 +300,10 @@
License
-------
(The MIT License)
-Copyright (c) 2009-2013
+Copyright (c) 2009-2014
* [Magnus Bergmark](https://github.com/Mange) <magnus.bergmark@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ‘Software’), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: