AgileVentures / ProjectMetrics

A proof of concept rails app to replace project_scope using an extendable plugin architecture for agile adherence monitoring
MIT License
0 stars 1 forks source link

DRY config a little further #5

Open tansaku opened 8 years ago

tansaku commented 8 years ago

we could DRY the config a little further to go from:

ProjectMetrics.configure do 
  add_metric :code_climate_project_metrics
  add_metric :github_project_metrics
end

to

ProjectMetrics.configure do 
  add_metric :code_climate
  add_metric :github
end

which allows less repeated text in the config component - and would also simplify the code for returning of the list of configured metrics