Skip to content
Newer
Older
100644 23 lines (18 sloc) 481 Bytes
b6660e3 @treeder initial commit
treeder authored Dec 16, 2011
1 require 'rubygems'
2 require 'rake'
3
4 require 'rake/testtask'
5 Rake::TestTask.new(:test) do |test|
6 test.libs << 'lib' << 'test'
7 test.pattern = 'test/**/test_*.rb'
8 test.verbose = true
6331f6d @treeder Added excon and made errors consistent.
treeder authored Jul 9, 2012
9 p ENV['gem']
b6660e3 @treeder initial commit
treeder authored Dec 16, 2011
10 end
11
12 task :default => :test
13
14 require 'rdoc/task'
15 Rake::RDocTask.new do |rdoc|
16 version = File.exist?('VERSION') ? File.read('VERSION') : ""
17
18 rdoc.rdoc_dir = 'doc'
fcb97a1 @treeder Added gzip support to net-http-persistent
treeder authored Sep 23, 2012
19 rdoc.title = "rest #{version}"
b6660e3 @treeder initial commit
treeder authored Dec 16, 2011
20 rdoc.rdoc_files.include('README*')
21 rdoc.rdoc_files.include('lib/**/*.rb')
22 end
Something went wrong with that request. Please try again.