From 77188bace30ac41174dfbdb2f4754f8da39303d2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 26 Jul 2022 12:16:38 -0400 Subject: [PATCH] Bump rails from 5.2.8 to 5.2.8.1 (#11274) * Bump rails from 5.2.8 to 5.2.8.1 Bumps [rails](https://github.com/rails/rails) from 5.2.8 to 5.2.8.1. - [Release notes](https://github.com/rails/rails/releases) - [Commits](https://github.com/rails/rails/compare/v5.2.8...v5.2.8.1) --- updated-dependencies: - dependency-name: rails dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * config.active_record.yaml_column_permitted_classes = [OAuth::AccessToken] * added OAuth::Consumer to yaml_column_permitted_classes * Update config/environments/test.rb * Update config/environments/test.rb * Update config/environments/test.rb * Update config/environments/test.rb * Update config/environments/test.rb * Update config/environments/test.rb * Update config/environments/test.rb * Update config/environments/test.rb * Update config/environments/test.rb * Full set of permitted classes in environments/test.rb * explanatory comment Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jeffrey Warren --- Gemfile | 2 +- Gemfile.lock | 76 ++++++++++++++++++------------------- config/environments/test.rb | 15 ++++++++ 3 files changed, 54 insertions(+), 39 deletions(-) diff --git a/Gemfile b/Gemfile index 83c5fb2681..52e8a9636d 100644 --- a/Gemfile +++ b/Gemfile @@ -43,7 +43,7 @@ gem "php-serialize", :require => "php_serialize" gem 'rack-cors', :require => 'rack/cors' gem "rack-openid" gem "rack-test", "2.0.2" -gem 'rails', '5.2.8' +gem 'rails', '5.2.8.1' gem 'rails-controller-testing' gem 'rails-dom-testing' gem 'rails-i18n', '~> 5.1.3' diff --git a/Gemfile.lock b/Gemfile.lock index e049a7d394..0f4aef2159 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -3,37 +3,37 @@ GEM specs: action-cable-testing (0.6.1) actioncable (>= 5.0) - actioncable (5.2.8) - actionpack (= 5.2.8) + actioncable (5.2.8.1) + actionpack (= 5.2.8.1) nio4r (~> 2.0) websocket-driver (>= 0.6.1) - actionmailer (5.2.8) - actionpack (= 5.2.8) - actionview (= 5.2.8) - activejob (= 5.2.8) + actionmailer (5.2.8.1) + actionpack (= 5.2.8.1) + actionview (= 5.2.8.1) + activejob (= 5.2.8.1) mail (~> 2.5, >= 2.5.4) rails-dom-testing (~> 2.0) - actionpack (5.2.8) - actionview (= 5.2.8) - activesupport (= 5.2.8) + actionpack (5.2.8.1) + actionview (= 5.2.8.1) + activesupport (= 5.2.8.1) rack (~> 2.0, >= 2.0.8) rack-test (>= 0.6.3) rails-dom-testing (~> 2.0) rails-html-sanitizer (~> 1.0, >= 1.0.2) - actionview (5.2.8) - activesupport (= 5.2.8) + actionview (5.2.8.1) + activesupport (= 5.2.8.1) builder (~> 3.1) erubi (~> 1.4) rails-dom-testing (~> 2.0) rails-html-sanitizer (~> 1.0, >= 1.0.3) - activejob (5.2.8) - activesupport (= 5.2.8) + activejob (5.2.8.1) + activesupport (= 5.2.8.1) globalid (>= 0.3.6) - activemodel (5.2.8) - activesupport (= 5.2.8) - activerecord (5.2.8) - activemodel (= 5.2.8) - activesupport (= 5.2.8) + activemodel (5.2.8.1) + activesupport (= 5.2.8.1) + activerecord (5.2.8.1) + activemodel (= 5.2.8.1) + activesupport (= 5.2.8.1) arel (>= 9.0) activerecord-session_store (2.0.0) actionpack (>= 5.2.4.1) @@ -41,11 +41,11 @@ GEM multi_json (~> 1.11, >= 1.11.2) rack (>= 2.0.8, < 3) railties (>= 5.2.4.1) - activestorage (5.2.8) - actionpack (= 5.2.8) - activerecord (= 5.2.8) + activestorage (5.2.8.1) + actionpack (= 5.2.8.1) + activerecord (= 5.2.8.1) marcel (~> 1.0.0) - activesupport (5.2.8) + activesupport (5.2.8.1) concurrent-ruby (~> 1.0, >= 1.0.2) i18n (>= 0.7, < 2) minitest (~> 5.1) @@ -440,18 +440,18 @@ GEM rack rack-test (2.0.2) rack (>= 1.3) - rails (5.2.8) - actioncable (= 5.2.8) - actionmailer (= 5.2.8) - actionpack (= 5.2.8) - actionview (= 5.2.8) - activejob (= 5.2.8) - activemodel (= 5.2.8) - activerecord (= 5.2.8) - activestorage (= 5.2.8) - activesupport (= 5.2.8) + rails (5.2.8.1) + actioncable (= 5.2.8.1) + actionmailer (= 5.2.8.1) + actionpack (= 5.2.8.1) + actionview (= 5.2.8.1) + activejob (= 5.2.8.1) + activemodel (= 5.2.8.1) + activerecord (= 5.2.8.1) + activestorage (= 5.2.8.1) + activesupport (= 5.2.8.1) bundler (>= 1.3.0) - railties (= 5.2.8) + railties (= 5.2.8.1) sprockets-rails (>= 2.0.0) rails-controller-testing (1.0.5) actionpack (>= 5.0.1.rc1) @@ -468,9 +468,9 @@ GEM rails-perftest (0.0.7) rails_autolink (1.1.6) rails (> 3.1) - railties (5.2.8) - actionpack (= 5.2.8) - activesupport (= 5.2.8) + railties (5.2.8.1) + actionpack (= 5.2.8.1) + activesupport (= 5.2.8.1) method_source rake (>= 0.8.7) thor (>= 0.19.0, < 2.0) @@ -614,7 +614,7 @@ GEM tilt (~> 2.0) skylight (5.3.3) activesupport (>= 5.2.0) - sprockets (4.0.3) + sprockets (4.1.1) concurrent-ruby (~> 1.0) rack (> 1, < 3) sprockets-rails (3.4.2) @@ -755,7 +755,7 @@ DEPENDENCIES rack-cors rack-openid rack-test (= 2.0.2) - rails (= 5.2.8) + rails (= 5.2.8.1) rails-controller-testing rails-dom-testing rails-i18n (~> 5.1.3) diff --git a/config/environments/test.rb b/config/environments/test.rb index 233b5a4729..08d859acdd 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -44,6 +44,21 @@ config.active_job.queue_adapter = :inline + # These are required to load classes into YAML, eg /test/fixtures/user_tags.yml#L129 + config.active_record.yaml_column_permitted_classes = [ + OAuth::AccessToken, + OAuth::Consumer, + Symbol, + Net::HTTP, + OpenSSL::SSL::SSLContext, + OpenSSL::SSL::Session, + URI::HTTPS, + URI::RFC3986_Parser, + Regexp, + Net::HTTPOK, + ActiveSupport::HashWithIndifferentAccess + ] + OmniAuth.config.test_mode = true #OAuth hash for different providers for testing purpose #Google Provider