lib/gemsmith/tools/versioner.rb in gemsmith-20.7.0 vs lib/gemsmith/tools/versioner.rb in gemsmith-21.0.0
- old
+ new
@@ -19,25 +19,17 @@
@publisher = publisher
@model = model
end
def call specification
- publisher.call settings(specification)
+ publisher.call specification.version
Success specification
rescue Milestoner::Error => error
Failure error.message
end
private
attr_reader :publisher, :model
-
- def settings specification
- model[
- documentation_format: configuration.extensions_milestoner_documentation_format,
- prefixes: configuration.extensions_milestoner_prefixes,
- version: specification.version
- ]
- end
end
end
end