Class: Dependabot::Composer::FileParser
- Inherits:
-
FileParsers::Base
- Object
- FileParsers::Base
- Dependabot::Composer::FileParser
- Defined in:
- lib/dependabot/composer/file_parser.rb
Constant Summary collapse
- DEPENDENCY_GROUP_KEYS =
[ { manifest: "require", lockfile: "packages", group: "runtime" }, { manifest: "require-dev", lockfile: "packages-dev", group: "development" } ].freeze
Instance Method Summary collapse
Instance Method Details
#parse ⇒ Object
29 30 31 32 33 34 |
# File 'lib/dependabot/composer/file_parser.rb', line 29 def parse dependency_set = DependencySet.new dependency_set += manifest_dependencies dependency_set += lockfile_dependencies dependency_set.dependencies end |