BigW Consortium Gitlab

  1. 07 Mar, 2017 1 commit
  2. 01 Mar, 2017 1 commit
    • Add RuboCop cop for custom error classes · 8dd097a9
      Sean McGivern authored
      From the Ruby style guide:
      
          # bad
          class FooError < StandardError
          end
      
          # okish
          class FooError < StandardError; end
      
          # good
          FooError = Class.new(StandardError)
      
      This cop does that, but only for error classes (classes where the
      superclass ends in 'Error'). We have empty controllers and models, which
      are perfectly valid empty classes.
  3. 10 Feb, 2017 1 commit
    • Enforce use of add_concurrent_foreign_key · 766060bc
      Yorick Peterse authored
      This adds a Rubocop rule to enforce the use of
      add_concurrent_foreign_key instead of the regular add_foreign_key
      method. This cop has been disabled for existing migrations so we don't
      need to change those.
  4. 09 Feb, 2017 1 commit
  5. 08 Feb, 2017 1 commit