Class: Dependabot::Elm::FileParser
- Inherits:
-
FileParsers::Base
- Object
- FileParsers::Base
- Dependabot::Elm::FileParser
- Defined in:
- lib/dependabot/elm/file_parser.rb
Constant Summary collapse
- DEPENDENCY_TYPES =
%w(dependencies test-dependencies).freeze
Instance Method Summary collapse
Instance Method Details
#parse ⇒ Object
17 18 19 20 21 22 23 |
# File 'lib/dependabot/elm/file_parser.rb', line 17 def parse dependency_set = DependencySet.new dependency_set += elm_json_dependencies if elm_json dependency_set.dependencies.sort_by(&:name) end |