Sha256: a5ebacb4607de04f285d20b7cf75dbb5e9c02e63b623a3240e246c963d860801

Contents?: true

Size: 625 Bytes

Versions: 2

Compression:

Stored size: 625 Bytes

Contents

require "bundler/gem_tasks"

if RUBY_VERSION >= '1.9.0'
  require 'rake/testtask'
  Rake::TestTask
else
  require 'rcov/rcovtask'
  Rcov::RcovTask
end.new(:test) do |test|
  test.libs << 'lib' << 'test'
  test.ruby_opts << '-r./test/simplecov_start.rb' if !defined?(Rcov)
  test.pattern = 'test/**/test_*.rb'
  test.verbose = true
end

task :default => :test

require 'rdoc/task'
Rake::RDocTask.new do |rdoc|
  version = HTTP::Cookie::VERSION

  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = "http-cookie #{version}"
  rdoc.rdoc_files.include('lib/**/*.rb')
  rdoc.rdoc_files.include(Bundler::GemHelper.gemspec.extra_rdoc_files)
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
http-cookie-0.1.1 Rakefile
http-cookie-0.1.0 Rakefile