Sha256: 07caef48d4fcd3c87bf598f743015a504e1de35c8bcd1889c5aa8c288fa121cd
Contents?: true
Size: 601 Bytes
Versions: 19
Compression:
Stored size: 601 Bytes
Contents
# -*- coding: utf-8 -*- module Gemirro ## # The VersionsFetcher class is used for retrieving the file that contains all # registered Gems and their versions. # # @!attribute [r] source # @return [Source] # class VersionsFetcher attr_reader :source ## # @param [Source] source # def initialize(source) @source = source end ## # @return [Gemirro::VersionsFile] # def fetch Gemirro.configuration.logger.info( "Updating #{source.name} (#{source.host})" ) VersionsFile.load(source.fetch_versions) end end end
Version data entries
19 entries across 19 versions & 1 rubygems