lib/licensee/matchers/package_matcher.rb in licensee-6.1.1 vs lib/licensee/matchers/package_matcher.rb in licensee-7.0.0
- old
+ new
@@ -1,13 +1,13 @@
-class Licensee
+module Licensee
module Matchers
class Package
def initialize(file)
@file = file
end
def match
- Licensee.licenses(:hidden => true).find { |l| l.key == license_property }
+ Licensee.licenses(hidden: true).find { |l| l.key == license_property }
end
def confidence
90
end