lib/licensee.rb in licensee-5.0.0b1 vs lib/licensee.rb in licensee-5.0.0b2

- old
+ new

@@ -28,11 +28,11 @@ class << self attr_writer :confidence_threshold, :package_manager_files # Returns an array of Licensee::License instances - def licenses - @licenses ||= Licensee::License.all + def licenses(options={}) + Licensee::License.all(options) end # Returns the license for a given git repo def license(path) Licensee::Project.new(path).license