varvet / pundit

Minimal authorization through OO design and pure Ruby classes
MIT License
8.29k stars 632 forks source link

Make generators comply with Rubocop #612

Closed dgmstuart closed 5 years ago

dgmstuart commented 5 years ago

There doesn't seem to be any particular reason to exclude these. It's at least nice to have consistent use of quotes within the same file.

This does run the risk of imposing our specific rubocop rules on other people's code (double vs single quotes is the cause of holy wars), but if anything obviously awful comes up, we can exclude generators from that specific rule.