Automatic Ruby code style checking tool. Aims to enforce the community-driven Ruby Style Guide.

Critical or Security advisories for 0.49.1

This version doesn't have any advisory. Want to report one?

Critical or Security fixes for 0.49.1

You need to be logged in to view advisory details.

Login or Signup

Changelog for 0.49.1

Bug fixes

  • #4411: Handle properly safe navigation in Style/YodaCondition. ([@bbatsov][])
  • #4412: Handle properly literal comparisons in Style/YodaCondition. ([@bbatsov][])
  • Handle properly class variables and global variables in Style/YodaCondition. ([@bbatsov][])
  • #4392: Fix the auto-correct of Style/Next when the end is misaligned. ([@rrosenblum][])
  • #4407: Prevent Performance/RegexpMatch from blowing up on match without arguments. ([@pocke][])
  • #4414: Handle pseudo-assignments in for loops in Style/ConditionalAssignment. ([@bbatsov][])
  • #4419: Handle combination AllCops: DisabledByDefault: true and Rails: Enabled: true. ([@jonas054][])
  • #4422: Fix missing space in message for Style/MultipleComparison. ([@timrogers][])
  • #4420: Ensure Style/EmptyMethod honours indentation when auto-correcting. ([@drenmi][])
  • #4442: Prevent Style/WordArray from breaking on strings that aren't valid UTF-8. ([@pocke][])
  • #4441: Prevent Layout/SpaceAroundBlockParameters from breaking on lambda. ([@pocke][])


  • #4436: Display 'Running parallel inspection' only with --debug. ([@pocke][])

Dependencies for 0.49.1

Name Requirement Status
~> 1.10

< 3.0, >=

~> 0.1

< 3.0, >= 1.99.1

~> 1.7

>= 1.0.1, ~> 1.0

My projects using rubocop

Name Locked version Requirement
You should be logged in to see which of your projects use rubocop.