README.md in mongoid_toggle-0.1.1 vs README.md in mongoid_toggle-0.1.2
- old
+ new
@@ -1,6 +1,6 @@
-# MongoidToggle [![Build Status](https://secure.travis-ci.org/Langwhich/mongoid_toggle.png)](https://secure.travis-ci.org/Langwhich/mongoid_toggle)
+# MongoidToggle [![Build Status](https://secure.travis-ci.org/tbpro/mongoid_toggle.png)](https://travis-ci.org/tbpro/mongoid_toggle) [![Code Climate](https://codeclimate.com/github/tbpro/mongoid_toggle.png)](https://codeclimate.com/github/tbpro/mongoid_toggle)
MongoidToggle adds a simple function to mongoid documents to toggle boolean
values with optional save for the record.
## Install
@@ -22,15 +22,15 @@
```
```ruby
p = Person.first
- # This call toggles is_active and saves the record
+ # This call toggles is_active and saves the record and returns true on success
p.toggle! :is_active
- # This call toggles is_active without saving the record
+ # This call toggles is_active without saving the record and always returns true
p.toggle :is_active
```
## Credits
-Copyright (c) 2012 Langwhich GmbH <http://www.langwhich.com>
+Copyright (c) 2012-2013 Thomas Boerger Programmierung <http://www.tbpro.de>