Browse files

- Fixed Flog task's default method. (jasonrobertfox)

[git-p4: depot-paths = "//src/flog/dev/": change = 8926]
  • Loading branch information...
1 parent 19801ca commit 451d121d34c85d3261c03829ce2df0951b66f22f @zenspider zenspider committed Aug 20, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/flog_task.rb
View
4 lib/flog_task.rb
@@ -22,7 +22,7 @@ class FlogTask < Rake::TaskLib
attr_accessor :verbose
##
- # Method to use to score. Defaults to :total
+ # Method to use to score. Defaults to :total_score
attr_accessor :method
@@ -34,7 +34,7 @@ def initialize name = :flog, threshold = 200, dirs = nil, method = nil
@name = name
@dirs = dirs || %w(app bin lib spec test)
@threshold = threshold
- @method = method || :total
+ @method = method || :total_score
@verbose = Rake.application.options.trace
yield self if block_given?

0 comments on commit 451d121

Please sign in to comment.