AgileVentures / AgileVentures/ProjectMetrics

DRY config a little further

Aperta
#5 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Ruby
Stelle
0
Fork
1
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

``` rb
ProjectMetrics.configure do
add_metric :code_climate_project_metrics
add_metric :github_project_metrics
end
```

to

``` rb
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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.