lib/spandx.rb in spandx-0.10.1 vs lib/spandx.rb in spandx-0.11.0
- old
+ new
@@ -8,31 +8,33 @@
require 'logger'
require 'net/hippie'
require 'nokogiri'
require 'pathname'
+require 'spandx/core/cache'
require 'spandx/core/content'
require 'spandx/core/database'
require 'spandx/core/dependency'
require 'spandx/core/guess'
+require 'spandx/core/http'
require 'spandx/core/parser'
require 'spandx/core/report'
require 'spandx/core/score'
require 'spandx/dotnet/index'
require 'spandx/dotnet/nuget_gateway'
require 'spandx/dotnet/package_reference'
require 'spandx/dotnet/parsers/csproj'
require 'spandx/dotnet/parsers/packages_config'
require 'spandx/dotnet/parsers/sln'
require 'spandx/dotnet/project_file'
-require 'spandx/gateways/http'
-require 'spandx/gateways/pypi'
+require 'spandx/java/index'
require 'spandx/java/metadata'
require 'spandx/java/parsers/maven'
-require 'spandx/parsers/pipfile_lock'
+require 'spandx/python/parsers/pipfile_lock'
+require 'spandx/python/pypi'
+require 'spandx/python/source'
require 'spandx/rubygems/gateway'
-require 'spandx/rubygems/offline_index'
require 'spandx/rubygems/parsers/gemfile_lock'
require 'spandx/spdx/catalogue'
require 'spandx/spdx/gateway'
require 'spandx/spdx/license'
require 'spandx/version'
@@ -50,10 +52,10 @@
def airgap?
@airgap
end
def http
- @http ||= Spandx::Gateways::Http.new
+ @http ||= Spandx::Core::Http.new
end
def logger
@logger ||= Logger.new('/dev/null')
end