Page MenuHomeDevCentral

Style: better compliance with community Ruby coding style guide
ClosedPublic

Authored by dereckson on Jul 10 2016, 21:27.
Tags
None
Referenced Files
F6902493: D478.id1168.diff
Wed, Apr 16, 20:37
Unknown Object (File)
Fri, Apr 11, 07:00
Unknown Object (File)
Thu, Apr 10, 06:39
Unknown Object (File)
Sun, Mar 30, 19:11
Unknown Object (File)
Sat, Mar 29, 15:45
Unknown Object (File)
Sat, Mar 29, 11:42
Unknown Object (File)
Fri, Mar 28, 23:36
Unknown Object (File)
Fri, Mar 28, 15:35
Subscribers
None

Details

Summary

The following points, detected by Rubocop, are improved:

  • if !somethingunless something
  • Ruby 1.9 hash syntax is used
  • is_quality?quality?
  • removed extraneous self
Test Plan

Run dashboard, ensure all cards are still available.

Diff Detail

Repository
rTOMMY Tommy
Lint
Lint Warnings
SeverityLocationCodeMessage
Warningtommy.rb:32Metrics/LineLengthRuboCop
Warningtommy.rb:33Metrics/LineLengthRuboCop
Warningtommy.rb:35Metrics/LineLengthRuboCop
Warningtommy.rb:36Metrics/LineLengthRuboCop
Unit
No Test Coverage
Branch
style (branched from master)
Build Status
Buildable 678
Build 798: arc lint + arc unit

Event Timeline

dereckson retitled this revision from to Style: better compliance with community Ruby coding style guide.
dereckson updated this object.
dereckson edited the test plan for this revision. (Show Details)
dereckson added a reviewer: dereckson.
dereckson edited edge metadata.
This revision is now accepted and ready to land.Jul 10 2016, 21:28
This revision was automatically updated to reflect the committed changes.