Rakefile in mof-0.3.0 vs Rakefile in mof-0.3.2
- old
+ new
@@ -1,29 +1,5 @@
-require 'rubygems'
-gem 'hoe', '>= 2.1.0'
-require 'hoe'
-require 'fileutils'
+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 'mof' do
- self.developer 'Klaus Kämpf', 'kkaempf@suse.de'
- self.extra_deps = [['cim','>= 0.2.7']]
-
-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]
-
-task :test => [:build]
-
-task :build => ["lib/mof/parser.rb"]
+Dir['tasks/**/*.rake'].each { |t| load t }