Class: Dependabot::FileParsers::Elm::ElmPackage
- Defined in:
- lib/dependabot/file_parsers/elm/elm_package.rb
Constant Summary collapse
- DEPENDENCY_TYPES =
%w(dependencies test-dependencies).freeze
Instance Attribute Summary
Attributes inherited from Base
#credentials, #dependency_files, #source
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Dependabot::FileParsers::Base
Instance Method Details
#parse ⇒ Object
16 17 18 19 20 21 22 23 |
# File 'lib/dependabot/file_parsers/elm/elm_package.rb', line 16 def parse dependency_set = DependencySet.new dependency_set += elm_package_dependencies if elm_package dependency_set += elm_json_dependencies if elm_json dependency_set.dependencies.sort_by(&:name) end |