lib/rubygems/specification_policy.rb
##
# Does a sanity check on the specification.
#
# Raises InvalidSpecificationException if the spec does not pass the
# checks.
#
# Only runs checks that are considered necessary for the specification to be
# functional.
Does a sanity check on the specification.
Raises InvalidSpecificationException if the spec does not pass the
checks.

Only runs checks that are considered necessary for the specification to be
functional.
Does a sanity check on the specification . Raises InvalidSpecificationException if the spec does not pass the checks . Only runs checks that are considered necessary for the specification to be functional .
def validate_required!
    validate_nil_attributes
    validate_rubygems_version
    validate_required_attributes
    validate_name
    validate_require_paths
    @specification.keep_only_files_and_directories
    validate_non_files
    validate_self_inclusion_in_files_list
    validate_specification_version
    validate_platform
    validate_array_attributes
    validate_authors_field
    validate_metadata
    validate_licenses_length
    validate_lazy_metadata
    validate_duplicate_dependencies
  end
def validate_required! validate_nil_attributes validate_rubygems_version validate_required_attributes validate_name validate_require_paths @specification . keep_only_files_and_directories validate_non_files validate_self_inclusion_in_files_list validate_specification_version validate_platform validate_array_attributes validate_authors_field validate_metadata validate_licenses_length validate_lazy_metadata validate_duplicate_dependencies end
Does a sanity check on the specification.
Does a sanity check on the specification .