Maintenance Ruby 3.4 gets fixes, but no new features. 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.4.1/lib/rubygems/dependency_list.rb, line 240
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.