lib/rubysmith/builders/git/commit.rb in rubysmith-6.6.0 vs lib/rubysmith/builders/git/commit.rb in rubysmith-6.9.0

- old
+ new

@@ -2,19 +2,15 @@ module Rubysmith module Builders module Git # Builds project skeleton initial Git commit message. - class Commit + class Commit < Abstract include Import[:specification] - def self.call(...) = new(...).call - def initialize(configuration, builder: Builder, **) - super(**) - @configuration = configuration - @builder = builder + super end def call return configuration unless configuration.build_git @@ -27,11 +23,9 @@ configuration end private - - attr_reader :configuration, :builder def body "Generated with link:#{specification.homepage_url}[#{specification.label}] " \ "#{specification.version}." end