Sha256: aa568d1a2e785e0b664c784579124e7ae08886eecfc980dbfda5d96f9ecf6623

Contents?: true

Size: 688 Bytes

Versions: 2

Compression:

Stored size: 688 Bytes

Contents

require 'active_support/core_ext/array/wrap'
require 'validates_host/host_name_validator'
require 'validates_host/domain_name_validator'
require 'validates_host/ip_validator'
require 'validates_host/subnet_validator'

if defined?(::Shoulda)
  require 'validates_host/require_a_valid_domain_name_matcher'
  require 'validates_host/require_a_valid_host_name_matcher'
  require 'validates_host/require_a_valid_ip_matcher'
  require 'validates_host/require_a_valid_subnet_matcher'
end

module ValidatesHost
  autoload :Subnet, 'validates_host/subnet'
  autoload :Ip, 'validates_host/ip'
  autoload :HostName, 'validates_host/host_name'
  autoload :DomainName, 'validates_host/domain_name'
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
validates_host-1.1.0 lib/validates_host.rb
validates_host-1.0.0 lib/validates_host.rb