1. 11 May, 2016 4 commits
    • Rémy Coutable's avatar
      Merge branch 'string-replacement-cop' into 'master' · de5ae1bf
      Rémy Coutable authored
      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.
      
      See merge request !3960
      de5ae1bf
    • Jacob Schatz's avatar
      Merge branch 'jquery-scrollto' into 'master' · c24cd968
      Jacob Schatz authored
      Removes jquery-scrollto-rails.
      
      Instead the script is now included directly from the vendor directory.
      
      Resolves #17166. Working towards #14286 and merging !3775.
      
      The gem was on 1.4.3.1, here's the diff between that tag and 2.1.2 (the version I'm using in this MR): https://github.com/flesler/jquery.scrollTo/compare/1.4.3...2.1.2
      
      There aren't any notable breaking changes that I noticed, and I didn't see any JS errors after testing a bunch of pages.
      
      cc: @jschatz1 
      
      See merge request !4088
      c24cd968
    • Connor Shea's avatar
      Enable the StringReplacement cop. · 4995302d
      Connor Shea authored
      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.
      4995302d
    • Connor Shea's avatar
      Removes jquery-scrollto-rails. · 976a7052
      Connor Shea authored
      Instead the script is now included directly from the vendor directory.
      
      Resolves #17166.
      976a7052
  2. 10 May, 2016 29 commits
  3. 09 May, 2016 7 commits