Sha256: 588cf5badd2571a1a9283fba643ba95819d275c86f261193393a7e5b9326ab47
Contents?: true
Size: 415 Bytes
Versions: 2
Compression:
Stored size: 415 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 def publish version, sign: false tagger.create version, sign: sign pusher.push end private attr_reader :tagger, :pusher end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
milestoner-2.1.0 | lib/milestoner/publisher.rb |
milestoner-2.0.0 | lib/milestoner/publisher.rb |