Sha256: ff5da7b16e3f85fe17b944f9342f0b55ee6d4f2d04ef0f6c44b009f5581d902e
Contents?: true
Size: 614 Bytes
Versions: 9
Compression:
Stored size: 614 Bytes
Contents
# frozen_string_literal: true module Milestoner module Tags # Handles the tagging and pushing of a tag to a remote repository. class Publisher include Import[:logger] def initialize(creator: Tags::Creator.new, pusher: Tags::Pusher.new, **) super(**) @creator = creator @pusher = pusher end def call configuration = Container[:configuration] creator.call configuration pusher.call configuration logger.info { "Published: #{configuration.version}!" } end private attr_reader :creator, :pusher end end end
Version data entries
9 entries across 9 versions & 1 rubygems