Commit Graph

91 Commits

Author SHA1 Message Date
Javi Martín
ed4f8ad6d9 Simplify development environment setup
Rails provides a script that already did most of the steps.
2023-10-17 13:12:20 +02:00
Javi Martín
55ed40e182 Depend on a specific version of Node.js
We're choosing version 18 because if offers support for SSL 3, just
like Ruby 3.1 does.

Note we're symlinking a .nvmrc file as well, in order to make it
compatible with NVM. While the .nvmrc and .node-version files use
different formats, they both support the syntax we're using to
define the version.

The code to install Node.js in the Dockerfile is a simplification of the
code in the Rails Dockerfile template [1].

[1] https://github.com/rails/rails/blob/04c97aec8a/railties/lib/rails/generators/rails/app/templates/Dockerfile.tt#L25
2023-10-17 13:11:58 +02:00
Javi Martín
e74eff217b Upgrade Ruby to version 3.1.4
Note we updated the `mail` gem in commit 103742847, which is necesary
for Ruby 3.1 because it adds the net-smtp dependency. The net-smtp
library was removed from Ruby in Ruby 3.1, and if we don't include it,
we get an error:

```
cannot load such file -- net/smtp (LoadError)
```

We're also updating the Bundler version in the Gemfile.lock so it's the
one included in Ruby 3.1. Without updating it, we get a warning:

```
Calling `DidYouMean::SPELL_CHECKERS.merge!(error_name => spell_checker)'
has been deprecated. Please call `DidYouMean.correct_error(error_nam e,
spell_checker)' instead.
```

Finally, in order to make Capistrano work, we need to add a couple more
changes:

* Make the net-ssh gem compatible with SSL 3.0; done in commit b2eec088b
* Explicitly allow aliases in the `deploy-secrets.yml` file because
  Psych 4.x (included in Ruby 3.1) doesn't load aliases without this
  option
2023-09-12 15:17:17 +02:00
Javi Martín
054aef3854 Change URLs to use the new domain 2023-07-12 16:05:33 +02:00
Javi Martín
629756dd15 Change URLs referencing our GitHub repositories 2023-07-12 16:05:26 +02:00
Javi Martín
6c8445e3d7 Upgrade Ruby to version 3.0.6
Note the structure of the Gemfile changes slightly because Ruby 3.0
includes a new version of the Bundler gem.
2023-04-13 16:41:07 +02:00
Javi Martín
47a5840c70 Upgrade Ruby to version 2.7.7
So get the latest fixes in the 2.7.x series.

We're also updating the parser gem so we don't get any warnings.
2022-12-21 15:57:02 +01:00
cronopioelectronico
479ee80fba change name 2022-12-06 14:01:57 +00:00
Javi Martín
107c856aea Upgrade Ruby to version 2.7.6
So get the latest fixes in the 2.7.x series.

We're also updating the parser gem so we don't get any warnings.
2022-06-03 20:03:39 +02:00
Javi Martín
0f136d65f0 Update help wanted links to include pull requests
There are some pull requests where we also want help.
2021-11-23 17:57:58 +01:00
Javi Martín
f2330bee2b Upgrade Ruby to version 2.7.4
Note this version includes Bundler 2, so we can finally upgrade.
2021-09-03 12:12:38 +02:00
Javi Martín
9222ea0cf6 Upgrade Ruby to version 2.6.8
So get the latest security fixes in the 2.6.x series and we can update
the parser gem without getting any warnings.
2021-08-09 01:14:08 +02:00
Javi Martín
a2113ae003 Upgrade Ruby to version 2.6.7
So get the latest security fixes in the 2.6.x series.
2021-05-20 16:43:56 +02:00
Javi Martín
7378d2cd8d Update PostgreSQL dependency to version 9.5
Version 9.4 hasn't been maintained since February 2020, so we aren't
supporting it either. And we might start using `UPSERT` instead of
`find_or_create`, which was introduced in PostgreSQL 9.5.

We're still supporting PostgreSQL 9.5 even if it's also unmaintained
because it has only been officially unmaintained for a couple of months.
2021-04-21 19:08:21 +02:00
Javi Martín
683fff935a Add shared-mime-info dependency to README
This is a mimemagic dependency since commit 25c55bfd6.
2021-04-13 21:43:06 +02:00
Javi Martín
c6a90b266d Use Pronto to check code conventions
This way developers can run the checks on their machines and using
`bundle exec` we guarantee the right versions of all our gems are being
used; with Hound we can only use the versions supported by their
service.

When including the pronto-erb_lint gem, we're getting errors in
development where our ERB does not follow the conventions Better HTML
expects. Since we only use Better HTML because ERB Lint depends on it,
and right now we are not ready to follow its conventions, we're
disabling it.

Note pronto depends on rugged, which requires CMake and pkg-config to
build the `libgit2` library it depends on. CMake and pkg-config are
installed by default in some GNU/Linux distributions like Ubuntu, but
might not be installed on other systems, so we're adding them as
development dependencies.
2021-03-02 15:48:24 +01:00
Javi Martín
cb596a8163 Fix build status badge
As mentioned in the GitHub Actions documentation [1]

> Note: Referencing the workflow file using the file path does not work
  if the workflow has a name.

[1] https://docs.github.com/en/free-pro-team@latest/actions/managing-workflow-runs/adding-a-workflow-status-badge
2020-11-23 15:06:20 +01:00
Javi Martín
375134ea04 Run the test suite using GitHub Actions
Using GitHub Actions has a few advantages over using Travis CI:

