Sha256: b1af7b1652319bc836c7cbb242751d3483912d17a79212aa2d1dd81904604bf6
Contents?: true
Size: 454 Bytes
Versions: 15
Compression:
Stored size: 454 Bytes
Contents
module Latest class MagLev SOURCE = 'http://glass-downloads.gemstone.com/maglev/' AVAILABLE_EXTS = ['.tar.gz'] attr_reader :source def initialize(retriever) @retriever = retriever @source = SOURCE end def version @version ||= @retriever.retrieve(self) end def link(ext = '.tar.gz') if AVAILABLE_EXTS.include?(ext) source + 'MagLev-' + version.to_s + ext end end end end
Version data entries
15 entries across 15 versions & 1 rubygems