lib/gemsmith/templates/%gem_name%/lib/%gem_name%/identity.rb.tt in gemsmith-5.6.0 vs lib/gemsmith/templates/%gem_name%/lib/%gem_name%/identity.rb.tt in gemsmith-6.0.0

- old
+ new

@@ -1,23 +1,23 @@ -module <%= config[:gem_class] %> +module <%= config.fetch(:gem).fetch(:class) %> # Gem identity information. module Identity def self.name - "<%= config[:gem_name] %>" + "<%= config.fetch(:gem).fetch(:name) %>" end def self.label - "<%= config[:gem_class] %>" + "<%= config.fetch(:gem).fetch(:class) %>" end def self.version "0.1.0" end def self.version_label - [label, version].join " " + "#{label} #{version}" end - <%- if config[:bin] -%> + <%- if config.fetch(:create).fetch(:cli) -%> def self.file_name ".#{name}rc" end <%- end -%>