From d3cd8c73dce6f80216f57dbcbd4e26ea7bd31767 Mon Sep 17 00:00:00 2001 From: "E. Lynette Rayle" Date: Thu, 10 Jun 2021 16:06:39 -0400 Subject: [PATCH 1/2] only check for dogear if status is a Hash --- app/presenters/qa_server/check_status_presenter.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/presenters/qa_server/check_status_presenter.rb b/app/presenters/qa_server/check_status_presenter.rb index a5d2c8c..454d6dc 100644 --- a/app/presenters/qa_server/check_status_presenter.rb +++ b/app/presenters/qa_server/check_status_presenter.rb @@ -81,7 +81,7 @@ def comparison_status_data? # @return [String] the name of the css style class to use for the status cell based on the status of the scenario test. def status_style_class(status) - return "status-#{status}" if status.is_a? Symbol + return "status-#{status}" unless status.is_a? Hash status[:pending] ? "status-dogear status-#{status[:status]}" : "status-#{status[:status]}" end From 03111492f1c53d610c6c87491d8f9401ca47aac9 Mon Sep 17 00:00:00 2001 From: "E. Lynette Rayle" Date: Thu, 10 Jun 2021 16:07:32 -0400 Subject: [PATCH 2/2] release 7.9.2 --- CHANGELOG.md | 4 ++++ lib/qa_server/version.rb | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b016914..0d27ccd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +### 7.9.2 (2021-06-10) + +* fix: only check for dogear if status is a Hash + ### 7.9.1 (2021-06-10) * fix compare accuracy fails if either has pending tests diff --git a/lib/qa_server/version.rb b/lib/qa_server/version.rb index d893cff..abeb1bd 100644 --- a/lib/qa_server/version.rb +++ b/lib/qa_server/version.rb @@ -1,4 +1,4 @@ # frozen_string_literal: true module QaServer - VERSION = '7.9.1' + VERSION = '7.9.2' end