Rakefile in event_emitter-0.2.0 vs Rakefile in event_emitter-0.2.1

- old
+ new

@@ -1,25 +1,8 @@ -require 'rubygems' -gem 'hoe', '>= 2.1.0' -require 'hoe' -require 'fileutils' -require './lib/event_emitter' +require "bundler/gem_tasks" +require "rake/testtask" -Hoe.plugin :newgem -# Hoe.plugin :website -# Hoe.plugin :cucumberfeatures - -# Generate all the Rake tasks -# Run 'rake -T' to see list of generated tasks (from gem root directory) -$hoe = Hoe.spec 'event_emitter' do - self.developer 'Sho Hashimoto', 'hashimoto@shokai.org' - self.rubyforge_name = self.name # TODO this is default value - # self.extra_deps = [['activesupport','>= 2.0.2']] - +Rake::TestTask.new do |t| + t.pattern = "test/test_*.rb" end -require 'newgem/tasks' -Dir['tasks/**/*.rake'].each { |t| load t } - -# TODO - want other tests/tasks run by default? Add them to the list -# remove_task :default -# task :default => [:spec, :features] +task :default => :test