X7ROOT File Manager
Current Path:
/opt/alt/ruby25/lib64/ruby/2.5.0/rubygems/resolver
opt
/
alt
/
ruby25
/
lib64
/
ruby
/
2.5.0
/
rubygems
/
resolver
/
ðŸ“
..
📄
activation_request.rb
(3.74 KB)
📄
api_set.rb
(2.46 KB)
📄
api_specification.rb
(1.95 KB)
📄
best_set.rb
(1.61 KB)
📄
composed_set.rb
(1.18 KB)
📄
conflict.rb
(3.36 KB)
📄
current_set.rb
(282 B)
📄
dependency_request.rb
(2.28 KB)
📄
git_set.rb
(2.88 KB)
📄
git_specification.rb
(1.27 KB)
📄
index_set.rb
(1.42 KB)
📄
index_specification.rb
(1.48 KB)
📄
installed_specification.rb
(1.21 KB)
📄
installer_set.rb
(5.02 KB)
📄
local_specification.rb
(807 B)
📄
lock_set.rb
(1.67 KB)
📄
lock_specification.rb
(1.83 KB)
ðŸ“
molinillo
📄
molinillo.rb
(82 B)
📄
requirement_list.rb
(1.33 KB)
📄
set.rb
(1.24 KB)
📄
source_set.rb
(898 B)
📄
spec_specification.rb
(1.06 KB)
📄
specification.rb
(2.31 KB)
📄
stats.rb
(950 B)
📄
vendor_set.rb
(1.91 KB)
📄
vendor_specification.rb
(580 B)
Editing: set.rb
# frozen_string_literal: true ## # Resolver sets are used to look up specifications (and their # dependencies) used in resolution. This set is abstract. class Gem::Resolver::Set ## # Set to true to disable network access for this set attr_accessor :remote ## # Errors encountered when resolving gems attr_accessor :errors ## # When true, allows matching of requests to prerelease gems. attr_accessor :prerelease def initialize # :nodoc: require 'uri' @prerelease = false @remote = true @errors = [] end ## # The find_all method must be implemented. It returns all Resolver # Specification objects matching the given DependencyRequest +req+. def find_all req raise NotImplementedError end ## # The #prefetch method may be overridden, but this is not necessary. This # default implementation does nothing, which is suitable for sets where # looking up a specification is cheap (such as installed gems). # # When overridden, the #prefetch method should look up specifications # matching +reqs+. def prefetch reqs end ## # When true, this set is allowed to access the network when looking up # specifications or dependencies. def remote? # :nodoc: @remote end end
Upload File
Create Folder