README.md in youtube_id-0.0.1 vs README.md in youtube_id-0.0.2

- old
+ new

@@ -1,9 +1,11 @@ # YoutubeId Simple video id extraction from youtube urls. +[![Build Status](https://secure.travis-ci.org/reu/youtube_id.png)](http://travis-ci.org/reu/youtube_id) + ## Installation Add this line to your application's Gemfile: gem 'youtube_id' @@ -20,16 +22,18 @@ ```ruby YoutubeID.from("http//www.youtube.com/watch?v=RCUkmUXMd_k") # => "RCUkmUXMd_k" ``` -We currently support these url formats: -`http://www.youtube.com/v/RCUkmUXMd_k` -`http://www.youtube.com/v/RCUkmUXMd_k?version=3&hl=en_US&rel=0` -`http://www.youtube.com/embed/RCUkmUXMd_k?rel=0` -`http://www.youtube.com/watch?v=RCUkmUXMd_k` -`http://www.youtube.com/watch?v=RCUkmUXMd_k&feature=related` -`http://www.youtube.com/watch?v=RCUkmUXMd_k#t=0m10s` -`http://www.youtube.com/user/ForceD3strategy#p/a/u/0/8WVTOUh53QY` -`http://youtu.be/RCUkmUXMd_k` +It supports these url formats: +``` +http://www.youtube.com/v/RCUkmUXMd_k +http://www.youtube.com/v/RCUkmUXMd_k?version=3&hl=en_US&rel=0 +http://www.youtube.com/embed/RCUkmUXMd_k?rel=0 +http://www.youtube.com/watch?v=RCUkmUXMd_k +http://www.youtube.com/watch?v=RCUkmUXMd_k&feature=related +http://www.youtube.com/watch?v=RCUkmUXMd_k#t=0m10s +http://www.youtube.com/user/ForceD3strategy#p/a/u/0/8WVTOUh53QY +http://youtu.be/RCUkmUXMd_k +``` See the specs for more detailed information.