• Fabio Pitino's avatar
    Merge `pipeline_for` and `latest_pipeline_for_ref` methods · 490cf7b5
    Fabio Pitino authored
    Both `pipeline_for` and `latest_pipeline_for_ref` methods in Project
    have equivalent and duplicate logic. We also use both interchangebly.
    This change merges them into a new method `latest_pipeline` which
    accepts both ref and sha for fine search. Also the name provides
    more clarity than `pipeline_for`
    490cf7b5
project_spec.rb 203 KB