README.md in emotions-0.2.1 vs README.md in emotions-0.2.2
- old
+ new
@@ -1,8 +1,18 @@
-# Emotions
+<p align="center">
+ <a href="https://github.com/mirego/emotions">
+ <img src="http://i.imgur.com/9fhaEY4.png" alt="Emotions" />
+ </a>
+ <br />
+ Emotions is a Ruby library that allows ActiveRecord records to<br /> express (and hopefully store) emotions about other records.
+ <br /><br />
+ <a href="https://rubygems.org/gems/emotions"><img src="https://badge.fury.io/rb/emotions.png" /></a>
+ <a href="https://codeclimate.com/github/mirego/emotions"><img src="https://codeclimate.com/github/mirego/emotions.png" /></a>
+ <a href="https://travis-ci.org/mirego/emotions"><img src="https://travis-ci.org/mirego/emotions.png?branch=master" /></a>
+</p>
-Emotions is a Ruby library that allows ActiveRecord records to express (and hopefully store) emotions about other records.
+---
## Installation
Add this line to your application’s Gemfile:
@@ -82,19 +92,26 @@
picture.happy_emotions_count
# Quick lookup into the column and returns `1`
```
+Same thing for emotional records. If there’s a `happy_emotions_count` column in the `User` model, Emotions will update it each time a record expresses a happy emotion towards another record.
+
+```ruby
+user.happy_about!(picture)
+
+user.happy_about.count
+# SQL query that counts records and returns `1`
+
+user.happy_emotions_count
+# Quick lookup into the column and returns `1`
+```
+
## License
`Emotions` is © 2013 [Mirego](http://www.mirego.com) and may be freely distributed under the [New BSD license](http://opensource.org/licenses/BSD-3-Clause). See the [`LICENSE.md`](https://github.com/mirego/emotions/blob/master/LICENSE.md) file.
## About Mirego
-Mirego is a team of passionate people who believe that work is a place where you can innovate and have fun.
-We proudly built mobile applications for
-[iPhone](http://mirego.com/en/iphone-app-development/ "iPhone application development"),
-[iPad](http://mirego.com/en/ipad-app-development/ "iPad application development"),
-[Android](http://mirego.com/en/android-app-development/ "Android application development"),
-[Blackberry](http://mirego.com/en/blackberry-app-development/ "Blackberry application development"),
-[Windows Phone](http://mirego.com/en/windows-phone-app-development/ "Windows Phone application development") and
-[Windows 8](http://mirego.com/en/windows-8-app-development/ "Windows 8 application development").
+Mirego is a team of passionate people who believe that work is a place where you can innovate and have fun. We proudly build mobile applications for [iPhone](http://mirego.com/en/iphone-app-development/ "iPhone application development"), [iPad](http://mirego.com/en/ipad-app-development/ "iPad application development"), [Android](http://mirego.com/en/android-app-development/ "Android application development"), [Blackberry](http://mirego.com/en/blackberry-app-development/ "Blackberry application development"), [Windows Phone](http://mirego.com/en/windows-phone-app-development/ "Windows Phone application development") and [Windows 8](http://mirego.com/en/windows-8-app-development/ "Windows 8 application development") in beautiful Quebec City.
+
+We also love [open-source software](http://open.mirego.com/) and we try to extract as much code as possible from our projects to give back to the community.