Rakefile in prawn-1.2.1 vs Rakefile in prawn-1.3.0
- old
+ new
@@ -14,13 +14,12 @@
c.rspec_opts = "-t ~unresolved"
end
desc "Show library's code statistics"
task :stats do
- require 'code_statistics'
- CodeStatistics::TEST_TYPES << "Specs"
- CodeStatistics.new( ["Prawn", "lib"],
- ["Specs", "spec"] ).to_s
+ require 'code_statistics/code_statistics'
+ puts CodeStatistics::CodeStatistics.new( [["Prawn", "lib"],
+ ["Specs", "spec"]] ).to_s
end
YARD::Rake::YardocTask.new do |t|
t.options = ['--output-dir', 'doc/html']
end