method

validate

v1_9_3_392 - Show latest stable - Class: Gem::Specification
validate(packaging = true)
public

Checks that the specification contains all required fields, and does a very basic sanity check.

Raises InvalidSpecificationException if the spec does not pass the checks..