Sha256: b29265b7856d8ef970d5ae2f6b1f205d462b93303480ebec1b62e35ea5a918b4
Contents?: true
Size: 565 Bytes
Versions: 6
Compression:
Stored size: 565 Bytes
Contents
require 'levenshtein-ffi' require 'yaml' require 'diffy' require_relative "licensee/license" require_relative "licensee/licenses" require_relative "licensee/license_file" require_relative "licensee/project" class Licensee CONFIDENCE_THRESHOLD = ".90".to_f def self.licenses Licensee::Licenses.list end def self.license(path) Licensee::Project.new(path).license end def self.matches(path) Licensee::Project.new(path).matches end def self.diff(path, options=nil) Licensee::Project.new(path).license_file.diff(options) end end
Version data entries
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
licensee-0.2.0 | lib/licensee.rb |
licensee-0.1.1 | lib/licensee.rb |
licensee-0.1.0 | lib/licensee.rb |
licensee-0.0.3 | lib/licensee.rb |
licensee-0.0.2 | lib/licensee.rb |
licensee-0.0.1 | lib/licensee.rb |