From c8a7c218a3b65b28b70a8d29bc8cff0c533dc55a Mon Sep 17 00:00:00 2001 From: lalopsb Date: Thu, 11 Mar 2021 13:03:59 -0300 Subject: [PATCH 1/2] Upgrade puma gem to 5.2.1 --- Gemfile | 2 +- Gemfile.lock | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Gemfile b/Gemfile index df2112ea..358ea187 100644 --- a/Gemfile +++ b/Gemfile @@ -6,7 +6,7 @@ ruby '~> 2.6.3' # Bundle edge Rails instead: gem 'rails', github: 'rails/rails' gem 'rails', '~> 6.0.2' # Use Puma as the app server -gem 'puma', '~> 4.3' +gem 'puma', '~> 5.2.1' # Use SCSS for stylesheets gem 'sass-rails', '>= 6' diff --git a/Gemfile.lock b/Gemfile.lock index 93cd02fc..ebaf7114 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -230,7 +230,7 @@ GEM pry (>= 0.10.4) psych (3.1.0) public_suffix (4.0.1) - puma (4.3.5) + puma (5.2.2) nio4r (~> 2.0) raabro (1.1.6) racc (1.5.2) @@ -461,7 +461,7 @@ DEPENDENCIES listen (>= 3.0.5, < 3.2) pg (~> 1.1) pry-rails (~> 0.3.9) - puma (~> 4.3) + puma (~> 5.2.1) rack-mini-profiler (~> 2.0) rails (~> 6.0.2) rails-controller-testing From aa2ba516e614742227a3203d1319772608c2325e Mon Sep 17 00:00:00 2001 From: lalopsb Date: Fri, 12 Mar 2021 10:10:41 -0300 Subject: [PATCH 2/2] Fix flaky tests on faker misshaped project name --- spec/services/github_client/pull_request_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/services/github_client/pull_request_spec.rb b/spec/services/github_client/pull_request_spec.rb index 138ee69f..59a3cc52 100644 --- a/spec/services/github_client/pull_request_spec.rb +++ b/spec/services/github_client/pull_request_spec.rb @@ -23,7 +23,7 @@ end describe '#files' do - let(:project) { create(:project) } + let(:project) { create(:project, name: 'MyProject') } let(:pull_request) { create(:pull_request, project: project) } let(:pull_request_file_payload) { create(:pull_request_file_payload) }