github-pages-health-check 1.7.2 → 1.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fb41e9f55a6bba28f9fa077b54b9a52bae3bf5f4
|
4
|
+
data.tar.gz: bb1148932d9a479162202e5fec212307469b2f0a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: adbf9c16daa505c35b2bd8caf45689f1c28dded8524a65d65d5b9af9e380bc0ca60a49ae3c29559c5695dcdbdec2a4c209829e03680927753c65de94d506179f
|
7
|
+
data.tar.gz: ec9b09bca3faf4027edb5aa8a66a8bd4e05a4180ec6d536f5079f47f1ae8a9bdf9db0c385c9f9fed1ab61f11040eb27ecdd5fec2b728715191b5892bc0423265
|
data/.travis.yml
CHANGED
@@ -1,9 +1,17 @@
|
|
1
|
-
dist: trusty
|
2
|
-
sudo: required
|
3
1
|
language: ruby
|
2
|
+
rvm:
|
3
|
+
- 2.2
|
4
|
+
- 2.3
|
5
|
+
- 2.4
|
6
|
+
- 2.5
|
7
|
+
|
8
|
+
before_install:
|
9
|
+
- gem install bundler
|
10
|
+
|
4
11
|
script: "script/cibuild"
|
5
|
-
|
6
|
-
|
7
|
-
|
12
|
+
|
13
|
+
notifications:
|
14
|
+
email: false
|
15
|
+
|
8
16
|
cache: bundler
|
9
|
-
|
17
|
+
sudo: false
|
@@ -30,7 +30,7 @@ module GitHubPages
|
|
30
30
|
# Error message, with get more info URL appended
|
31
31
|
def message_with_url
|
32
32
|
msg = message.gsub(/\s+/, " ").squeeze(" ").strip
|
33
|
-
msg << "." unless msg.
|
33
|
+
msg << "." unless msg.end_with?(".") # add trailing period if not there
|
34
34
|
"#{msg} #{more_info}"
|
35
35
|
end
|
36
36
|
alias message_formatted message_with_url
|
@@ -12,7 +12,7 @@ module GitHubPages
|
|
12
12
|
].freeze
|
13
13
|
|
14
14
|
def initialize(name_with_owner, access_token: nil)
|
15
|
-
unless name_with_owner.match
|
15
|
+
unless name_with_owner.match(REPO_REGEX)
|
16
16
|
raise Errors::InvalidRepositoryError
|
17
17
|
end
|
18
18
|
parts = name_with_owner.split("/")
|