← Back to changelog

Support for Ruby 2.0 Syntax

We’ve recently implemented a series of infrastructure changes that streamline our ability to upgrade internal analysis tools. What does this mean for you? More new features on a regular basis!

First up on this list: across-the-board support for Ruby 2.0-specific syntax. For example, we now support 2.0 features like optional keyword arguments and using %i and %I as symbol array literals.

A few things to note:

  • For Ruby-based repositories, you may see new classes/modules show up in our analysis. This would occur if we were previously unable to analyze a file due to 2.0-specific syntax. As a result of new files being analyzed, your overall GPA may change.
  • We don’t yet support Ruby 2.1-specific syntax (like required keyword arguments). We hope to add support for this soon.
  • If you took part in our beta Ruby 2.0 upgrade, you won’t see any changes. We’ll continue to parse your 2.0 (and lower) syntax as we have been.

All repositories have been upgraded. If you have any questions or feedback, we’d love to hear it.

Actionable metrics for engineering leaders. Try Velocity Free