Rakefile in args_parser-0.1.2 vs Rakefile in args_parser-0.1.3
- old
+ new
@@ -1,25 +1,8 @@
-require 'rubygems'
-gem 'hoe', '>= 2.1.0'
-require 'hoe'
-require 'fileutils'
-require './lib/args_parser'
+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 'args_parser' do
- self.developer 'Sho Hashimoto', 'hashimoto@shokai.org'
- self.rubyforge_name = self.name # TODO this is default value
- # self.extra_deps = [['newgem','>= 1.5.3']]
-
+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