From 605e6c56deeccc05b81a0f275ee4cabb9c01186a Mon Sep 17 00:00:00 2001 From: Bogdan Gusiev Date: Wed, 4 Dec 2024 13:28:08 +0100 Subject: [PATCH] Update CHANGELOG.md --- CHANGELOG.md | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4a3775e..b69c7d8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,17 +5,16 @@ * Add `banner` option that allow to control JSDoc on top of generated file. [#324](https://github.com/bogdan/repo/issues/324). ``` ruby -JsRoutes.configure do |c| -c.banner = -> { - commit_hash = `git rev-parse --short HEAD`.strip - - <<~DOC - @file Javascript Route helpers of my magic pony app. - @author Bogdan Gusiev - @license MIT - @version #{commit_hash} - DOC -} +JsRoutes.setup do |c| + c.banner = -> { + commit_hash = `git rev-parse --short HEAD`.strip + <<~DOC + @file Javascript Route helpers of my magic pony app. + @author Bogdan Gusiev + @license MIT + @version #{commit_hash} + DOC + } end ```