Skip to content

Commit cbf08cf

Browse files
committed
bigdecimal-math is never released as a gem
1 parent fbb4aa1 commit cbf08cf

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

lib/rbs/collection/config/lockfile_generator.rb

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,13 @@ def generate
161161
return if lockfile.gems.key?(name)
162162

163163
case name
164+
when 'bigdecimal-math'
165+
# The `bigdecimal-math` is never released as a gem.
166+
# Therefore, `assign_gem` should not be called.
167+
RBS.logger.info {
168+
"`#{name}` is included in the RBS dependencies of `#{from_gem}`, but the type definition as a stdlib in rbs-gem is deprecated. Delete `#{name}` from the RBS dependencies of `#{from_gem}`."
169+
}
170+
return
164171
when *ALUMNI_STDLIBS.keys
165172
version = ALUMNI_STDLIBS.fetch(name)
166173
if from_gem

0 commit comments

Comments
 (0)