End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
class method
Gem::Resolver::IndexSpecification.new
new(set, name, version, source, platform)
lib/rubygems/resolver/index_specification.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.0.5/lib/rubygems/resolver/index_specification.rb, line 17
def initialize(set, name, version, source, platform)
super()
@set = set
@name = name
@version = version
@source = source
@platform = platform.to_s
@spec = nil
end
An IndexSpecification is created from the index format described in ‘gem help generate_index`.
The set contains other specifications for this (URL) source.
The name, version and platform are the name, version and platform of the gem.