require 'rubygems' require 'bundler/setup'; Bundler.setup(:default, :development) require 'rspec/core/rake_task' RSpec::Core::RakeTask.new :spec do |t| t.rspec_opts = %w(--color) end RSpec::Core::RakeTask.new :specdoc do |t| t.rspec_opts = %w(-fl) end task :default => :spec desc "Open an irb session preloaded with this library" task :console do sh "irb -rubygems -I lib -r dbf.rb" end # require 'metric_fu' # MetricFu::Configuration.run do |config| # config.rcov[:test_files] = ['spec/**/*_spec.rb'] # config.rcov[:rcov_opts] << "-Ispec" # end