Sha256: dc1544429babbcbac0ac2bcb506d5b3ceeb3d10214e35b9612d9c59a15546b27
Contents?: true
Size: 531 Bytes
Versions: 21
Compression:
Stored size: 531 Bytes
Contents
module Bibliothecary module Parsers class Julia include Bibliothecary::Analyser def self.mapping { /^REQUIRE$/i => { kind: 'manifest', parser: :parse_require } } end def self.parse_require(manifest) manifest.split("\n").map do |line| match = line.split(/\s/) { name: match[0], requirement: match[1] || '*', type: 'runtime' } end end end end end
Version data entries
21 entries across 21 versions & 1 rubygems