-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rakefile
30 lines (25 loc) · 811 Bytes
/
Rakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
require 'rubygems'
require 'rake/gempackagetask'
require 'merb-core'
require 'merb-core/tasks/merb'
GEM_NAME = "merb_mongomapper"
AUTHOR = "Cyril Mougel"
EMAIL = "[email protected]"
HOMEPAGE = "http://github.com/shingara/merb_mongomapper"
SUMMARY = "Merb ORM plugin that provides support for MongoMapper Models"
begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = GEM_NAME
gem.summary = SUMMARY
gem.email = EMAIL
gem.homepage = HOMEPAGE
gem.authors = ["Cyril Mougel"]
gem.rubyforge_project = "merb_mongomapper"
gem.add_dependency('merb-core', '>= 1.0.9')
gem.add_dependency("mongo_mapper", "~>0.5.5")
end
Jeweler::RubyforgeTasks.new
rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
end