OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Maintenance: ruby patch level update to 2.7.2 (#8951)
Markus Kahl1c8aaf031f39
diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.ymlindex 548195018b3..9589629cb4f 100644--- a/.github/workflows/docker.yml+++ b/.github/workflows/docker.yml@@ -12,6 +12,8 @@ jobs:# restrict this job to base repo for nowif: github.repository == 'opf/openproject'runs-on: ubuntu-latest+ env:+ INPUT_BUILDOPTIONS: --pullsteps:- uses: actions/checkout@master- name: Prepare docker filesdiff --git a/.ruby-version b/.ruby-versionindex 860487ca19c..37c2961c243 100644--- a/.ruby-version+++ b/.ruby-version@@ -1 +1 @@-2.7.1+2.7.2diff --git a/.travis.yml b/.travis.ymlindex 9c5450b24fd..640b3be621c 100644--- a/.travis.yml+++ b/.travis.yml@@ -29,7 +29,7 @@language: rubyrvm:- - 2.7.1+ - 2.7.2sudo: requireddist: xenialdiff --git a/Gemfile b/Gemfileindex c71a816429d..4da6b15c17c 100644--- a/Gemfile+++ b/Gemfile@@ -28,7 +28,7 @@source 'https://rubygems.org'-ruby '~> 2.7.1'+ruby '~> 2.7.2'gem 'actionpack-xml_parser', '~> 2.0.0'gem 'activemodel-serializers-xml', '~> 1.0.1'diff --git a/Gemfile.lock b/Gemfile.lockindex 06c68660dda..6b49a3af292 100644--- a/Gemfile.lock+++ b/Gemfile.lock@@ -1081,7 +1081,7 @@ DEPENDENCIESwith_advisory_lock (~> 4.6.0)RUBY VERSION- ruby 2.7.1p83+ ruby 2.7.2p137BUNDLED WITH2.1.4diff --git a/app/models/work_package/exporter/csv.rb b/app/models/work_package/exporter/csv.rbindex 7656b4611fa..262d779e57a 100644--- a/app/models/work_package/exporter/csv.rb+++ b/app/models/work_package/exporter/csv.rb@@ -118,7 +118,7 @@ class WorkPackage::Exporter::CSV < WorkPackage::Exporter::Basewhen Timeformat_time(value)when nil- # ruby 2.7.1 will return a frozen string for nil.to_s which will cause an error when e.g. trying to+ # ruby >=2.7.1 will return a frozen string for nil.to_s which will cause an error when e.g. trying to# force an encoding''elsediff --git a/docker/dev/backend/Dockerfile b/docker/dev/backend/Dockerfileindex 6da9945ee6e..0061587acb4 100644--- a/docker/dev/backend/Dockerfile+++ b/docker/dev/backend/Dockerfile@@ -1,4 +1,4 @@-FROM ruby:2.7.1-buster as develop+FROM ruby:2.7.2-buster as developMAINTAINER [email protected]ARG DEV_UID=1000diff --git a/docker/prod/Dockerfile b/docker/prod/Dockerfileindex 6d3d85e2c0f..c4386336672 100644--- a/docker/prod/Dockerfile+++ b/docker/prod/Dockerfile@@ -1,4 +1,4 @@-FROM ruby:2.7.1-buster+FROM ruby:2.7.2-busterMAINTAINER [email protected]# Allow platform-specific additions. Valid values are: on-prem,saas,bahndiff --git a/docs/development/development-environment-osx/README.md b/docs/development/development-environment-osx/README.mdindex ba0dc50615d..9a7a4a6d418 100644--- a/docs/development/development-environment-osx/README.md+++ b/docs/development/development-environment-osx/README.md@@ -32,20 +32,20 @@ $ rbenv init**Installing ruby-2.7**With both installed, we can now install the actual ruby version 2.7. You can check available ruby versions with `rbenv install --list`.-At the time of this writing, the latest stable version is `2.7.1`, which we also require.+At the time of this writing, the latest stable version is `2.7.2`, which we also require.We suggest you install the version we require in the [Gemfile](https://github.com/opf/openproject/blob/dev/Gemfile). Search for the `ruby '~> X.Y.Z'` lineand install that version.```bash# Install the required version as read from the Gemfile-rbenv install 2.7.1+rbenv install 2.7.2```This might take a while depending on whether ruby is built from source. After it is complete, you need to tell rbenv to globally activate this version```bash-rbenv global 2.7.1+rbenv global 2.7.2```You also need to install [bundler](https://github.com/bundler/bundler/), the ruby gem bundler.@@ -110,7 +110,7 @@ You should now have an active ruby and node installation. Verify that it works w```bash$ ruby --version-ruby 2.7.1p83 (2020-03-31 revision a0c7c23c9c) [x86_64-darwin16]+ruby 2.7.2p137 (2020-03-31 revision a0c7c23c9c) [x86_64-darwin16]$ bundler --versionBundler version 2.0.2diff --git a/docs/development/development-environment-ubuntu/README.md b/docs/development/development-environment-ubuntu/README.mdindex e19fc761897..e804c9f2e60 100644--- a/docs/development/development-environment-ubuntu/README.md+++ b/docs/development/development-environment-ubuntu/README.md@@ -54,20 +54,20 @@ git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build**Installing ruby-2.7**With both installed, we can now install the actual ruby version 2.7. You can check available ruby versions with `rbenv install --list`.-At the time of this writing, the latest stable version is `2.7.1`, which we also require.+At the time of this writing, the latest stable version is `2.7.2`, which we also require.We suggest you install the version we require in the [Gemfile](https://github.com/opf/openproject/blob/dev/Gemfile). Search for the `ruby '~> X.Y.Z'` lineand install that version.```bash# Install the required version as read from the Gemfile-rbenv install 2.7.1+rbenv install 2.7.2```This might take a while depending on whether ruby is built from source. After it is complete, you need to tell rbenv to globally activate this version```bash-rbenv global 2.7.1+rbenv global 2.7.2rbenv rehash```@@ -149,7 +149,7 @@ You should now have an active ruby and node installation. Verify that it works w```bashruby --version-ruby 2.7.1p83 (2020-03-31 revision a0c7c23c9c) [x86_64-linux]+ruby 2.7.2p137 (2020-10-01 revision 5445e04352) [x86_64-linux]bundler --versionBundler version 2.0.2diff --git a/docs/installation-and-operations/installation/manual/README.md b/docs/installation-and-operations/installation/manual/README.mdindex 5cd78d8d025..9b07dbce570 100644--- a/docs/installation-and-operations/installation/manual/README.md+++ b/docs/installation-and-operations/installation/manual/README.md@@ -106,16 +106,16 @@ time to finish.[openproject@host] source ~/.profile[openproject@host] git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build-[openproject@host] rbenv install 2.7.1+[openproject@host] rbenv install 2.7.2[openproject@host] rbenv rehash-[openproject@host] rbenv global 2.7.1+[openproject@host] rbenv global 2.7.2```To check our Ruby installation we run `ruby --version`. It should outputsomething very similar to:```-ruby 2.7.1pXYZ (....) [x86_64-linux]+ruby 2.7.2pXYZ (....) [x86_64-linux]```## Installation of Node