Commit 8249fdb73a2eafd8d11d279614b58314e510b002
Committed by
Rafael Manzo
1 parent
7fe9195e
Exists in
staging
and in
42 other branches
[Mezuro] Finished rebase successfully.
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
plugins/mezuro/lib/mezuro_plugin/project_content.rb
| ... | ... | @@ -29,7 +29,8 @@ class MezuroPlugin::ProjectContent < Article |
| 29 | 29 | |
| 30 | 30 | def get_date_result(date) |
| 31 | 31 | client = Kalibro::Client::ProjectResultClient.new |
| 32 | - @project_result ||= Kalibro::Client::ProjectResultClient.has_results_before(name, date) ? Kalibro::Client::ProjectResultClient.last_result_before(name, date) : Kalibro::Client::ProjectResultClient.first_result_after(name, date) | |
| 32 | + @project_result ||= client.has_results_before(name, date) ? client.last_result_before(name, date) : | |
| 33 | +client.first_result_after(name, date) | |
| 33 | 34 | end |
| 34 | 35 | |
| 35 | 36 | def module_result(module_name) | ... | ... |