Skip to content

Commit

Permalink
Merge pull request prawnpdf#768 from ruanwz/master
Browse files Browse the repository at this point in the history
fix rake stats
  • Loading branch information
practicingruby committed Sep 12, 2014
2 parents 293f361 + 2bb2101 commit fa80690
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,9 @@ 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|
Expand Down
1 change: 1 addition & 0 deletions prawn.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ Gem::Specification.new do |spec|
spec.add_development_dependency('prawn-manual_builder', ">= 0.2.0")
spec.add_development_dependency('pdf-reader', '~>1.2')
spec.add_development_dependency('rubocop', '0.20.1')
spec.add_development_dependency('code_statistics', '0.2.13')

spec.homepage = "http://prawn.majesticseacreature.com"
spec.description = <<END_DESC
Expand Down

0 comments on commit fa80690

Please sign in to comment.