From c5f3d94f287ce736221021cb4d6bda7da7f91d69 Mon Sep 17 00:00:00 2001 From: Yoann Chaudet Date: Tue, 17 Sep 2024 14:23:02 -0700 Subject: [PATCH] Linter + version prep --- lib/github-pages-health-check/domain.rb | 1 + lib/github-pages-health-check/version.rb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/github-pages-health-check/domain.rb b/lib/github-pages-health-check/domain.rb index 15df2a4..cbdb6c3 100644 --- a/lib/github-pages-health-check/domain.rb +++ b/lib/github-pages-health-check/domain.rb @@ -247,6 +247,7 @@ def cname_to_github_user_domain? # e.g. CNAME -> Domain -> Pages def cname_to_domain_to_pages? return false unless dns? + a_record_to_pages = dns.select { |d| d.type == Dnsruby::Types::A && d.name.to_s == host }.first return false unless a_record_to_pages && cname? && !cname_to_pages_dot_github_dot_com? && @www_cname diff --git a/lib/github-pages-health-check/version.rb b/lib/github-pages-health-check/version.rb index a7c79a5..a2e6a2e 100644 --- a/lib/github-pages-health-check/version.rb +++ b/lib/github-pages-health-check/version.rb @@ -2,6 +2,6 @@ module GitHubPages module HealthCheck - VERSION = "1.18.4" + VERSION = "1.18.5" end end