Rakefile in prawn-0.1.2 vs Rakefile in prawn-0.2.0

- old
+ new

@@ -2,11 +2,11 @@ require 'rake' require 'rake/testtask' require "rake/rdoctask" require "rake/gempackagetask" -PRAWN_VERSION = "0.1.2" +PRAWN_VERSION = "0.2.0" task :default => [:test] desc "Run all tests, test-spec and mocha required" Rake::TestTask.new do |test| @@ -33,12 +33,12 @@ end desc "run all examples, and then diff them against reference PDFs" task :examples do mkdir_p "output" - examples = Dir["examples/*.rb"].reject { |e| e =~ /bench/ } + examples = Dir["examples/*.rb"] t = Time.now - puts "Running Examples, skipping benchmark" + puts "Running Examples" examples.each { |file| `ruby -Ilib #{file}` } puts "Ran in #{Time.now - t} s" `mv *.pdf output` unless RUBY_VERSION < "1.9"