Method: Gem::SpecificationPolicy#validate_optional
- Defined in:
- lib/rubygems/specification_policy.rb
#validate_optional(strict) ⇒ Object
100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 |
# File 'lib/rubygems/specification_policy.rb', line 100 def validate_optional(strict) validate_licenses validate_values validate_dependencies validate_required_ruby_version validate_extensions validate_removed_attributes validate_unique_links if @warnings > 0 if strict error "specification has warnings" else alert_warning help_text end end end |