• Yorick Peterse's avatar
    Unify detecting of special repository files · df5548e1
    Yorick Peterse authored
    This moves the logic of detecting special repository files (e.g. a
    README or a Koding configuration file) to a single class:
    Gitlab::FileDetector. Moving this logic into a single place allows this
    to be re-used more easily.
    
    This commit also changes Repository#gitlab_ci_yaml so that its cached
    similar to other data (e.g. the Koding configuration file).
    df5548e1
file_detector_spec.rb 1.73 KB