Include only combined RBI (#1641)

This commit is contained in:
helenye-stripe 2025-08-29 13:45:51 -07:00 committed by GitHub
parent b6298969ae
commit 6ae1f4a853
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 1 deletions

View File

@ -2,3 +2,4 @@
.
--ignore=tmp/
--ignore=vendor/
--ignore=rbi/stripe.rbi

View File

@ -35,7 +35,10 @@ Gem::Specification.new do |s|
/\A\.vscode/,
/\Abin/,
/\Asorbet/,
/\Atest/
/\Atest/,
# Ignores the contents of rbi/stripe/** but keeps rbi/stripe.rbi
# Only rbi/stripe.rbi is included in the gem
%r{\Arbi/stripe/}
)
s.files = `git ls-files`.split("\n").grep_v(ignored)
s.bindir = "exe"