-
- Downloads
Move :plain option to Highlight class
This is to DRY the repeated file size check. Move spec and constants to Highlight
Showing
- app/helpers/blob_helper.rb 0 additions, 1 deletionapp/helpers/blob_helper.rb
- app/models/blob.rb 0 additions, 6 deletionsapp/models/blob.rb
- app/presenters/blob_presenter.rb 1 addition, 1 deletionapp/presenters/blob_presenter.rb
- app/views/search/results/_snippet_blob.html.haml 1 addition, 1 deletionapp/views/search/results/_snippet_blob.html.haml
- lib/gitlab/highlight.rb 3 additions, 0 deletionslib/gitlab/highlight.rb
- lib/gitlab/search_results.rb 0 additions, 4 deletionslib/gitlab/search_results.rb
- spec/helpers/blob_helper_spec.rb 4 additions, 54 deletionsspec/helpers/blob_helper_spec.rb
- spec/lib/gitlab/highlight_spec.rb 60 additions, 0 deletionsspec/lib/gitlab/highlight_spec.rb
- spec/presenters/blob_presenter_spec.rb 5 additions, 21 deletionsspec/presenters/blob_presenter_spec.rb
Please register or sign in to comment