Linux premium71.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
LiteSpeed
Server IP : 198.187.29.8 & Your IP : 18.216.71.122
Domains :
Cant Read [ /etc/named.conf ]
User : cleahvkv
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
alt /
ruby26 /
lib64 /
ruby /
2.6.0 /
bundler /
Delete
Unzip
Name
Size
Permission
Date
Action
cli
[ DIR ]
drwxr-xr-x
2024-03-03 22:47
compact_index_client
[ DIR ]
drwxr-xr-x
2024-03-03 22:47
fetcher
[ DIR ]
drwxr-xr-x
2024-03-03 22:47
installer
[ DIR ]
drwxr-xr-x
2024-03-03 22:47
plugin
[ DIR ]
drwxr-xr-x
2024-03-03 22:47
resolver
[ DIR ]
drwxr-xr-x
2024-03-03 22:47
settings
[ DIR ]
drwxr-xr-x
2024-03-03 22:47
source
[ DIR ]
drwxr-xr-x
2024-03-03 22:47
ssl_certs
[ DIR ]
drwxr-xr-x
2024-03-03 22:47
templates
[ DIR ]
drwxr-xr-x
2024-03-03 22:47
ui
[ DIR ]
drwxr-xr-x
2024-03-03 22:47
vendor
[ DIR ]
drwxr-xr-x
2024-03-03 22:47
build_metadata.rb
1.61
KB
-rw-r--r--
2022-04-12 11:50
capistrano.rb
879
B
-rw-r--r--
2022-04-12 11:50
cli.rb
35.12
KB
-rw-r--r--
2022-04-12 11:50
compact_index_client.rb
3.27
KB
-rw-r--r--
2022-04-12 11:50
compatibility_guard.rb
518
B
-rw-r--r--
2022-04-12 11:50
constants.rb
212
B
-rw-r--r--
2022-04-12 11:50
current_ruby.rb
2.19
KB
-rw-r--r--
2022-04-12 11:50
definition.rb
36.44
KB
-rw-r--r--
2022-04-12 11:50
dep_proxy.rb
827
B
-rw-r--r--
2022-04-12 11:50
dependency.rb
4.43
KB
-rw-r--r--
2022-04-12 11:50
deployment.rb
3.19
KB
-rw-r--r--
2022-04-12 11:50
deprecate.rb
876
B
-rw-r--r--
2022-04-12 11:50
dsl.rb
21.46
KB
-rw-r--r--
2022-04-12 11:50
endpoint_specification.rb
3.91
KB
-rw-r--r--
2022-04-12 11:50
env.rb
5.22
KB
-rw-r--r--
2022-04-12 11:50
environment_preserver.rb
1.31
KB
-rw-r--r--
2022-04-12 11:50
errors.rb
4.59
KB
-rw-r--r--
2022-04-12 11:50
feature_flag.rb
3.07
KB
-rw-r--r--
2022-04-12 11:50
fetcher.rb
10.83
KB
-rw-r--r--
2022-04-12 11:50
friendly_errors.rb
4.33
KB
-rw-r--r--
2022-04-12 11:50
gem_helper.rb
5.88
KB
-rw-r--r--
2022-04-12 11:50
gem_helpers.rb
3.19
KB
-rw-r--r--
2022-04-12 11:50
gem_remote_fetcher.rb
1.46
KB
-rw-r--r--
2022-04-12 11:50
gem_tasks.rb
137
B
-rw-r--r--
2022-04-12 11:50
gem_version_promoter.rb
6.52
KB
-rw-r--r--
2022-04-12 11:50
gemdeps.rb
423
B
-rw-r--r--
2022-04-12 11:50
graph.rb
5
KB
-rw-r--r--
2022-04-12 11:50
index.rb
5.24
KB
-rw-r--r--
2022-04-12 11:50
injector.rb
8.61
KB
-rw-r--r--
2022-04-12 11:50
inline.rb
2.33
KB
-rw-r--r--
2022-04-12 11:50
installer.rb
11.85
KB
-rw-r--r--
2022-04-12 11:50
lazy_specification.rb
3.62
KB
-rw-r--r--
2022-04-12 11:50
lockfile_generator.rb
2.18
KB
-rw-r--r--
2022-04-12 11:50
lockfile_parser.rb
8.62
KB
-rw-r--r--
2022-04-12 11:50
match_platform.rb
659
B
-rw-r--r--
2022-04-12 11:50
mirror.rb
5.79
KB
-rw-r--r--
2022-04-12 11:50
plugin.rb
9.12
KB
-rw-r--r--
2022-04-12 11:50
process_lock.rb
702
B
-rw-r--r--
2022-04-12 11:50
psyched_yaml.rb
853
B
-rw-r--r--
2022-04-12 11:50
remote_specification.rb
3.46
KB
-rw-r--r--
2022-04-12 11:50
resolver.rb
14.2
KB
-rw-r--r--
2022-04-12 11:50
retry.rb
1.6
KB
-rw-r--r--
2022-04-12 11:50
ruby_dsl.rb
761
B
-rw-r--r--
2022-04-12 11:50
ruby_version.rb
4.96
KB
-rw-r--r--
2022-04-12 11:50
rubygems_ext.rb
5.88
KB
-rw-r--r--
2022-04-12 11:50
rubygems_gem_installer.rb
3.49
KB
-rw-r--r--
2022-04-12 11:50
rubygems_integration.rb
25.01
KB
-rw-r--r--
2022-04-12 11:50
runtime.rb
10.95
KB
-rw-r--r--
2022-04-12 11:50
settings.rb
12.38
KB
-rw-r--r--
2022-04-12 11:50
setup.rb
720
B
-rw-r--r--
2022-04-12 11:50
shared_helpers.rb
12
KB
-rw-r--r--
2022-04-12 11:50
similarity_detector.rb
1.84
KB
-rw-r--r--
2022-04-12 11:50
source.rb
2.66
KB
-rw-r--r--
2022-04-12 11:50
source_list.rb
5.87
KB
-rw-r--r--
2022-04-12 11:50
spec_set.rb
5.34
KB
-rw-r--r--
2022-04-12 11:50
stub_specification.rb
2.78
KB
-rw-r--r--
2022-04-12 11:50
ui.rb
198
B
-rw-r--r--
2022-04-12 11:50
uri_credentials_filter.rb
1.2
KB
-rw-r--r--
2022-04-12 11:50
vendored_fileutils.rb
192
B
-rw-r--r--
2022-04-12 11:50
vendored_molinillo.rb
100
B
-rw-r--r--
2022-04-12 11:50
vendored_persistent.rb
1.61
KB
-rw-r--r--
2022-04-12 11:50
vendored_thor.rb
193
B
-rw-r--r--
2022-04-12 11:50
version.rb
821
B
-rw-r--r--
2022-04-12 11:50
version_ranges.rb
2.86
KB
-rw-r--r--
2022-04-12 11:50
vlad.rb
466
B
-rw-r--r--
2022-04-12 11:50
worker.rb
2.57
KB
-rw-r--r--
2022-04-12 11:50
yaml_serializer.rb
2.41
KB
-rw-r--r--
2022-04-12 11:50
Save
Rename
# frozen_string_literal: true require "tsort" require "forwardable" require "set" module Bundler class SpecSet extend Forwardable include TSort, Enumerable def_delegators :@specs, :<<, :length, :add, :remove, :size, :empty? def_delegators :sorted, :each def initialize(specs) @specs = specs end def for(dependencies, skip = [], check = false, match_current_platform = false, raise_on_missing = true) handled = Set.new deps = dependencies.dup specs = [] skip += ["bundler"] loop do break unless dep = deps.shift next if !handled.add?(dep) || skip.include?(dep.name) if spec = spec_for_dependency(dep, match_current_platform) specs << spec spec.dependencies.each do |d| next if d.type == :development d = DepProxy.new(d, dep.__platform) unless match_current_platform deps << d end elsif check return false elsif raise_on_missing others = lookup[dep.name] if match_current_platform message = "Unable to find a spec satisfying #{dep} in the set. Perhaps the lockfile is corrupted?" message += " Found #{others.join(", ")} that did not match the current platform." if others && !others.empty? raise GemNotFound, message end end if spec = lookup["bundler"].first specs << spec end check ? true : SpecSet.new(specs) end def valid_for?(deps) self.for(deps, [], true) end def [](key) key = key.name if key.respond_to?(:name) lookup[key].reverse end def []=(key, value) @specs << value @lookup = nil @sorted = nil value end def sort! self end def to_a sorted.dup end def to_hash lookup.dup end def materialize(deps, missing_specs = nil) materialized = self.for(deps, [], false, true, !missing_specs).to_a deps = materialized.map(&:name).uniq materialized.map! do |s| next s unless s.is_a?(LazySpecification) s.source.dependency_names = deps if s.source.respond_to?(:dependency_names=) spec = s.__materialize__ unless spec unless missing_specs raise GemNotFound, "Could not find #{s.full_name} in any of the sources" end missing_specs << s end spec end SpecSet.new(missing_specs ? materialized.compact : materialized) end # Materialize for all the specs in the spec set, regardless of what platform they're for # This is in contrast to how for does platform filtering (and specifically different from how `materialize` calls `for` only for the current platform) # @return [Array<Gem::Specification>] def materialized_for_all_platforms names = @specs.map(&:name).uniq @specs.map do |s| next s unless s.is_a?(LazySpecification) s.source.dependency_names = names if s.source.respond_to?(:dependency_names=) spec = s.__materialize__ raise GemNotFound, "Could not find #{s.full_name} in any of the sources" unless spec spec end end def merge(set) arr = sorted.dup set.each do |set_spec| full_name = set_spec.full_name next if arr.any? {|spec| spec.full_name == full_name } arr << set_spec end SpecSet.new(arr) end def find_by_name_and_platform(name, platform) @specs.detect {|spec| spec.name == name && spec.match_platform(platform) } end def what_required(spec) unless req = find {|s| s.dependencies.any? {|d| d.type == :runtime && d.name == spec.name } } return [spec] end what_required(req) << spec end private def sorted rake = @specs.find {|s| s.name == "rake" } begin @sorted ||= ([rake] + tsort).compact.uniq rescue TSort::Cyclic => error cgems = extract_circular_gems(error) raise CyclicDependencyError, "Your bundle requires gems that depend" \ " on each other, creating an infinite loop. Please remove either" \ " gem '#{cgems[1]}' or gem '#{cgems[0]}' and try again." end end def extract_circular_gems(error) if Bundler.current_ruby.mri? && Bundler.current_ruby.on_19? error.message.scan(/(\w+) \([^)]/).flatten else error.message.scan(/@name="(.*?)"/).flatten end end def lookup @lookup ||= begin lookup = Hash.new {|h, k| h[k] = [] } Index.sort_specs(@specs).reverse_each do |s| lookup[s.name] << s end lookup end end def tsort_each_node # MUST sort by name for backwards compatibility @specs.sort_by(&:name).each {|s| yield s } end def spec_for_dependency(dep, match_current_platform) specs_for_platforms = lookup[dep.name] if match_current_platform Bundler.rubygems.platforms.reverse_each do |pl| match = GemHelpers.select_best_platform_match(specs_for_platforms, pl) return match if match end nil else GemHelpers.select_best_platform_match(specs_for_platforms, dep.__platform) end end def tsort_each_child(s) s.dependencies.sort_by(&:name).each do |d| next if d.type == :development lookup[d.name].each {|s2| yield s2 } end end end end