Sha256: 4421e85203a9a4c8080532a2b7ae9b2e7832ae2cc41719b4e8ccac73d718b4f5
Contents?: true
Size: 1.04 KB
Versions: 4
Compression:
Stored size: 1.04 KB
Contents
# frozen_string_literal: true require 'addressable/uri' require 'bundler' require 'csv' require 'forwardable' require 'json' require 'logger' require 'net/hippie' require 'nokogiri' require 'parslet' require 'pathname' require 'yaml' require 'zeitwerk' require 'spandx/spandx' loader = Zeitwerk::Loader.for_gem loader.setup # ready! module Spandx class Error < StandardError; end Rubygems = Ruby class << self attr_writer :airgap, :logger, :http, :git def root Pathname.new(File.dirname(__FILE__)).join('../..') end def airgap? @airgap end def http @http ||= Spandx::Core::Http.new end def logger @logger ||= Logger.new('/dev/null') end def git @git ||= { cache: ::Spandx::Core::Git.new(url: 'https://github.com/spandx/cache.git'), rubygems: ::Spandx::Core::Git.new(url: 'https://github.com/spandx/rubygems-cache.git'), spdx: ::Spandx::Core::Git.new(url: 'https://github.com/spdx/license-list-data.git'), } end end end loader.eager_load
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
spandx-0.13.3 | lib/spandx.rb |
spandx-0.13.2 | lib/spandx.rb |
spandx-0.13.1 | lib/spandx.rb |
spandx-0.13.0 | lib/spandx.rb |