Class Licensee::Matchers::Gemspec
In: lib/licensee/matchers/gemspec_matcher.rb
Parent: Package

Constants

LICENSE_REGEX = / ^\s*[a-z0-9_]+\.license\s*\=\s*[\'\"]([a-z\-0-9\.]+)[\'\"]\s*$ /ix   We definitely don‘t want to be evaling arbitrary Gemspec files While not 100% accurate, use some lenient regex to try to grep the license declaration from the Gemspec as a string, if any

[Validate]