Sha256: f83628652c99f67563acfb5b7f699897c464cbdaf1050969790e4d2a7a371802

Contents?: true

Size: 529 Bytes

Versions: 1

Compression:

Stored size: 529 Bytes

Contents

# frozen_string_literal: true

require 'forwardable'
require 'json'
require 'net/hippie'

require 'spandx/catalogue'
require 'spandx/gateways/http'
require 'spandx/gateways/pypi'
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

1 entries across 1 versions & 1 rubygems

Version Path
spandx-0.1.2 lib/spandx.rb