forked from yeastymobs/machinist_mongomapper
-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathRakefile
28 lines (23 loc) · 788 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
# encoding: utf-8
require 'rubygems'
require 'rake'
require 'rspec/core/rake_task'
begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "machinist_mongo"
gem.summary = %Q{Machinist adapters for MongoDB ORMs}
gem.email = "nicolas.merouze@gmail.com"
gem.homepage = "http://github.com/nmerouze/machinist_mongo"
gem.authors = ["Nicolas Mérouze", "Cyril Mougel"]
gem.files = Dir["README.md", "LICENSE", "lib/**/*"]
gem.add_dependency('machinist', '~> 1.0.6')
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
end
desc 'Default: run specs.'
task :default => :spec
desc 'Run all the specs for the machinist plugin.'
RSpec::Core::RakeTask.new(:spec)