Class: Dependabot::Bundler::FileParser

Inherits:
FileParsers::Base
  • Object
show all
Defined in:
lib/dependabot/bundler/file_parser.rb,
lib/dependabot/bundler/file_parser/file_preparer.rb,
lib/dependabot/bundler/file_parser/gemfile_declaration_finder.rb

Defined Under Namespace

Classes: FilePreparer, GemfileDeclarationFinder

Instance Method Summary collapse

Instance Method Details

#parseObject


20
21
22
23
24
25
26
27
28
# File 'lib/dependabot/bundler/file_parser.rb', line 20

def parse
  dependency_set = DependencySet.new
  dependency_set += gemfile_dependencies
  dependency_set += gemspec_dependencies
  dependency_set += lockfile_dependencies
  check_external_code(dependency_set.dependencies)
  instrument_package_manager_version
  dependency_set.dependencies
end