From 497c54208259de9d2dc6e49f971e38ce5ddac659 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Fri, 2 Aug 2024 13:14:44 +0200 Subject: [PATCH] Upgrade Ruby to version 3.2.5 So get the latest fixes in the 3.2.x series. We're also updating the parser gem so we don't get any warnings. --- .gitlab-ci.yml | 4 ++-- .ruby-version | 2 +- Dockerfile | 2 +- Gemfile.lock | 2 +- README.md | 2 +- README_ES.md | 2 +- docs/en/README.md | 2 +- docs/es/README.md | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fb2c014d1..efcb107e8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,7 +3,7 @@ stages: - lint tests: - image: "ruby:3.2.4" + image: "ruby:3.2.5" stage: test services: - postgres:10.10 @@ -35,7 +35,7 @@ tests: # PRONTO_GITLAB_API_PRIVATE_TOKEN to your repository CI/CD settings # giving it the value of the Personal Access Token linters: - image: "ruby:3.2.4" + image: "ruby:3.2.5" stage: lint cache: key: consul diff --git a/.ruby-version b/.ruby-version index 351227fca..5ae69bd5f 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -3.2.4 +3.2.5 diff --git a/Dockerfile b/Dockerfile index aa06fdce2..a32eefd64 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM ruby:3.2.4-bullseye +FROM ruby:3.2.5-bullseye ENV DEBIAN_FRONTEND noninteractive diff --git a/Gemfile.lock b/Gemfile.lock index 4edc80447..c2a544a08 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -415,7 +415,7 @@ GEM parallel (1.25.1) paranoia (2.6.3) activerecord (>= 5.1, < 7.2) - parser (3.3.3.0) + parser (3.3.4.2) ast (~> 2.4.1) racc pdf-reader (2.12.0) diff --git a/README.md b/README.md index 796e34d67..d50875ab4 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ You can access the main website of the project at [http://consuldemocracy.org](h **NOTE**: For more detailed instructions, check the [local installation docs](docs/en/installation/local_installation.md). -Prerequisites: install git, Ruby 3.2.4, CMake, pkg-config, Node.js 18.20.3, ImageMagick and PostgreSQL (>=9.5). +Prerequisites: install git, Ruby 3.2.5, CMake, pkg-config, Node.js 18.20.3, ImageMagick and PostgreSQL (>=9.5). **Note**: The `bin/setup` command below might fail if you've configured a username and password for PostgreSQL. If that's the case, edit the lines containing `username:` and `password:` (adding your credentials) in the `config/database.yml` file and run `bin/setup` again. diff --git a/README_ES.md b/README_ES.md index dc8b6e553..fddbce32f 100644 --- a/README_ES.md +++ b/README_ES.md @@ -34,7 +34,7 @@ Puedes acceder a la página principal del proyecto en [http://consuldemocracy.or **NOTA**: para unas instrucciones más detalladas, consulta la [documentación de instalación local](docs/es/installation/local_installation.md). -Prerrequisitos: tener instalado git, Ruby 3.2.4, CMake, pkg-config, Node.js 18.20.3, ImageMagick y PostgreSQL (9.5 o superior). +Prerrequisitos: tener instalado git, Ruby 3.2.5, CMake, pkg-config, Node.js 18.20.3, ImageMagick y PostgreSQL (9.5 o superior). **Nota**: Es posible que ejecutar `bin/setup`, como se indica a continuación, falle si has configurado un nombre de usuario y contraseña para PostgreSQL. Si es así, edita las líneas que contienen `username:` y `password:` (añadiendo tus credenciales) en el fichero `config/database.yml` y ejecuta `bin/setup` de nuevo. diff --git a/docs/en/README.md b/docs/en/README.md index d97675d15..92f575ca9 100644 --- a/docs/en/README.md +++ b/docs/en/README.md @@ -12,7 +12,7 @@ You can access the main website of the project at [http://consuldemocracy.org](h **NOTE**: For more detailed instructions, check the [local installation docs](installation/local_installation.md). -Prerequisites: install git, Ruby 3.2.4, CMake, pkg-config, Node.js 18.20.3, ImageMagick and PostgreSQL (>=9.5). +Prerequisites: install git, Ruby 3.2.5, CMake, pkg-config, Node.js 18.20.3, ImageMagick and PostgreSQL (>=9.5). **Note**: The `bin/setup` command below might fail if you've configured a username and password for PostgreSQL. If that's the case, edit the lines containing `username:` and `password:` (adding your credentials) in the `config/database.yml` file and run `bin/setup` again. diff --git a/docs/es/README.md b/docs/es/README.md index ce7151aaf..25b63cbd8 100644 --- a/docs/es/README.md +++ b/docs/es/README.md @@ -12,7 +12,7 @@ Puedes acceder a la página principal del proyecto en [http://consuldemocracy.or **NOTA**: para unas instrucciones más detalladas, consulta la [documentación de instalación local](installation/local_installation.md). -Prerrequisitos: tener instalado git, Ruby 3.2.4, CMake, pkg-config, Node.js 18.20.3, ImageMagick y PostgreSQL (9.5 o superior). +Prerrequisitos: tener instalado git, Ruby 3.2.5, CMake, pkg-config, Node.js 18.20.3, ImageMagick y PostgreSQL (9.5 o superior). **Nota**: Es posible que ejecutar `bin/setup`, como se indica a continuación, falle si has configurado un nombre de usuario y contraseña para PostgreSQL. Si es así, edita las líneas que contienen `username:` y `password:` (añadiendo tus credenciales) en el fichero `config/database.yml` y ejecuta `bin/setup` de nuevo.