lib/licensee/matchers/dist_zilla.rb in licensee-9.14.0 vs lib/licensee/matchers/dist_zilla.rb in licensee-9.14.1
- old
+ new
@@ -3,10 +3,10 @@
module Licensee
module Matchers
class DistZilla < Licensee::Matchers::Package
attr_reader :file
- LICENSE_REGEX = /^license\s*=\s*([a-z\-0-9\._]+)/i.freeze
+ LICENSE_REGEX = /^license\s*=\s*([a-z\-0-9._]+)/i.freeze
private
def license_property
match = file.content.match LICENSE_REGEX