From 6ae1f4a8534e6c3ab869b2152e5f860ea23dd7ff Mon Sep 17 00:00:00 2001 From: helenye-stripe <111009531+helenye-stripe@users.noreply.github.com> Date: Fri, 29 Aug 2025 13:45:51 -0700 Subject: [PATCH] Include only combined RBI (#1641) --- sorbet/config | 1 + stripe.gemspec | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/sorbet/config b/sorbet/config index 983d2f17..d21b83f3 100644 --- a/sorbet/config +++ b/sorbet/config @@ -2,3 +2,4 @@ . --ignore=tmp/ --ignore=vendor/ +--ignore=rbi/stripe.rbi diff --git a/stripe.gemspec b/stripe.gemspec index 874c5248..0f728577 100644 --- a/stripe.gemspec +++ b/stripe.gemspec @@ -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"