Sha256: fdd11ab1b65ccbe6dbe90c8e72ebcbf503109421e387e346e2e218a89e78fe0a

Contents?: true

Size: 699 Bytes

Versions: 2

Compression:

Stored size: 699 Bytes

Contents

# frozen_string_literal: true

require 'bundler'
require 'forwardable'
require 'json'
require 'licensee'
require 'net/hippie'
require 'nokogiri'
require 'pathname'

require 'spandx/catalogue'
require 'spandx/dependency'
require 'spandx/gateways/http'
require 'spandx/gateways/nuget'
require 'spandx/gateways/pypi'
require 'spandx/gateways/rubygems'
require 'spandx/gateways/spdx'
require 'spandx/license'
require 'spandx/parsers'
require 'spandx/report'
require 'spandx/version'

module Spandx
  class Error < StandardError; end

  class << self
    def root
      Pathname.new(File.dirname(__FILE__)).join('../..')
    end

    def http
      @http ||= Spandx::Gateways::Http.new
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spandx-0.1.5 lib/spandx.rb
spandx-0.1.4 lib/spandx.rb