lib/licensee/project_files/package_info.rb in licensee-8.8.5 vs lib/licensee/project_files/package_info.rb in licensee-8.9.0
- old
+ new
@@ -6,10 +6,10 @@
when '.gemspec'
[Matchers::Gemspec]
when '.json'
[Matchers::NpmBower]
else
- if filename == 'DESCRIPTION' && content.start_with?('Package:')
+ if filename == 'DESCRIPTION' && content.match(/^Package:/)
[Matchers::Cran]
elsif filename == 'dist.ini'
[Matchers::DistZilla]
else
[]