Rakefile in ruby-mpc-0.0.5 vs Rakefile in ruby-mpc-0.0.6
- old
+ new
@@ -1,27 +1,3 @@
-require 'rubygems'
-gem 'hoe', '>= 2.1.0'
-require 'hoe'
-require 'fileutils'
-require './lib/mpc/version.rb'
-
-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 'ruby-mpc' do
- self.developer 'Takayuki YAMAGUCHI', 'd@ytak.info'
- self.post_install_message = 'PostInstall.txt' # TODO remove if post-install message not required
- self.rubyforge_name = self.name # TODO this is default value
- self.extra_deps = [['ruby-mpfr','>= 0.0.11']]
- self.spec_extras[:extensions] = "ext/mpc/extconf.rb"
- self.extra_rdoc_files << 'README.rdoc'
-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]
+require "bundler/gem_tasks"
+require 'mpfr/rake_compile'
+