Sha256: 88e55f72e21a685a275d295db9427a71a67f3a8c0d26bccf817077b97b5c3e1b

Contents?: true

Size: 720 Bytes

Versions: 2

Compression:

Stored size: 720 Bytes

Contents

# frozen_string_literal: true

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.3.0 lib/validates_host.rb
validates_host-1.2.0 lib/validates_host.rb