README.md in carrierwave-mongoid-0.3.0 vs README.md in carrierwave-mongoid-0.3.1
- old
+ new
@@ -1,6 +1,6 @@
-# CarrierWave for Mongoid
+# CarrierWave for Mongoid [![Build Status](https://travis-ci.org/jnicklas/carrierwave-mongoid.png?branch=master)](http://travis-ci.org/jnicklas/carrierwave-mongoid)
This gem adds support for Mongoid and MongoDB's GridFS to
[CarrierWave](https://github.com/jnicklas/carrierwave/)
This functionality used to be part of CarrierWave but has since been extracted
@@ -62,17 +62,20 @@
database connection and default all storage to GridFS. That might look something
like this:
```ruby
CarrierWave.configure do |config|
- config.grid_fs_connection = Mongoid.database
config.storage = :grid_fs
config.root = Rails.root.join('tmp')
config.cache_dir = "uploads"
end
```
## Version differences
+
+### 0.3.x
+
+carrierwave-mongoid ~> 0.3.0 is only compatible with Mongoid 3.0 or higher.
### 0.2.x
carrierwave-mongoid ~> 0.2.0 is only compatible with Rails 3.2 or higher.