Permalink
Browse files

Bump version

  • Loading branch information...
1 parent eb4a95e commit b7593bf4f208a8b0f247beb3cf4245a7039380be @fxposter committed Jun 12, 2012
Showing with 8 additions and 6 deletions.
  1. +7 −5 README.rdoc
  2. +1 −1 lib/mongoid/slugify/version.rb
View
@@ -4,12 +4,14 @@ Mongoid::Slufigy is a gem, which helps you with generating slugs for your Mongoi
{<img src="https://secure.travis-ci.org/fxposter/mongoid-slugify.png" />}[http://travis-ci.org/fxposter/mongoid-slugify]
-== Installation
+== Installation
-Add mongoid-slugify to your Gemfile:
+Add Mongoid::Slufigy to your Gemfile:
gem 'mongoid-slugify'
+Since 0.1.0 Mongoid::Slufigy supports both Mongoid 2.x and 3.x releases (since 3.0.0.rc).
+
== Usage
class Product
@@ -19,9 +21,9 @@ Add mongoid-slugify to your Gemfile:
field :title
private
- def generate_slug
- title.parameterize
- end
+ def generate_slug
+ title.parameterize
+ end
end
As you can see, you should make 2 things:
@@ -1,5 +1,5 @@
module Mongoid
module Slugify
- VERSION = "0.0.4"
+ VERSION = "0.1.0"
end
end

0 comments on commit b7593bf

Please sign in to comment.