Module Licensee
In: lib/licensee.rb
lib/licensee/content_helper.rb
lib/licensee/rule.rb
lib/licensee/projects/git_project.rb
lib/licensee/projects/fs_project.rb
lib/licensee/project_file.rb
lib/licensee/project.rb
lib/licensee/license.rb
lib/licensee/version.rb
lib/licensee/matchers/gemspec_matcher.rb
lib/licensee/matchers/exact_matcher.rb
lib/licensee/matchers/cran_matcher.rb
lib/licensee/matchers/copyright_matcher.rb
lib/licensee/matchers/package_matcher.rb
lib/licensee/matchers/dice_matcher.rb
lib/licensee/matchers/npm_bower_matcher.rb
lib/licensee/project_files/readme.rb
lib/licensee/project_files/license_file.rb
lib/licensee/project_files/package_info.rb

encoding=utf-8

Methods

Classes and Modules

Module Licensee::ContentHelper
Module Licensee::Matchers
Class Licensee::FSProject
Class Licensee::GitProject
Class Licensee::InvalidLicense
Class Licensee::License
Class Licensee::Project
Class Licensee::Rule

Constants

CONFIDENCE_THRESHOLD = 95   Over which percent is a match considered a match by default
DOMAIN = 'http://choosealicense.com'.freeze   Base domain from which to build license URLs
VERSION = '8.7.0'.freeze

Attributes

confidence_threshold  [W] 

Public Class methods

Inverse of the confidence threshold, represented as a float By default this will be 0.1

Returns the license for a given path

Returns an array of Licensee::License instances

[Validate]