Skip to content

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

Bump rails to 7.0.3

Oliver Güntherb783b775f73a
diff --git a/Gemfile b/Gemfile
index b2506d78a5f..01f5b0932e0 100644
--- a/Gemfile
+++ b/Gemfile
@@ -34,7 +34,7 @@ gem 'actionpack-xml_parser', '~> 2.0.0'
gem 'activemodel-serializers-xml', '~> 1.0.1'
gem 'activerecord-import', '~> 1.4.0'
gem 'activerecord-session_store', '~> 2.0.0'
-gem 'rails', '~> 6.1.5', '>= 6.1.5.1'
+gem 'rails', '~> 7.0.3'
gem 'responders', '~> 3.0'
gem 'ffi', '~> 1.15'
@@ -62,12 +62,6 @@ gem 'typed_dag', '~> 2.0.2'
gem 'addressable', '~> 2.8.0'
-# Needed to make rails 6.x work with ruby 3.1, can be dropped
-# after migrated to rails 7 (see https://stackoverflow.com/a/70500221)
-gem 'net-smtp', '~> 0.3.1', require: false
-gem 'net-pop', '~> 0.1.1', require: false
-gem 'net-imap', '~> 0.2.3', require: false
-
# Remove whitespace from model input
gem "auto_strip_attributes", "~> 2.5"
diff --git a/Gemfile.lock b/Gemfile.lock
index e679efdb178..fb22d832480 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -188,59 +188,66 @@ GEM
remote: https://rubygems.org/
specs:
Ascii85 (1.1.0)
- actioncable (6.1.6)
- actionpack (= 6.1.6)
- activesupport (= 6.1.6)
+ actioncable (7.0.3)
+ actionpack (= 7.0.3)
+ activesupport (= 7.0.3)
nio4r (~> 2.0)
websocket-driver (>= 0.6.1)
- actionmailbox (6.1.6)
- actionpack (= 6.1.6)
- activejob (= 6.1.6)
- activerecord (= 6.1.6)
- activestorage (= 6.1.6)
- activesupport (= 6.1.6)
+ actionmailbox (7.0.3)
+ actionpack (= 7.0.3)
+ activejob (= 7.0.3)
+ activerecord (= 7.0.3)
+ activestorage (= 7.0.3)
+ activesupport (= 7.0.3)
mail (>= 2.7.1)
- actionmailer (6.1.6)
- actionpack (= 6.1.6)
- actionview (= 6.1.6)
- activejob (= 6.1.6)
- activesupport (= 6.1.6)
+ net-imap
+ net-pop
+ net-smtp
+ actionmailer (7.0.3)
+ actionpack (= 7.0.3)
+ actionview (= 7.0.3)
+ activejob (= 7.0.3)
+ activesupport (= 7.0.3)
mail (~> 2.5, >= 2.5.4)
+ net-imap
+ net-pop
+ net-smtp
rails-dom-testing (~> 2.0)
- actionpack (6.1.6)
- actionview (= 6.1.6)
- activesupport (= 6.1.6)
- rack (~> 2.0, >= 2.0.9)
+ actionpack (7.0.3)
+ actionview (= 7.0.3)
+ activesupport (= 7.0.3)
+ rack (~> 2.0, >= 2.2.0)
rack-test (>= 0.6.3)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.2.0)
actionpack-xml_parser (2.0.1)
actionpack (>= 5.0)
railties (>= 5.0)
- actiontext (6.1.6)
- actionpack (= 6.1.6)
- activerecord (= 6.1.6)
- activestorage (= 6.1.6)
- activesupport (= 6.1.6)
+ actiontext (7.0.3)
+ actionpack (= 7.0.3)
+ activerecord (= 7.0.3)
+ activestorage (= 7.0.3)
+ activesupport (= 7.0.3)
+ globalid (>= 0.6.0)
nokogiri (>= 1.8.5)
- actionview (6.1.6)
- activesupport (= 6.1.6)
+ actionview (7.0.3)
+ activesupport (= 7.0.3)
builder (~> 3.1)
erubi (~> 1.4)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.1, >= 1.2.0)
- activejob (6.1.6)
- activesupport (= 6.1.6)
+ activejob (7.0.3)
+ activesupport (= 7.0.3)
globalid (>= 0.3.6)
- activemodel (6.1.6)
- activesupport (= 6.1.6)
+ activemodel (7.0.3)
+ activesupport (= 7.0.3)
activemodel-serializers-xml (1.0.2)
activemodel (> 5.x)
activesupport (> 5.x)
builder (~> 3.1)
- activerecord (6.1.6)
- activemodel (= 6.1.6)
- activesupport (= 6.1.6)
+ activerecord (7.0.3)
+ activemodel (= 7.0.3)
+ activesupport (= 7.0.3)
activerecord-import (1.4.0)
activerecord (>= 4.2)
activerecord-nulldb-adapter (0.8.0)
@@ -251,19 +258,18 @@ GEM
multi_json (~> 1.11, >= 1.11.2)
rack (>= 2.0.8, < 3)
railties (>= 5.2.4.1)
- activestorage (6.1.6)
- actionpack (= 6.1.6)
- activejob (= 6.1.6)
- activerecord (= 6.1.6)
- activesupport (= 6.1.6)
+ activestorage (7.0.3)
+ actionpack (= 7.0.3)
+ activejob (= 7.0.3)
+ activerecord (= 7.0.3)
+ activesupport (= 7.0.3)
marcel (~> 1.0)
mini_mime (>= 1.1.0)
- activesupport (6.1.6)
+ activesupport (7.0.3)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 1.6, < 2)
minitest (>= 5.1)
tzinfo (~> 2.0)
- zeitwerk (~> 2.3)
acts_as_list (1.0.4)
activerecord (>= 4.2)
acts_as_tree (2.9.1)
@@ -755,21 +761,20 @@ GEM
rack_session_access (0.2.0)
builder (>= 2.0.0)
rack (>= 1.0.0)
- rails (6.1.6)
- actioncable (= 6.1.6)
- actionmailbox (= 6.1.6)
- actionmailer (= 6.1.6)
- actionpack (= 6.1.6)
- actiontext (= 6.1.6)
- actionview (= 6.1.6)
- activejob (= 6.1.6)
- activemodel (= 6.1.6)
- activerecord (= 6.1.6)
- activestorage (= 6.1.6)
- activesupport (= 6.1.6)
+ rails (7.0.3)
+ actioncable (= 7.0.3)
+ actionmailbox (= 7.0.3)
+ actionmailer (= 7.0.3)
+ actionpack (= 7.0.3)
+ actiontext (= 7.0.3)
+ actionview (= 7.0.3)
+ activejob (= 7.0.3)
+ activemodel (= 7.0.3)
+ activerecord (= 7.0.3)
+ activestorage (= 7.0.3)
+ activesupport (= 7.0.3)
bundler (>= 1.15.0)
- railties (= 6.1.6)
- sprockets-rails (>= 2.0.0)
+ railties (= 7.0.3)
rails-controller-testing (1.0.5)
actionpack (>= 5.0.1.rc1)
actionview (>= 5.0.1.rc1)
@@ -782,12 +787,13 @@ GEM
rails-i18n (7.0.3)
i18n (>= 0.7, < 2)
railties (>= 6.0.0, < 8)
- railties (6.1.6)
- actionpack (= 6.1.6)
- activesupport (= 6.1.6)
+ railties (7.0.3)
+ actionpack (= 7.0.3)
+ activesupport (= 7.0.3)
method_source
rake (>= 12.2)
thor (~> 1.0)
+ zeitwerk (~> 2.5)
rainbow (3.1.1)
rake (13.0.6)
rb-fsevent (0.11.1)
@@ -1066,10 +1072,7 @@ DEPENDENCIES
mini_magick (~> 4.11.0)
multi_json (~> 1.15.0)
my_page!
- net-imap (~> 0.2.3)
net-ldap (~> 0.17.0)
- net-pop (~> 0.1.1)
- net-smtp (~> 0.3.1)
nokogiri (~> 1.13.4)
oj (~> 3.13.0)
okcomputer (~> 1.18.1)
@@ -1120,7 +1123,7 @@ DEPENDENCIES
rack-test (~> 1.1.0)
rack-timeout (~> 0.6.0)
rack_session_access
- rails (~> 6.1.5, >= 6.1.5.1)
+ rails (~> 7.0.3)
rails-controller-testing (~> 1.0.2)
rails-i18n (~> 7.0.0)
rdoc (>= 2.4.2)