lib/gemsmith/builders/console.rb in gemsmith-21.10.0 vs lib/gemsmith/builders/console.rb in gemsmith-22.0.0

- old
+ new

@@ -7,16 +7,16 @@ # Builds project skeleton console for object inspection and exploration. class Console < Rubysmith::Builders::Console using Refinements::Struct def call - return configuration unless configuration.build_console + return false unless settings.build_console super - builder.call(configuration.merge(template_path: "%project_name%/bin/console.erb")) - .replace(/require Bundler.root.+/, %(require "#{configuration.project_path}")) + builder.call(settings.merge(template_path: "%project_name%/bin/console.erb")) + .replace(/require Bundler.root.+/, %(require "#{settings.project_path}")) - configuration + true end end end end