github-pages-health-check 1.7.2 → 1.7.3

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
  SHA1:
3
- metadata.gz: c989190d5dbc4a62740c5ba6a4d56362d268c7d5
4
- data.tar.gz: 0b55a858dea8dacd95648bf4d34adc5e774f42b0
3
+ metadata.gz: fb41e9f55a6bba28f9fa077b54b9a52bae3bf5f4
4
+ data.tar.gz: bb1148932d9a479162202e5fec212307469b2f0a
5
5
  SHA512:
6
- metadata.gz: 8ba2480b91cd9c2d7094d19e4b331753d2fd147af48dd0a10b6080641a72f54c30f7d3a373bc6b0ff67aabc4b28d171252caba23ecb15961d9af42a5048e4ede
7
- data.tar.gz: af09d81d4004946aeb56dd49226b389eb80689239715471d0354832906734a2ff24d67fa15cac503e8d121177c86343569a3b55cf0985edec1ac88ae37a59e5d
6
+ metadata.gz: adbf9c16daa505c35b2bd8caf45689f1c28dded8524a65d65d5b9af9e380bc0ca60a49ae3c29559c5695dcdbdec2a4c209829e03680927753c65de94d506179f
7
+ data.tar.gz: ec9b09bca3faf4027edb5aa8a66a8bd4e05a4180ec6d536f5079f47f1ae8a9bdf9db0c385c9f9fed1ab61f11040eb27ecdd5fec2b728715191b5892bc0423265
@@ -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
- before_install: bundle update
6
- install:
7
- - sudo bash -c 'echo search github.com >> /etc/resolv.conf'
12
+
13
+ notifications:
14
+ email: false
15
+
8
16
  cache: bundler
9
- rvm: 2.4.2
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.match?(/\.$/) # add trailing period if not there
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?(REPO_REGEX)
15
+ unless name_with_owner.match(REPO_REGEX)
16
16
  raise Errors::InvalidRepositoryError
17
17
  end
18
18
  parts = name_with_owner.split("/")
@@ -2,6 +2,6 @@
2
2
 
3
3
  module GitHubPages
4
4
  module HealthCheck
5
- VERSION = "1.7.2".freeze
5
+ VERSION = "1.7.3".freeze
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: github-pages-health-check
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.2
4
+ version: 1.7.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - GitHub, Inc.