lib/licensee.rb in licensee-5.0.0b4 vs lib/licensee.rb in licensee-5.0.0b5
- old
+ new
@@ -2,10 +2,11 @@
require 'yaml'
require 'rugged'
require 'levenshtein'
require_relative "licensee/version"
+require_relative "licensee/content_helper"
require_relative "licensee/license"
require_relative "licensee/project"
require_relative "licensee/project_file"
require_relative "licensee/filesystem_repository"
require_relative "licensee/matcher"
@@ -35,14 +36,9 @@
end
# Returns the license for a given git repo
def license(path)
Licensee::Project.new(path).license
- end
-
- # Diffs the project license and the known license
- def diff(path)
- Licensee::Project.new(path).license_file.diff
end
# Array of matchers to use, in order of preference
# The order should be decending order of anticipated speed to match
def matchers