github-pages-health-check 1.18.0 → 1.18.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4f74ea156f562095369eeeb9563d5b6eb97c83d511d7d8514d65020f23fc9d62
4
- data.tar.gz: 2bcc302f901b883e8072da97bb5ba60746301403be1f881416fd01bce33ccbc2
3
+ metadata.gz: 4c192823fd967f8d554b5eaa42b7e3eeac0a59a0456859f0617e1e5c44b9073c
4
+ data.tar.gz: 69f956e87a2bc17ea4a64ef3aa01f29215bd0fe8c9cccacd32275a16bd6be4bd
5
5
  SHA512:
6
- metadata.gz: 94689f476ee4833e682d4cf32ff59698673641b6e218bc106cd0d23c5703bd3f1e66d8550286d7c7e6bb7f47c5b94bc037e2ac4df91b33c5dcd58da6c17e5706
7
- data.tar.gz: 36abc15449e5e6b71f1da35140df12310ecb0f9faac587aabfa90636eca9fa2778e1a657792afebe39c68bd7ba172058aaae0c8402d33409d7c1043da1fb2818
6
+ metadata.gz: '0489d4d0a0d3df987f2cd47d414afca1933ccc2391b9d323ce17c8d8f3d0fe140244cca097689e913b5d6f5e7d7e7462628fed3c2f3d4eb2419340c87f0f3c76'
7
+ data.tar.gz: cb3f76bc01a5e55bdbab02072f749480787af86ee37e609c218fb38552835f2ce4e8292c0fb6b54e0eed4196969d0fdbe64f2c861aa005bb01df3870256cf110
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.7.1
1
+ 3.1.2
@@ -449,8 +449,11 @@ module GitHubPages
449
449
  def https_eligible?
450
450
  # Can't have any IP's which aren't GitHub's present.
451
451
  return false if non_github_pages_ip_present?
452
- # Must be a CNAME or point to our IPs.
453
452
 
453
+ # Can't have underscores in the domain name (Let's Encrypt does not allow it)
454
+ return false if host.include?("_")
455
+
456
+ # Must be a CNAME or point to our IPs.
454
457
  # Only check the one domain if a CNAME. Don't check the parent domain.
455
458
  return true if cname_to_github_user_domain?
456
459
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module GitHubPages
4
4
  module HealthCheck
5
- VERSION = "1.18.0"
5
+ VERSION = "1.18.1"
6
6
  end
7
7
  end
data/script/release CHANGED
@@ -31,10 +31,10 @@ tag=v`ls github-pages-health-check-*.gem | sed 's/^github-pages-health-check-\(.
31
31
 
32
32
  git fetch -t origin
33
33
 
34
- # (git tag -l | grep -q "$tag") && {
35
- # echo "Whoops, there's already a '${tag}' tag."
36
- # exit 1
37
- # }
34
+ (git tag -l | grep -q "$tag") && {
35
+ echo "Whoops, there's already a '${tag}' tag."
36
+ exit 1
37
+ }
38
38
 
39
39
  # Tag it and bag it.
40
40
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: github-pages-health-check
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.18.0
4
+ version: 1.18.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - GitHub, Inc.
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-06-08 00:00:00.000000000 Z
11
+ date: 2022-10-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable
@@ -145,7 +145,7 @@ homepage: https://github.com/github/github-pages-health-check
145
145
  licenses:
146
146
  - MIT
147
147
  metadata: {}
148
- post_install_message:
148
+ post_install_message:
149
149
  rdoc_options: []
150
150
  require_paths:
151
151
  - lib
@@ -160,8 +160,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
160
160
  - !ruby/object:Gem::Version
161
161
  version: '0'
162
162
  requirements: []
163
- rubygems_version: 3.1.2
164
- signing_key:
163
+ rubygems_version: 3.3.7
164
+ signing_key:
165
165
  specification_version: 4
166
166
  summary: Checks your GitHub Pages site for commons DNS configuration issues
167
167
  test_files: []