Sha256: f2bfc722a408c12cd0d1bed81972c06ae366f4198f7a4a55c43d96ed211c9f2a
Contents?: true
Size: 1.05 KB
Versions: 4
Compression:
Stored size: 1.05 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 'oj' 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.15.1 | lib/spandx.rb |
spandx-0.15.0 | lib/spandx.rb |
spandx-0.14.0 | lib/spandx.rb |
spandx-0.13.5 | lib/spandx.rb |