lib/rubysmith/builders/rspec/binstub.rb in rubysmith-6.10.0 vs lib/rubysmith/builders/rspec/binstub.rb in rubysmith-7.0.0

- old
+ new

@@ -8,16 +8,16 @@ # Builds RSpec binstub for project skeleton. class Binstub < Abstract using Refinements::Struct def call - return configuration unless configuration.build_rspec + return false unless settings.build_rspec - builder.call(configuration.merge(template_path: "%project_name%/bin/rspec.erb")) + builder.call(settings.merge(template_path: "%project_name%/bin/rspec.erb")) .render .permit 0o755 - configuration + true end end end end end