PATH:
opt
/
alt
/
ruby30
/
share
/
rubygems
/
rubygems
/
resolver
# frozen_string_literal: true ## # The Resolver::SpecSpecification contains common functionality for # Resolver specifications that are backed by a Gem::Specification. class Gem::Resolver::SpecSpecification < Gem::Resolver::Specification ## # A SpecSpecification is created for a +set+ for a Gem::Specification in # +spec+. The +source+ is either where the +spec+ came from, or should be # loaded from. def initialize(set, spec, source = nil) @set = set @source = source @spec = spec end ## # The dependencies of the gem for this specification def dependencies spec.dependencies end ## # The required_ruby_version constraint for this specification def required_ruby_version spec.required_ruby_version end ## # The required_rubygems_version constraint for this specification def required_rubygems_version spec.required_rubygems_version end ## # The name and version of the specification. # # Unlike Gem::Specification#full_name, the platform is not included. def full_name "#{spec.name}-#{spec.version}" end ## # The name of the gem for this specification def name spec.name end ## # The platform this gem works on. def platform spec.platform end ## # The version of the gem for this specification. def version spec.version end end
[-] lock_set.rb
[edit]
[+]
api_set
[-] git_set.rb
[edit]
[-] specification.rb
[edit]
[-] molinillo.rb
[edit]
[-] local_specification.rb
[edit]
[-] requirement_list.rb
[edit]
[-] index_set.rb
[edit]
[-] installed_specification.rb
[edit]
[-] index_specification.rb
[edit]
[-] installer_set.rb
[edit]
[-] composed_set.rb
[edit]
[-] api_set.rb
[edit]
[-] vendor_set.rb
[edit]
[+]
..
[-] vendor_specification.rb
[edit]
[-] lock_specification.rb
[edit]
[+]
molinillo
[-] activation_request.rb
[edit]
[-] best_set.rb
[edit]
[-] api_specification.rb
[edit]
[-] dependency_request.rb
[edit]
[-] source_set.rb
[edit]
[-] git_specification.rb
[edit]
[-] stats.rb
[edit]
[-] conflict.rb
[edit]
[-] current_set.rb
[edit]
[-] set.rb
[edit]
[-] spec_specification.rb
[edit]