Rakefile in timeframe-0.1.1 vs Rakefile in timeframe-0.2.0

- old
+ new

@@ -1,15 +1,14 @@ -require 'bundler' -Bundler::GemHelper.install_tasks +#!/usr/bin/env rake +require "bundler/gem_tasks" +require 'rake' require 'rake/testtask' - -Rake::TestTask.new do |t| - t.libs.push 'lib' - t.test_files = FileList['spec/**/*spec.rb'] - t.verbose = true +Rake::TestTask.new(:test) do |test| + test.libs << 'lib' << 'test' + test.pattern = 'test/**/test_*.rb' + test.verbose = true end - task :default => :test require 'yard' YARD::Rake::YardocTask.new