Sha256: f98cfaecd8fb43df462b78195d6bf767431783dc2ea3bde5211f13800028eaa9
Contents?: true
Size: 878 Bytes
Versions: 2
Compression:
Stored size: 878 Bytes
Contents
# frozen_string_literal: true require 'bundler' require 'forwardable' require 'json' require 'net/hippie' require 'nokogiri' require 'pathname' require 'spandx/catalogue' require 'spandx/content' require 'spandx/database' 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/guess' 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 def db @db ||= Spandx::Database.new(url: 'https://github.com/spdx/license-list-data.git').tap(&:update!) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
spandx-0.1.7 | lib/spandx.rb |
spandx-0.1.6 | lib/spandx.rb |