From b56b1e171d5eb0d7769778ccc0c2f2b95f503f57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Lafage?= Date: Thu, 12 Dec 2024 12:35:12 +0100 Subject: [PATCH] Upgrade to rails 8.0 (#217) * Upgrade to rails 8.0 * Upgrade capistrano * Upgrade direct gems dependencies * Fix test result * Bummp 1.31.2 * Upgrade @rails/actiontext 8 * Format with rubocop * Use configuration defaults of rails 8.0 --- CHANGELOG | 5 + Gemfile | 6 +- Gemfile.lock | 235 +++++++++--------- VERSION | 2 +- .../api/v1/sensitivity_analyses_controller.rb | 18 +- .../api/v1/variables_controller.rb | 2 - .../whats_opt/hsic_sensitivity_analyser.rb | 15 +- app/lib/whats_opt/openmdao_variable.rb | 2 +- app/models/analysis.rb | 14 +- app/models/discipline.rb | 2 +- bin/dev | 2 + bin/setup | 16 +- bin/thrust | 5 + config/application.rb | 6 +- config/environments/development.rb | 33 +-- config/environments/production.rb | 57 ++--- config/environments/staging.rb | 66 ++--- config/environments/test.rb | 24 +- .../application_controller_renderer.rb | 1 + config/initializers/assets.rb | 11 +- config/initializers/backtrace_silencers.rb | 1 + config/initializers/cors.rb | 4 +- .../initializers/filter_parameter_logging.rb | 2 +- config/initializers/mime_types.rb | 1 + .../new_framework_defaults_7_2.rb | 70 ------ .../new_framework_defaults_8_0.rb | 30 +++ config/puma.rb | 14 +- package.json | 2 +- public/400.html | 114 +++++++++ public/404.html | 179 ++++++++----- public/406-unsupported-browser.html | 178 ++++++++----- public/422.html | 179 ++++++++----- public/500.html | 178 ++++++++----- public/icon.png | Bin 5599 -> 4166 bytes public/icon.svg | 4 +- .../sensitivity_analyses_controller_test.rb | 14 +- .../api/v1/variables_controller_test.rb | 1 - test/lib/whats_opt/analysis_diff_test.rb | 2 +- .../hsic_sensitivity_analyser_test.rb | 14 +- test/lib/whats_opt/openmdao_generator_test.rb | 6 +- test/lib/whats_opt/surrogate_proxy_test.rb | 4 +- test/models/analysis_test.rb | 10 +- test/test_helper.rb | 4 +- yarn.lock | 19 +- 44 files changed, 876 insertions(+), 676 deletions(-) create mode 100755 bin/dev create mode 100755 bin/thrust delete mode 100644 config/initializers/new_framework_defaults_7_2.rb create mode 100644 config/initializers/new_framework_defaults_8_0.rb create mode 100644 public/400.html diff --git a/CHANGELOG b/CHANGELOG index 9727fdae..35193d7e 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,10 @@

CHANGELOG

+

1.31.2 (12/12/2024)

+ +

1.31.1 (15/10/2024)