Sha256: 99e7be612971ebe79d90b1fb2881808c79745fdc5277deff930ec32ed2b29ced
Contents?: true
Size: 652 Bytes
Versions: 60
Compression:
Stored size: 652 Bytes
Contents
module Gemfury module Const class << self def host 'www.gemfury.com' #'localhost:3000' end def welcome "Welcome to Gemfury!\nPlease complete the following information" end def email_error "Invalid email address. Please try again." end def email_regex return @email_regex if @email_regex email_name_regex = '[A-Z0-9_\.%\+\-\']+' domain_head_regex = '(?:[A-Z0-9\-]+\.)+' domain_tld_regex = '(?:[A-Z]{2,4}|museum|travel)' @email_regex = /^#{email_name_regex}@#{domain_head_regex}#{domain_tld_regex}$/i end end end end
Version data entries
60 entries across 60 versions & 1 rubygems