[Documentation] Include shadcn/ui MIT notice in LICENSE.txt
Merged
CI
5d ago+70+70+01234567890123456789-1-1-0123456789
Related issue
No issue. Found while checking shadcn/ui's license for the shadcn-audit work.
Description
RubyUI's component styles, structure and examples come from shadcn/ui, which is MIT licensed. MIT asks for one thing: ship shadcn's copyright and permission notice with copies or substantial portions. The gem didn't.
gem/LICENSE.txtkeeps RubyUI's MIT text and adds a "Third-party notices" section with shadcn's license verbatim (Copyright (c) 2023 shadcn). The file already ships in the gem throughs.files.gem/README.md's License section used to link shadcn's LICENSE as if it were RubyUI's. It now linksLICENSE.txtand credits shadcn there.gem/test/license_test.rbchecks the notice is present, that the gemspec shipsLICENSE.txt, and that the README no longer points at shadcn's license as ours.
No per-file headers: shadcn's own CLI copies components into apps without them, and the notice travels with the gem.
Testing instructions
cd gem && bundle exec rake(297 runs, 0 failures; standardrb clean).gem build ruby_ui.gemspec && tar -xOf ruby_ui-*.gem data.tar.gz | tar -tz | grep LICENSElistsLICENSE.txt; its tail is shadcn's MIT notice.
š¤ Generated with Claude Code