Sha256: afb43f4f64aec502eadf868974b71c442ab7bf4d4d02981e2d9cda178bc96a97
Contents?: true
Size: 460 Bytes
Versions: 24
Compression:
Stored size: 460 Bytes
Contents
# frozen_string_literal: true module OhlohScm module Bzr class Validation < OhlohScm::Validation private def validate_server_connection msg = "The server did not respond to the 'bzr revno' command. Is the URL correct?" @errors << [:failed, msg] unless status.exist? end def public_url_regex %r{^(((http|https|bzr)://(\w+@)?[\w\-\.]+(:\d+)?/)|(lp:[\w\-\.\~]))[\w\-\./\~\+]*$} end end end end
Version data entries
24 entries across 24 versions & 1 rubygems