Skip to content

Commit 02c245c

Browse files
Merge pull request #161 from DiputacioBarcelona/upgrade_0.30
Upgrade 0.30
2 parents 755b483 + 4236c79 commit 02c245c

722 files changed

Lines changed: 5371 additions & 2270 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci_age_action_authorization.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ on:
99
pull_request:
1010

1111
env:
12-
RUBY_VERSION: 3.2.6
12+
RUBY_VERSION: 3.3.4
1313

1414
jobs:
1515
test-report:
1616
runs-on: ubuntu-latest
1717

1818
services:
1919
postgres:
20-
image: postgres:11
20+
image: postgres:14
2121
ports: ["5432:5432"]
2222
options: >-
2323
--health-cmd pg_isready

.github/workflows/ci_app.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
pull_request:
1010

1111
env:
12-
RUBY_VERSION: 3.2.6
12+
RUBY_VERSION: 3.3.4
1313
NODE_VERSION: 18.17.1
1414

1515
jobs:
@@ -18,7 +18,7 @@ jobs:
1818

1919
services:
2020
postgres:
21-
image: postgres:11
21+
image: postgres:14
2222
ports: ["5432:5432"]
2323
options: >-
2424
--health-cmd pg_isready

.github/workflows/ci_census.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ on:
99
pull_request:
1010

1111
env:
12-
RUBY_VERSION: 3.2.6
12+
RUBY_VERSION: 3.3.4
1313

1414
jobs:
1515
test-report:
1616
runs-on: ubuntu-latest
1717

1818
services:
1919
postgres:
20-
image: postgres:11
20+
image: postgres:14
2121
ports: ["5432:5432"]
2222
options: >-
2323
--health-cmd pg_isready

.github/workflows/ci_diba_census_api.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ on:
99
pull_request:
1010

1111
env:
12-
RUBY_VERSION: 3.2.6
12+
RUBY_VERSION: 3.3.4
1313

1414
jobs:
1515
test-report:
1616
runs-on: ubuntu-latest
1717

1818
services:
1919
postgres:
20-
image: postgres:11
20+
image: postgres:14
2121
ports: ["5432:5432"]
2222
options: >-
2323
--health-cmd pg_isready

.github/workflows/ci_ldap.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ on:
99
pull_request:
1010

1111
env:
12-
RUBY_VERSION: 3.2.6
12+
RUBY_VERSION: 3.3.4
1313

1414
jobs:
1515
test-report:
1616
runs-on: ubuntu-latest
1717

1818
services:
1919
postgres:
20-
image: postgres:11
20+
image: postgres:14
2121
ports: ["5432:5432"]
2222
options: >-
2323
--health-cmd pg_isready

.github/workflows/linters.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
pull_request:
1010

1111
env:
12-
RUBY_VERSION: 3.2.6
12+
RUBY_VERSION: 3.3.4
1313

1414
jobs:
1515
lint:

.ruby-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ruby-3.2.6
1+
ruby-3.3.4

Dockerfile.production

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM phusion/passenger-full:2.1.0
1+
FROM phusion/passenger-full:3.1.6
22
MAINTAINER Populate "fernando@populate.tools"
33

44
ENV HOME /home/app/decidim-diba
@@ -17,12 +17,11 @@ RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
1717
RUN apt install -y ca-certificates
1818
RUN apt-get --allow-releaseinfo-change update
1919
RUN apt-get update
20+
RUN apt-get install -y clang build-essential
2021
RUN apt-get install -y imagemagick gettext-base tzdata
2122
RUN apt-get install -y p7zip
2223
RUN apt-get install -y xfonts-base
2324
RUN apt-get install -y xfonts-75dpi
24-
RUN curl "https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.bionic_amd64.deb" -L -o "wkhtmltox_0.12.6-1.bionic_amd64.deb"
25-
RUN dpkg -i wkhtmltox_0.12.6-1.bionic_amd64.deb
2625

