タグ詳細 (#318) (#328)

#318

#318

#318

#318

Co-authored-by: miteruzo <miteruzo@naver.com>
Reviewed-on: #328
このコミットはPull リクエスト #328 でマージされました.
このコミットが含まれているのは:
2026-04-23 00:06:49 +09:00
コミット 43cd38a216
11個のファイルの変更642行の追加49行の削除
+3 -4
ファイルの表示
@@ -8,10 +8,9 @@ module TagRepr
module_function
def base tag
tag.as_json(BASE)
tag.as_json(BASE).merge(aliases: tag.snapshot_aliases,
parents: tag.parents.map { _1.as_json(BASE) })
end
def many tags
tags.map { |t| base(t) }
end
def many(tags) = tags.map { |t| base(t) }
end