summaryrefslogtreecommitdiff
path: root/lib/license/management.rb
blob: 64fd4e85d9c269a3f8bd895916a9d14717fcab0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# frozen_string_literal: true

require 'pathname'
require 'yaml'
require 'license_finder'
require 'license/management/loggable'
require 'license/management/verifiable'
require 'license/management/repository'
require 'license/management/report'
require 'license/management/version'

# This applies a monkey patch to the JsonReport found in the `license_finder` gem.
LicenseFinder::JsonReport.prepend(License::Management::Report)

module License
  module Management
    def self.root
      Pathname.new(File.dirname(__FILE__)).join('../..')
    end
  end
end