README.md in embeddable-0.0.2 vs README.md in embeddable-0.0.5
- old
+ new
@@ -1,9 +1,12 @@
# Embeddable
-[![Code Climate](https://codeclimate.com/github/hyperoslo/embeddable.png)](https://codeclimate.com/github/hyperoslo/embeddable)
-[![Build Status](https://travis-ci.org/hyperoslo/embeddable.png)](https://travis-ci.org/hyperoslo/embeddable)
+[![Gem Version](https://img.shields.io/gem/v/embeddable.svg)](https://rubygems.org/gems/embeddable)
+[![Build Status](https://img.shields.io/travis/hyperoslo/embeddable.svg)](https://travis-ci.org/hyperoslo/embeddable)
+[![Dependency Status](https://img.shields.io/gemnasium/hyperoslo/embeddable.svg)](https://gemnasium.com/hyperoslo/embeddable)
+[![Code Climate](https://img.shields.io/codeclimate/github/hyperoslo/embeddable.svg)](https://codeclimate.com/github/hyperoslo/embeddable)
+[![Coverage Status](https://img.shields.io/coveralls/hyperoslo/embeddable.svg)](https://coveralls.io/r/hyperoslo/embeddable)
Embeddable makes it easier to embed videos.
## Installation
@@ -22,9 +25,11 @@
## Usage
```ruby
# app/models/post.rb
class Post < ActiveRecord::Base
+ include Embeddable
+
embeddable :video, from: :video_url
end
# ...
post = Post.new video_url: 'http://www.youtube.com/watch?v=bEvNRmPzq9s'