Browse files

configured gem dependencies and improved readme

  • Loading branch information...
1 parent 9ecf674 commit 47c22b507557aa3c7a3435f22356a304af0a95aa @kristianmandrup committed Jul 6, 2010
Showing with 4 additions and 17 deletions.
  1. +0 −13 README
  2. +4 −3 Rakefile
  3. +0 −1 example/example.rb
View
13 README
@@ -1,13 +0,0 @@
-This is a port of the classic +acts_as_list+ to Mongoid.
-
-ActsAsList
-==========
-
-This acts_as extension provides the capabilities for sorting and reordering a number of objects in a list.
-If you do not specify custom position +column+ in the options, a key named +pos+ will be used automatically.
-
-See the specs for examples of how to use it.
-
-<code>rspec spec</code>
-
-
View
7 Rakefile
@@ -5,13 +5,14 @@ begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "acts_as_list_mongoid"
- gem.summary = %Q{Gem version of acts_as_list for Mongoid with Rails 2 and 3 support}
+ gem.summary = %Q{Gem version of acts_as_list for Mongoid}
gem.description = %Q{Make your Mongoid model acts as a list. This acts_as extension provides the capabilities for sorting and reordering a number of objects in a list.
- The class that has this specified needs to have a +position+ column defined as an integer on the mapped database table.}
+ The instances that take part in the list should have a +position+ field of type Integer.}
gem.email = "kmandrup@gmail.com"
gem.homepage = "http://github.com/rails/acts_as_list"
gem.authors = ["Kristian Mandrup"]
- gem.add_dependency "mongoid", ">= 2.0.0"
+ gem.add_dependency "mongoid", ">= 2.0.0.beta7"
+ gem.add_dependency "mongoid_embedded_helper", ">= 0.2.3"
# gem.add_development_dependency "yard"
end
Jeweler::GemcutterTasks.new
View
1 example/example.rb
@@ -3,7 +3,6 @@
Mongoid.configure.master = Mongo::Connection.new.db('acts_as_list-test')
-
class Item
include Mongoid::Document
include Mongoid::Timestamps

0 comments on commit 47c22b5

Please sign in to comment.