lib/bibliothecary/parsers/cpan.rb in bibliothecary-5.3.4 vs lib/bibliothecary/parsers/cpan.rb in bibliothecary-5.4.0

- old
+ new

@@ -28,18 +28,8 @@ def self.parse_yaml_manifest(file_contents) manifest = YAML.load file_contents map_dependencies(manifest, 'requires', 'runtime') end - - def self.map_dependencies(hash, key, type) - hash.fetch(key,[]).map do |name, requirement| - { - name: name, - requirement: requirement, - type: type - } - end - end end end end