gitlab-ce/lib/gitlab/diff
Connor Shea 4995302df6
Enable the StringReplacement cop.
Also fix one use of `gsub` that would be faster as `delete`.

Use `tr` instead of `gsub` when you are replacing the same number of
characters. Use `delete` instead of `gsub` when you are deleting
characters.
2016-05-10 18:34:15 -06:00
..
file.rb
highlight.rb
inline_diff.rb
inline_diff_marker.rb
line.rb
line_code.rb
parallel_diff.rb
parser.rb Enable the StringReplacement cop. 2016-05-10 18:34:15 -06:00