Commit Graph

9 Commits

Author SHA1 Message Date
Javi Martín
193316bac6 Apply spaces inside code span elements mdl rule 2020-08-11 12:13:23 +02:00
Javi Martín
e48c748e97 Apply mdl blank lines rules 2020-08-11 12:13:23 +02:00
Javi Martín
db97f9d08c Add and apply rubocop rules for empty lines
We were very inconsistent regarding these rules.

Personally I prefer no empty lines around blocks, clases, etc... as
recommended by the Ruby style guide [1], and they're the default values
in rubocop, so those are the settings I'm applying.

The exception is the `private` access modifier, since we were leaving
empty lines around it most of the time. That's the default rubocop rule
as well. Personally I don't have a strong preference about this one.


[1] https://rubystyle.guide/#empty-lines-around-bodies
2019-10-24 17:11:47 +02:00
Javi Martín
ad14636255 Use Tag instead of ActsAsTaggableOn::Tag
It's shorter, it's easier to extend its behaviour, and it's easier to
integrate with other parts of our application, like translations.
2019-10-05 03:38:44 +02:00
Julian Herrero
6d281affa5 Use double quotes 2019-03-15 10:29:07 +01:00
decabeza
5949f7abf0 uppercase all consul name 2017-09-01 12:51:31 +02:00
Bertocq
7d406cae76 Rubocop autocorrections 2017-07-25 13:01:03 +02:00
Alberto Miedes Garcés
858d9692ed Translate API docs to english 2017-07-23 12:26:01 +02:00
Alberto Miedes Garcés
3142d15eb6 API docs and sample Ruby scripts 2017-07-22 18:44:45 +02:00