lib/gemsmith/generators/documentation.rb in gemsmith-15.0.0 vs lib/gemsmith/generators/documentation.rb in gemsmith-15.1.0

- old
+ new

@@ -20,11 +20,10 @@ template "%gem_name%/LICENSE.md.tt" template "%gem_name%/CHANGES.md.tt" end def update_readme - File.join(gem_root, "README.md") - .then { |readme| Tocer::Writer.new(readme).call } + gem_root.join("README.md").then { |path| Tocer::Writer.new(path).call } end end end end