Sha256: 90129f8e8db50d006d22ff9b0b8773aa634153e9fdf530431f6186263193184a
Contents?: true
Size: 452 Bytes
Versions: 31
Compression:
Stored size: 452 Bytes
Contents
# frozen_string_literal: true module Milestoner # Handles the tagging and pushing of a milestone to a remote repository. class Publisher def initialize tagger: Tagger.new, pusher: Pusher.new @tagger = tagger @pusher = pusher end # :reek:BooleanParameter def publish version, sign: false tagger.create version, sign: sign pusher.push version end private attr_reader :tagger, :pusher end end
Version data entries
31 entries across 31 versions & 1 rubygems