class Gemsmith::Tools::Versioner
Versions (tags: local and remote) current project.
Public Class Methods
new( publisher: Milestoner::Tags::Publisher.new, model: Milestoner::Configuration::Model, ** )
click to toggle source
Calls superclass method
# File lib/gemsmith/tools/versioner.rb, line 12 def initialize( publisher: Milestoner::Tags::Publisher.new, model: Milestoner::Configuration::Model, ** ) super(**) @publisher = publisher @model = model end
Public Instance Methods
call(specification)
click to toggle source
# File lib/gemsmith/tools/versioner.rb, line 22 def call(specification) = publisher.call(specification.version).fmap { specification } private attr_reader :publisher, :model end