vendor/bundle/ruby/2.3.0/gems/github-pages-health-check-1.2.0/lib/github-pages-health-check/domain.rb
# Runs all checks, raises an error if invalid
Runs all checks, raises an error if invalid
Runs all checks raises an error if invalid
def check!
        raise Errors::InvalidDomainError.new(domain: self) unless valid_domain?
        raise Errors::InvalidDNSError.new(domain: self)    unless dns_resolves?
        raise Errors::DeprecatedIPError.new(domain: self)      if deprecated_ip?
        return true if proxied?
        raise Errors::InvalidARecordError.new(domain: self)    if invalid_a_record?
        raise Errors::InvalidCNAMEError.new(domain: self)      if invalid_cname?
        raise Errors::NotServedByPagesError.new(domain: self)  unless served_by_pages?
        true
      end
def check! raise Errors :: InvalidDomainError . new ( domain : self ) unless valid_domain? raise Errors :: InvalidDNSError . new ( domain : self ) unless dns_resolves? raise Errors :: DeprecatedIPError . new ( domain : self ) if deprecated_ip? return true if proxied? raise Errors :: InvalidARecordError . new ( domain : self ) if invalid_a_record? raise Errors :: InvalidCNAMEError . new ( domain : self ) if invalid_cname? raise Errors :: NotServedByPagesError . new ( domain : self ) unless served_by_pages? true end
Runs all checks, raises an error if invalid
Runs all checks raises an error if invalid