begin require 'bundler' Bundler::GemHelper.install_tasks rescue Exception => e end require 'rake' require 'rspec' require 'rspec/core/rake_task' require 'csv2hash' RSpec::Core::RakeTask.new(:spec) do |spec| spec.pattern = 'spec/**/*_spec.rb' end RSpec::Core::RakeTask.new('spec:progress') do |spec| spec.rspec_opts = %w(--format progress) spec.pattern = 'spec/**/*_spec.rb' end require 'rdoc/task' Rake::RDocTask.new do |rdoc| rdoc.rdoc_dir = 'rdoc' rdoc.title = 'csv2hash #{csv2hash::VERSION}' rdoc.rdoc_files.include('README*') rdoc.rdoc_files.include('lib/**/*.rb') end task default: :spec