From 21df7b559e2c5e35b3a97876e435ad3dc0eef26f Mon Sep 17 00:00:00 2001 From: James Hu Date: Thu, 4 Jun 2015 20:36:20 -0700 Subject: [PATCH] We don't use test and rdoc --- Rakefile | 27 +-------------------------- 1 file changed, 1 insertion(+), 26 deletions(-) diff --git a/Rakefile b/Rakefile index d7d7cbe..ae2ec5b 100644 --- a/Rakefile +++ b/Rakefile @@ -23,29 +23,4 @@ Jeweler::Tasks.new do |gem| gem.authors = ["James Hu"] # dependencies defined in Gemfile end -Jeweler::RubygemsDotOrgTasks.new - -require 'rake/testtask' -Rake::TestTask.new(:test) do |test| - test.libs << 'lib' << 'test' - test.pattern = 'test/**/test_*.rb' - test.verbose = true -end - -desc "Code coverage detail" -task :simplecov do - ENV['COVERAGE'] = "true" - Rake::Task['test'].execute -end - -task :default => :test - -require 'rdoc/task' -Rake::RDocTask.new do |rdoc| - version = File.exist?('VERSION') ? File.read('VERSION') : "" - - rdoc.rdoc_dir = 'rdoc' - rdoc.title = "rails-reverse-proxy #{version}" - rdoc.rdoc_files.include('README*') - rdoc.rdoc_files.include('lib/**/*.rb') -end +Jeweler::RubygemsDotOrgTasks.new \ No newline at end of file