class Gemsmith::Tools::Publisher

Handles the publication of a gem version.

Constants

STEPS

Order matters.

Attributes

steps[R]

Public Class Methods

new(steps: STEPS) click to toggle source
# File lib/gemsmith/tools/publisher.rb, line 20
def initialize steps: STEPS
  @steps = steps
end

Public Instance Methods

call(specification) { |call| ... } click to toggle source
# File lib/gemsmith/tools/publisher.rb, line 24
def call specification
  steps.each { |step| yield step.call(specification) }
  Success specification
end