Mercurial > hg > soundsoftware-site
comparison .svn/pristine/c2/c277c75680e95fd8a5e6b96ba5aa137fbcbf5ef8.svn-base @ 1295:622f24f53b42 redmine-2.3
Update to Redmine SVN revision 11972 on 2.3-stable branch
author | Chris Cannam |
---|---|
date | Fri, 14 Jun 2013 09:02:21 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
1294:3e4c3460b6ca | 1295:622f24f53b42 |
---|---|
1 # -*- encoding: utf-8 -*- | |
2 $LOAD_PATH.unshift File.expand_path("../lib", __FILE__) | |
3 require 'rubygems' | |
4 require 'bundler/setup' | |
5 require 'awesome_nested_set/version' | |
6 | |
7 require "rspec/core/rake_task" | |
8 RSpec::Core::RakeTask.new(:spec) | |
9 | |
10 task :default => :spec | |
11 | |
12 task :build do | |
13 system "gem build awesome_nested_set.gemspec" | |
14 end | |
15 | |
16 task :release => :build do | |
17 system "gem push awesome_nested_set-#{ActsAsGeocodable::VERSION}.gem" | |
18 end | |
19 | |
20 require 'rdoc/task' | |
21 desc 'Generate documentation for the awesome_nested_set plugin.' | |
22 Rake::RDocTask.new(:rdoc) do |rdoc| | |
23 rdoc.rdoc_dir = 'rdoc' | |
24 rdoc.title = 'AwesomeNestedSet' | |
25 rdoc.options << '--line-numbers' << '--inline-source' | |
26 rdoc.rdoc_files.include('README.rdoc') | |
27 rdoc.rdoc_files.include('lib/**/*.rb') | |
28 end |