End of Life Ruby 3.1 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Gem::DependencyList#active_count
active_count(specs, ignored)
lib/rubygems/dependency_list.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.1.3/lib/rubygems/dependency_list.rb, line 239
def active_count(specs, ignored)
specs.count {|spec| ignored[spec.full_name].nil? }
end
Count the number of gemspecs in the list specs that are not in ignored.