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
F3788143: D478.diff
Tue, Nov 26, 21:27
F3783019: D478.id1169.diff
Tue, Nov 26, 01:44
F3783017: D478.id1168.diff
Tue, Nov 26, 01:44
F3782364: D478.id.diff
Tue, Nov 26, 00:15
F3781926: D478.diff
Mon, Nov 25, 22:26
Unknown Object (File)
Tue, Nov 19, 13:50
Unknown Object (File)
Fri, Nov 15, 15:14
Unknown Object (File)
Thu, Nov 14, 17:23
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 Not Applicable
Unit
Tests Not Applicable

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.