-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
Close metricfu#272
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,12 +14,12 @@ def emit | |
end | ||
end | ||
|
||
def run!(files, config_files) | ||
examiner.new(files, config_files) | ||
def run!(files, _config_files) | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
obfuscoder
Author
Owner
|
||
files.map { |file| examiner.new(Pathname.new(file), []) } | ||
end | ||
|
||
def analyze | ||
@matches = @output.smells.group_by(&:source).collect do |file_path, smells| | ||
@matches = @output.map(&:smells).flatten.group_by(&:source).collect do |file_path, smells| | ||
{ file_path: file_path, | ||
code_smells: analyze_smells(smells) } | ||
end | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,7 +45,7 @@ Gem::Specification.new do |s| | |
s.add_runtime_dependency "flay", [">= 2.0.1", "~> 2.1"] | ||
s.add_runtime_dependency "churn", ["~> 0.0.35"] | ||
s.add_runtime_dependency "flog", [">= 4.1.1", "~> 4.1"] | ||
s.add_runtime_dependency "reek", [">= 1.3.4", "< 3.0"] | ||
s.add_runtime_dependency "reek", [">= 3.0.0"] | ||
This comment has been minimized.
Sorry, something went wrong.
bf4
|
||
s.add_runtime_dependency "cane", [">= 2.5.2", "~> 2.5"] | ||
s.add_runtime_dependency "rails_best_practices", [">= 1.14.3", "~> 1.14"] | ||
s.add_runtime_dependency "metric_fu-Saikuro", [">= 1.1.3", "~> 1.1"] | ||
|
this is just for ruby 1.9.2