2726
RUN apt-get install -y --no-install-recommends libjemalloc2
2827
ENV LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libjemalloc.so.2
@@ -67,11 +66,17 @@ RUN rm /etc/nginx/sites-enabled/default
6766
RUN mkdir -p $HOME
6867
WORKDIR $HOME
6968

70-
RUN bash -lc 'rvm install ruby-3.2.6'
71-
RUN bash -lc 'rvm --default use ruby-3.2.6'
69+
RUN bash -lc 'rvm install ruby-3.3.4'
70+
RUN bash -lc 'rvm --default use ruby-3.3.4'
7271

7372
# Install bundle of gems
74-
RUN gem install bundler:2.5.6
73+
RUN gem update --system \
74+
&& gem install bundler:4.0.7 \
75+
&& gem uninstall bundler --version 2.5.11 --force --ignore-dependencies \
76+
&& gem install strscan:3.1.2 \
77+
&& gem uninstall strscan --version 3.0.9 --force --ignore-dependencies \
78+
&& gem install stringio:3.2.0 \
79+
&& gem uninstall stringio --version 3.1.1 --force --ignore-dependencies
7580
RUN gem install rake:13.2.1
7681
ADD Gemfile Gemfile
7782
ADD Gemfile.lock Gemfile.lock

Gemfile

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,23 @@ source "https://rubygems.org"
44

55
ruby RUBY_VERSION
66

7-
DECIDIM_VERSION = { git: "https://github.com/PopulateTools/decidim.git", branch: "tiptap-image-links_0.29" }.freeze
7+
DECIDIM_VERSION = { git: "https://github.com/PopulateTools/decidim.git", branch: "tiptap-image-links_0.30" }.freeze
88

99
gem "decidim", DECIDIM_VERSION
1010
gem "decidim-age_action_authorization", path: "decidim-age_action_authorization"
1111
gem "decidim-census", path: "decidim-census"
1212
# gem "decidim-consultations", DECIDIM_VERSION
13-
gem "decidim-decidim_awesome", git: "https://github.com/PopulateTools/decidim-module-decidim_awesome.git", branch: "autoblock_with_attachments_029"
13+
gem "decidim-decidim_awesome", git: "https://github.com/PopulateTools/decidim-module-decidim_awesome.git", branch: "autoblock_with_attachments_030"
1414
gem "decidim-diba_census_api", path: "decidim-diba_census_api"
1515
gem "decidim-initiatives", DECIDIM_VERSION
1616
gem "decidim-ldap", path: "decidim-ldap"
1717
gem "decidim-templates", DECIDIM_VERSION
1818

19-
gem "decidim-homepage_proposals", git: "https://github.com/PopulateTools/decidim-module_homepage_proposals.git", branch: "release/0.29-stable"
20-
gem "decidim-term_customizer", git: "https://github.com/PopulateTools/decidim-module-term_customizer", branch: "upgrade_0.29"
19+
gem "decidim-homepage_proposals", git: "https://github.com/PopulateTools/decidim-module_homepage_proposals.git", branch: "release/0.30-stable"
20+
gem "decidim-term_customizer", git: "https://github.com/Platoniq/decidim-module-term_customizer", branch: "main"
21+
22+
gem "decidim-removable_authorizations", git: "https://github.com/PopulateTools/decidim-module-removable_authorizations.git", branch: "release/0.30-stable"
2123

22-
gem "decidim-removable_authorizations", git: "https://github.com/PopulateTools/decidim-module-removable_authorizations.git", branch: "main"
2324
# Compatibility with decidim initiatives module
2425
gem "bootsnap"
2526
gem "deface"
@@ -31,9 +32,9 @@ gem "uglifier", ">= 1.3.0"
3132
gem "wicked_pdf"
3233

3334
# Forced by production environment
34-
gem "base64", "0.1.1"
35-
gem "stringio", "3.0.1"
36-
gem "strscan", "3.0.1"
35+
gem "base64", "0.2.0"
36+
gem "stringio", "3.2.0"
37+
gem "strscan", "3.1.2"
3738

3839
group :development, :test do
3940
gem "byebug", platform: :mri

0 commit comments

Comments
 (0)