Commit Graph

13 Commits

Author SHA1 Message Date
Javi Martín
054aef3854 Change URLs to use the new domain 2023-07-12 16:05:33 +02:00
Javi Martín
56e42f209d Fix API examples
We were getting many errors when trying to run them, from uninitialized
constant `HTTP` to undefined method `headers`.

We might move these examples to the documentation repository in the
future, but we need to look for possible side-effects first.
2023-03-01 17:25:21 +01:00
Javi Martín
8b7a9d147a Use the demo URL in API examples 2023-03-01 17:25:21 +01:00
Javi Martín
ae8975def4 Remove API documentation
It's already present in the consul/docs repository.

We're keeping the examples folder for now because it isn't in the
consul/docs repository yet.
2023-03-01 17:25:21 +01:00
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