From 0e8b4ef0372c8b4f2bafa5b1c3f6b1fe70e1c06e Mon Sep 17 00:00:00 2001 From: Martha Thompson <437455+MothOnMars@users.noreply.github.com> Date: Tue, 25 May 2021 14:22:35 -0400 Subject: [PATCH] SRCH-2261 upgrade nokogiri to 1.11.5 (#730) - bump Puma --- Gemfile | 2 +- Gemfile.lock | 9 +++++---- spec/models/affiliate_spec.rb | 28 ++++++++++++++++++++-------- 3 files changed, 26 insertions(+), 13 deletions(-) diff --git a/Gemfile b/Gemfile index 95901a3079..ea3bccb4f7 100644 --- a/Gemfile +++ b/Gemfile @@ -149,7 +149,7 @@ group :development, :test do gem 'faker', '~> 1.8' gem 'pry-rails', '~> 0.3.6' gem 'awesome_print' - gem 'puma', '~> 3.12' + gem 'puma', '~> 5.3' end group :test do diff --git a/Gemfile.lock b/Gemfile.lock index 1915dce295..9ed9b65ae4 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -194,7 +194,7 @@ GEM bcrypt (3.1.16) bcrypt-ruby (3.1.5) bcrypt (>= 3.1.3) - bindata (2.4.9) + bindata (2.4.10) buftok (0.2.0) builder (3.2.4) byebug (11.1.3) @@ -496,7 +496,7 @@ GEM net-http-persistent (2.9.4) newrelic_rpm (5.0.0.342) nio4r (2.5.7) - nokogiri (1.11.3) + nokogiri (1.11.5) mini_portile2 (~> 2.5.0) racc (~> 1.4) omniauth (1.4.3) @@ -529,7 +529,8 @@ GEM pry-rails (0.3.9) pry (>= 0.10.4) public_suffix (3.1.1) - puma (3.12.6) + puma (5.3.1) + nio4r (~> 2.0) raabro (1.4.0) racc (1.5.2) rack (2.2.3) @@ -880,7 +881,7 @@ DEPENDENCIES poltergeist (~> 1.18.1) pry-byebug (~> 3.5) pry-rails (~> 0.3.6) - puma (~> 3.12) + puma (~> 5.3) rack-contrib (~> 2.1.0) rack-cors (~> 1.1.0) rails (~> 5.2.0) diff --git a/spec/models/affiliate_spec.rb b/spec/models/affiliate_spec.rb index c515621fcf..f99256516e 100644 --- a/spec/models/affiliate_spec.rb +++ b/spec/models/affiliate_spec.rb @@ -520,10 +520,16 @@ name: 'external-tracking-site'}) }.to_not raise_error end - it 'should not allow malformed external tracking code' do - expect { described_class.create!({ display_name: 'a site', - footer_fragment: '