* More jobs can be run in parallel
* All CONSUL repositories on GitHub will be configured automatically

Besides, Travis have recently changed their policy twice. First, they
announced their site for free software projects would be shut down but
free software projects could still use their site for private projects.
And then, they limited the usage of their services for free software
projects.

Just like we used to do with Travis, we're enabling builds for pull
requests but not for pushed branches.

We're also building the master branch. Even if we never push to the
master branch directly, we're aware other CONSUL repositories do, so
we're running the tests for this case.
2020-11-23 14:00:33 +01:00
Javi Martín
8e64d6c1a7 Upgrade Ruby to 2.6.6
Note this version includes the Bundler gem, and so we no longer need to
install it while deploying.
2020-10-29 11:29:45 +01:00
Javi Martín
8941a09e4c Update Travis badge to use travis-ci.com
The domain travis-ci.org will stop working on December 31st, 2020, so
we've now using travis-ci.com for continuous integration.
2020-09-27 12:10:31 +02:00
Javi Martín
4ba4289006 Upgrade Ruby to 2.5.8 2020-07-08 12:39:25 +02:00
Javi Martín
59b625a5f9 Simplify chromedriver installation with webdrivers
This gem will automatically install chromedriver based on the installed
version of Chrome/Chromium.
2020-05-25 15:50:35 +02:00
Javi Martín
9889ed23e7 Replace PRs welcome references with help wanted
As done in commit 7e3eb28c.
2019-11-06 17:21:42 +01:00
Javi Martín
823162ad39 Upgrade Ruby to 2.4.9
This is the latest Ruby in the 2.4.x series.
2019-10-21 21:39:24 +02:00
Javi Martín
a8331c956f Upgrade to Ruby 2.4.6
Many gems have dropped support for Ruby 2.3, including Rails 6.

We've already tested the upgrade on production environments; no issues
so far.
2019-10-13 00:31:13 +02:00
decabeza
e3555ae2bb Update docs link on readme 2019-04-02 10:45:36 +02:00
decabeza
e0d60fc7c7 Update readme file 2019-04-01 18:21:29 +02:00
Bertocq
7a84d3867a Remove gemnasium references, service just shut down
Gemnasium has closed, service stopped.
2018-05-15 14:52:52 +02:00
Angel Perez
4269627790 Include ChromeDriver as prerequisite 2018-03-27 14:47:50 -04:00
Angel Perez
92d7c44639 Add Node.js as requirement on README (spanish) 2018-03-25 21:46:40 -04:00
Bertocq
dea67bb078 Update README.md and translate to README_ES.md
* Links to documentation and project's website were outdated
* There where some linting issues reported from Markdownlinter
2018-01-09 14:52:57 +01:00
Bertocq
18a9564061 Remove brand guidelines from readme on to decide.es website 2017-09-13 19:48:06 +02:00
Bertocq
6a8afcd0c0 Add back basic installation/test/usage tips 2017-09-13 19:09:18 +02:00
Bertocq
392d633d24 Remove documentation already at consul/docs and reference to it on README files 2017-09-13 14:44:29 +02:00
decabeza
5949f7abf0 uppercase all consul name 2017-09-01 12:51:31 +02:00
decabeza
ab013bd48a adds brand guidelines 2017-09-01 12:46:06 +02:00
Bertocq
c1a18192c9 Remove ghostscript requisite, no longer in use 2017-08-29 11:46:16 +02:00
Bertocq
76ac788823 Improve Readme with PRs-welcome badge, plus PR guide link
Why:

* Try to make the repo more friendly for first time contributors and any contributor on general

How:

* Adding a PRs-welcom badget that links to the issues list filtered by PRs-welcome label
* Adding a Link to on the Contributing guide to a free course about Pull Request and Contributions on Github.
2017-06-29 18:32:26 +02:00
BertoCQ
e254d034b1 Merge pull request #1699 from consul/md-files
Modernize repo files
2017-06-26 17:46:55 +02:00
Juanjo Bazán
67f49a5f8e updates phantoms recommended version 2017-06-26 16:50:36 +02:00
decabeza
3ab9d8ce18 adds color contrast checker link on readme files 2017-06-26 15:44:32 +02:00
Raimond Garcia
f1e4e5f206 Merge pull request #1656 from consul/chore/add_markdownlinter
Add Markdown Linter gem and config file && Fixes
2017-06-19 10:46:31 +02:00
Raimond Garcia
3917f2d999 Merge pull request #1658 from consul/chore/add_coffeelint_config
Add CoffeeLint configuration file && Fixes
2017-06-19 10:45:41 +02:00
Bertocq
70feb10619 Add crowdin badge to Readme files that show % of localization in current languages 2017-06-18 00:54:46 +02:00
BertoCQ
5b6ef26336 Merge branch 'master' into chore/add_coffeelint_config 2017-06-16 18:28:31 +02:00
Bertocq
06525cb462 Add coffeelint install & usage instructions on readme files 2017-06-16 17:54:18 +02:00
decabeza
65fa120929 adds scss-lint to readme files 2017-06-16 12:22:21 +02:00
Bertocq
a1a2d3dc1f Fix MD031 Fenced code blocks should be surrounded by blank lines across multiple markdown files 2017-06-15 23:56:38 +02:00
Bertocq
889af958be Fix MD012 Multiple consecutive blank lines across multiple markdown files 2017-06-15 23:49:26 +02:00
divyanshumehta
52a382c150 Added link to Roadmap in documentation 2017-06-12 16:28:49 +05:30