$39 GRAYBYTE WORDPRESS FILE MANAGER $17

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.217.254 | ADMIN IP 216.73.216.23
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/alt/ruby30/share/rubygems/rubygems/resolver/

HOME
Current File : /opt/alt/ruby30/share/rubygems/rubygems/resolver//specification.rb
# frozen_string_literal: true
##
# A Resolver::Specification contains a subset of the information
# contained in a Gem::Specification.  Only the information necessary for
# dependency resolution in the resolver is included.

class Gem::Resolver::Specification
  ##
  # The dependencies of the gem for this specification

  attr_reader :dependencies

  ##
  # The name of the gem for this specification

  attr_reader :name

  ##
  # The platform this gem works on.

  attr_reader :platform

  ##
  # The set this specification came from.

  attr_reader :set

  ##
  # The source for this specification

  attr_reader :source

  ##
  # The Gem::Specification for this Resolver::Specification.
  #
  # Implementers, note that #install updates @spec, so be sure to cache the
  # Gem::Specification in @spec when overriding.

  attr_reader :spec

  ##
  # The version of the gem for this specification.

  attr_reader :version

  ##
  # The required_ruby_version constraint for this specification.

  attr_reader :required_ruby_version

  ##
  # The required_ruby_version constraint for this specification.

  attr_reader :required_rubygems_version

  ##
  # Sets default instance variables for the specification.

  def initialize
    @dependencies = nil
    @name         = nil
    @platform     = nil
    @set          = nil
    @source       = nil
    @version      = nil
    @required_ruby_version = Gem::Requirement.default
    @required_rubygems_version = Gem::Requirement.default
  end

  ##
  # Fetches development dependencies if the source does not provide them by
  # default (see APISpecification).

  def fetch_development_dependencies # :nodoc:
  end

  ##
  # The name and version of the specification.
  #
  # Unlike Gem::Specification#full_name, the platform is not included.

  def full_name
    "#{@name}-#{@version}"
  end

  ##
  # Installs this specification using the Gem::Installer +options+.  The
  # install method yields a Gem::Installer instance, which indicates the
  # gem will be installed, or +nil+, which indicates the gem is already
  # installed.
  #
  # After installation #spec is updated to point to the just-installed
  # specification.

  def install(options = {})
    require_relative '../installer'

    gem = download options

    installer = Gem::Installer.at gem, options

    yield installer if block_given?

    @spec = installer.install
  end

  def download(options)
    dir = options[:install_dir] || Gem.dir

    Gem.ensure_gem_subdirectories dir

    source.download spec, dir
  end

  ##
  # Returns true if this specification is installable on this platform.

  def installable_platform?
    Gem::Platform.match_spec? spec
  end

  def local? # :nodoc:
    false
  end
end


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
17 Jul 2024 8.45 AM
root / linksafe
0755
api_set
--
17 Jul 2024 8.45 AM
root / linksafe
0755
molinillo
--
17 Jul 2024 8.45 AM
root / linksafe
0755
activation_request.rb
2.898 KB
26 Jun 2024 1.55 PM
root / linksafe
0644
api_set.rb
2.837 KB
26 Jun 2024 1.55 PM
root / linksafe
0644
api_specification.rb
2.741 KB
26 Jun 2024 1.55 PM
root / linksafe
0644
best_set.rb
1.62 KB
26 Jun 2024 1.55 PM
root / linksafe
0644
composed_set.rb
1.184 KB
26 Jun 2024 1.55 PM
root / linksafe
0644
conflict.rb
3.249 KB
26 Jun 2024 1.55 PM
root / linksafe
0644
current_set.rb
0.273 KB
26 Jun 2024 1.55 PM
root / linksafe
0644
dependency_request.rb
2.251 KB
26 Jun 2024 1.55 PM
root / linksafe
0644
git_set.rb
2.883 KB
26 Jun 2024 1.55 PM
root / linksafe
0644
git_specification.rb
1.271 KB
26 Jun 2024 1.55 PM
root / linksafe
0644
index_set.rb
1.411 KB
26 Jun 2024 1.55 PM
root / linksafe
0644
index_specification.rb
2.295 KB
26 Jun 2024 1.55 PM
root / linksafe
0644
installed_specification.rb
1.215 KB
26 Jun 2024 1.55 PM
root / linksafe
0644
installer_set.rb
6.469 KB
26 Jun 2024 1.55 PM
root / linksafe
0644
local_specification.rb
0.786 KB
26 Jun 2024 1.55 PM
root / linksafe
0644
lock_set.rb
1.666 KB
26 Jun 2024 1.55 PM
root / linksafe
0644
lock_specification.rb
1.814 KB
26 Jun 2024 1.55 PM
root / linksafe
0644
molinillo.rb
0.071 KB
26 Jun 2024 1.55 PM
root / linksafe
0644
requirement_list.rb
1.335 KB
26 Jun 2024 1.55 PM
root / linksafe
0644
set.rb
1.223 KB
26 Jun 2024 1.55 PM
root / linksafe
0644
source_set.rb
0.879 KB
26 Jun 2024 1.55 PM
root / linksafe
0644
spec_specification.rb
1.333 KB
26 Jun 2024 1.55 PM
root / linksafe
0644
specification.rb
2.66 KB
26 Jun 2024 1.55 PM
root / linksafe
0644
stats.rb
0.935 KB
26 Jun 2024 1.55 PM
root / linksafe
0644
vendor_set.rb
1.912 KB
26 Jun 2024 1.55 PM
root / linksafe
0644
vendor_specification.rb
0.565 KB
26 Jun 2024 1.55 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF