forked from nosolosoftware/mongoid_userstamp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rakefile
33 lines (26 loc) · 828 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
31
32
require 'rubygems'
begin
require 'bundler'
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'
require 'yard'
$:.push File.expand_path('../lib', __FILE__)
require 'mongoid/userstamp/version'
Jeweler::Tasks.new do |gem|
gem.name = 'mongoid_userstamp'
gem.version = Mongoid::Userstamp::Version::STRING
gem.homepage = 'https://github.com/Langwhich/mongoid_userstamp'
gem.license = 'MIT'
gem.summary = %Q{Userstamp for created and updated columns within mongoid}
gem.email = '[email protected]'
gem.authors = ['Thomas Boerger', 'Tim Rudat']
end
Jeweler::RubygemsDotOrgTasks.new
YARD::Rake::YardocTask.new
task :default => :version