Sha256: f3b5f1e2c09f16db60b805003981092e8b24a9454b99fc48d9418c1afa40c22b

Contents?: true

Size: 411 Bytes

Versions: 27

Compression:

Stored size: 411 Bytes

Contents

# frozen_string_literal: true

module Milestoner
  module CLI
    module Actions
      # Handles tag creation and pushing of tag to local repository.
      class Publish
        def initialize publisher: Tags::Publisher.new
          @publisher = publisher
        end

        def call(configuration) = publisher.call(configuration)

        private

        attr_reader :publisher
      end
    end
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
milestoner-12.2.0 lib/milestoner/cli/actions/publish.rb
milestoner-12.1.0 lib/milestoner/cli/actions/publish.rb
milestoner-12.0.4 lib/milestoner/cli/actions/publish.rb
milestoner-12.0.3 lib/milestoner/cli/actions/publish.rb
milestoner-12.0.2 lib/milestoner/cli/actions/publish.rb
milestoner-12.0.1 lib/milestoner/cli/actions/publish.rb
milestoner-12.0.0 lib/milestoner/cli/actions/publish.rb