Add combined RBI file and fixes non-required and emptyable types in params (#1555)

* Ship a combined RBI in the gem

* Exclude combined from sorbet config

* comment
This commit is contained in:
helenye-stripe 2025-03-27 20:43:41 -07:00 committed by GitHub
parent 15e2d8393c
commit 817f7ccd87
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 181407 additions and 1 deletions

181402
rbi/stripe.rbi Normal file

File diff suppressed because one or more lines are too long

View File

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

View File

@ -35,7 +35,10 @@ Gem::Specification.new do |s|
/\A\.vscode/, /\A\.vscode/,
/\Abin/, /\Abin/,
/\Asorbet/, /\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.files = `git ls-files`.split("\n").grep_v(ignored)
s.bindir = "exe" s.bindir = "exe"