Rakefile in prawn-2.0.1 vs Rakefile in prawn-2.0.2
- old
+ new
@@ -15,24 +15,26 @@
end
desc "Show library's code statistics"
task :stats do
require 'code_statistics/code_statistics'
- puts CodeStatistics::CodeStatistics.new( [["Prawn", "lib"],
- ["Specs", "spec"]] ).to_s
+ puts CodeStatistics::CodeStatistics.new(
+ [
+ ["Prawn", "lib"],
+ ["Specs", "spec"]
+ ]
+ ).to_s
end
YARD::Rake::YardocTask.new do |t|
t.options = ['--output-dir', 'doc/html']
end
task :docs => :yard
-
desc "Generate the 'Prawn by Example' manual"
task :manual do
puts "Building manual..."
- require File.expand_path(File.join(File.dirname(__FILE__),
- %w[manual contents]))
+ require File.expand_path(File.join(File.dirname(__FILE__), %w[manual contents]))
puts "The Prawn manual is available at manual.pdf. Happy Prawning!"
end
spec = Gem::Specification.load "prawn.gemspec"
Gem::PackageTask.new(spec) do |pkg|