Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
35 lines (30 sloc) 934 Bytes
require 'rubygems'
require 'bundler'
begin
Bundler.setup(:default, :development)
rescue Bundler::BundlerError => e
$stderr.puts e.message
$stderr.puts "Run `bundle install` to install missing gems"
exit e.status_code
end
require 'rake'
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "mongoid_taggable_with_context"
gem.homepage = "http://github.com/aq1018/mongoid_taggable_with_context"
gem.license = "MIT"
gem.summary = %Q{Mongoid taggable behaviour}
gem.description = %Q{It provides some helpers to create taggable documents with context.}
gem.email = "aq1018@gmail.com"
gem.authors = ["Aaron Qian"]
end
Jeweler::RubygemsDotOrgTasks.new
require 'rspec/core'
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec) do |spec|
spec.pattern = FileList['spec/**/*_spec.rb']
spec.rspec_opts = "--color --format progress"
end
task :default => :spec
require 'yard'
YARD::Rake::YardocTask.new
Something went wrong with that request. Please try again.