Rakefile in paddle-1.0.0 vs Rakefile in paddle-1.1.0

- old
+ new

@@ -1,14 +1,12 @@ -# -*- ruby -*- +# frozen_string_literal: true -require 'rubygems' -require 'hoe' +require "bundler/gem_tasks" +require "rake/testtask" -Hoe.spec 'paddle' do - developer('Aaron Patterson', 'aaron@tenderlovemaking.com') - self.readme_file = 'README.rdoc' - self.history_file = 'CHANGELOG.rdoc' - self.extra_rdoc_files = FileList['*.rdoc'] - self.extra_deps << ['rdoc', '>= 2.5.3'] +Rake::TestTask.new(:test) do |t| + t.libs << "test" + t.libs << "lib" + t.test_files = FileList["test/**/*_test.rb"] end -# vim: syntax=ruby +task default: :test