Rakefile in wisepdf-1.2.10 vs Rakefile in wisepdf-1.3.0

- old
+ new

@@ -1,43 +1,11 @@ # encoding: utf-8 -require 'rubygems' -require 'bundler' -begin - Bundler.setup(:default, :development) -rescue Bundler::BundlerError => e - $stderr.puts e.message - $stderr.puts "Run `bundle install` to install missing gems" - exit e.status_code -end -require 'rake' - -require 'jeweler' -Jeweler::Tasks.new do |gem| - gem.name = "wisepdf" - gem.homepage = "http://github.com/igor-alexandrov/wisepdf" - gem.license = "MIT" - gem.summary = "wkhtmltopdf for Rails done right" - gem.description = %Q{wisepdf uses the shell utility wkhtmltopdf to serve a PDF file to a user from HTML. In other words, rather than dealing with a PDF generation DSL of some sort, you simply write an HTML view as you would normally, and let pdf take care of the hard stuff.} - gem.email = "igor.alexandrov@gmail.com" - gem.authors = [ "Igor Alexandrov" ] -end -Jeweler::RubygemsDotOrgTasks.new - +require 'bundler/gem_tasks' require 'rake/testtask' Rake::TestTask.new(:test) do |test| test.libs << 'lib' << 'test' test.pattern = 'test/**/*_test.rb' test.verbose = true end -task :default => :test - -require 'rdoc/task' -Rake::RDocTask.new do |rdoc| - version = File.exist?('VERSION') ? File.read('VERSION') : "" - - rdoc.rdoc_dir = 'rdoc' - rdoc.title = "wisepdf #{version}" - rdoc.rdoc_files.include('README*') - rdoc.rdoc_files.include('lib/**/*.rb') -end +task :default => :test \ No newline at end of file