Class: Dependabot::Bundler::FileParser
- Inherits:
-
FileParsers::Base
- Object
- FileParsers::Base
- Dependabot::Bundler::FileParser
show all
- Extended by:
- T::Sig
- 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,
lib/dependabot/bundler/file_parser/gemspec_declaration_finder.rb
Defined Under Namespace
Classes: FilePreparer, GemfileDeclarationFinder, GemspecDeclarationFinder
Instance Method Summary
collapse
Instance Method Details
#package_manager ⇒ Object
36
37
38
|
# File 'lib/dependabot/bundler/file_parser.rb', line 36
def package_manager
PackageManager.new(bundler_version)
end
|
#parse ⇒ Object
26
27
28
29
30
31
32
33
|
# File 'lib/dependabot/bundler/file_parser.rb', line 26
def parse
dependency_set = DependencySet.new
dependency_set += gemfile_dependencies
dependency_set += gemspec_dependencies
dependency_set += lockfile_dependencies
check_external_code(dependency_set.dependencies)
dependency_set.dependencies
end
|