Rakefile in sixarm_ruby_geometry-3.1.1 vs Rakefile in sixarm_ruby_geometry-4.0.0

- old
+ new

@@ -1,18 +1,10 @@ # -*- coding: utf-8 -*- require "rake" require "rake/testtask" -task :default => :test +task :default => [:test] -$:<<'lib' - -task :test do - require "simplecov" - SimpleCov.start do - add_filter "/test/" - end - $:<<'test' - Dir.glob('./test/**/*.rb').each{|file| require file } +Rake::TestTask.new(:test) do |t| + t.libs.push("lib", "test") + t.pattern = "test/**/*.rb" end - -task :default => [:test]