Skip to content
Commits on Jun 28, 2016
  1. @tjwp
Commits on Jun 27, 2016
  1. @tjwp
Commits on Jun 26, 2016
  1. Cut 0.41.1

    committed Jun 26, 2016
  2. @pocke
Commits on Jun 25, 2016
  1. Cut 0.41

    committed Jun 25, 2016
Commits on Jun 23, 2016
  1. @faucct
  2. @sgringwe

    Add Rails/Exit cop (#3100)

    sgringwe committed with Jun 23, 2016
  3. Merge pull request #3243 from lumeet/ml_19

    Reduce Metrics/MethodLength Max to 19
    committed on GitHub Jun 23, 2016
  4. @tjwp

    [Fix #3148] Make Rails/UniqBeforePluck more conservative (#3231)

    Autocorrect is disabled by default for this cop since it can
    potentially generate false positives.
    
    Add offenses for `distinct` as well as `uniq`.
    
    By default only add offenses for calls to `pluck` directly
    on constants.
    
    Add an 'aggressive' mode that adds all offenses as the cop did
    originally.
    tjwp committed with Jun 23, 2016
Commits on Jun 22, 2016
  1. @lumeet

    Reduce complexity in AstNode

    Split `parent_module_name` into smaller methods.
    lumeet committed Jun 22, 2016
  2. @lumeet

    Reduce complexity in CommentConfig

    Split `analyze` into smaller methods.
    lumeet committed Jun 22, 2016
  3. @lumeet

    Reduce complexity in SymbolProc

    Split `on_block` into smaller methods and clarify variable naming a
    bit.
    lumeet committed Jun 21, 2016
  4. @lumeet

    Reduce complexity in BlockAlignment

    Split `check_block_alignment` into smaller methods.
    lumeet committed Jun 21, 2016
  5. @lumeet

    Reduce complexity in TrailingComma mixin

    Split `check` into smaller methods.
    lumeet committed Jun 20, 2016
  6. @lumeet

    Reduce complexity in Team

    Split `inspect_file` into smaller methods.
    lumeet committed Jun 20, 2016
  7. @segiddins
  8. @flexoid

    Generate 'Exclude' list if different styles are used (#3175)

    Before, if mixed styles of the specific cop are used across project files,
    some of the cops set 'Enabled: false' regardless of the count of
    files with offense and "--exclude-limit" argument.
    flexoid committed with Jun 22, 2016
  9. @jellybob

    Handle paths where multiple potential roots exist (#3106)

    Update `Style/FileName` to be able to cope with files which sit at
    a path in which there are multiple namespace roots present. The
    specific instance this was written to deal with is our Codeship
    CI run, which places the source in `~/src/`, making the full path
    `~/src/project/lib/file.rb`. This resulted in failures with the
    message "file.rb should define a class or module called
    Project::Lib::File" because it was rooting the namespace at the
    `src`.
    jellybob committed with Jun 22, 2016
  10. Merge pull request #3222 from deivid-rodriguez/fixes_3138

    [Fix #3138] Fix encoding mismatch issue
    committed on GitHub Jun 22, 2016
  11. @pclalv
Commits on Jun 21, 2016
  1. @deivid-rodriguez

    Fix encoding mismatch issue

    Make sure we don't crash when external encoding is not utf-8 but the config
    file contains utf-8 characters.
    deivid-rodriguez committed Jun 14, 2016
  2. @deivid-rodriguez

    Add missing blank line

    deivid-rodriguez committed Jun 14, 2016
  3. @Drenmi

    [Fix #3127] Add new Lint/InheritException cop (#3234)

    This cop checks for error classes that inherit from `Exception`,
    and instead suggests using `RuntimeError` or `StandardError`.
    
    `EnforcedStyle:`
    
    - `runtime_error` (default)
    - `standard_error`
    Drenmi committed with Jun 22, 2016
  4. @tejasbubane
  5. @meganemura
  6. @bquorning

    [Fix #3240] Change RequestReferer namespace (#3241)

    The `RequestReferer` cop is checking the spelling of a Rack method. Rack being a
    dependency of Rails, this cop belongs in the `Rails` namespace.
    bquorning committed with Jun 21, 2016
  7. Merge pull request #3232 from ptarjan/ptarjan-many-arg-return

    Return can take many arguments
    committed on GitHub Jun 21, 2016
  8. @rrosenblum
Commits on Jun 20, 2016
  1. @ptarjan
  2. @ptarjan
  3. @meganemura

    Remove requiring pry (#3238)

    meganemura committed with Jun 21, 2016
Commits on Jun 19, 2016
  1. @jonas054

    Auto-correct more kinds of infinite loops (#3235)

    Second correction for #3207. Change it so we auto-correct
    instead of accept modifier forms. Also add handling of
    begin-end-while.
    jonas054 committed with Jun 19, 2016
  2. @owst
  3. @owst
  4. @jonas054

    [Fix #1646] MultilineMethodCallInd. indented_relative_to_receiver sty…

    …le (#3233)
    
    Add the style indented_relative_to_receiver in
    Style/MultilineMethodCallIndentation for indentation of
    method calls so that each new line of a call chain is
    indented one step more than the ultimate receiver.
    jonas054 committed with Jun 19, 2016
Something went wrong with that request. Please try again.