lib/gemsmith/templates/%project_name%/lib/%project_path%/cli/shell.rb.erb in gemsmith-16.1.0 vs lib/gemsmith/templates/%project_name%/lib/%project_path%/cli/shell.rb.erb in gemsmith-16.2.0

- old
+ new

@@ -21,17 +21,19 @@ attr_reader :parser, :actions, :container def perform configuration case configuration in action_config: Symbol => action then config action - in action_version: true then logger.info { "<%= configuration.project_label %> <%= configuration.project_version %>" } + in action_version: true then logger.info { specification.labeled_version } else usage end end def config(action) = actions.fetch(__method__).call(action) def usage = logger.unknown { parser.to_s } + + def specification = container[__method__] def logger = container[__method__] end end <% end %>