Linux server165.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
LiteSpeed
Server IP : 68.65.122.53 & Your IP : 216.73.217.46
Domains :
Cant Read [ /etc/named.conf ]
User : vacazsti
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
alt /
ruby40 /
share /
rubygems /
rubygems /
Delete
Unzip
Name
Size
Permission
Date
Action
commands
[ DIR ]
drwxr-xr-x
2026-05-14 08:42
core_ext
[ DIR ]
drwxr-xr-x
2026-05-14 08:42
defaults
[ DIR ]
drwxr-xr-x
2026-05-14 08:42
ext
[ DIR ]
drwxr-xr-x
2026-05-14 08:42
gemcutter_utilities
[ DIR ]
drwxr-xr-x
2026-05-14 08:42
package
[ DIR ]
drwxr-xr-x
2026-05-14 08:42
request
[ DIR ]
drwxr-xr-x
2026-05-14 08:42
request_set
[ DIR ]
drwxr-xr-x
2026-05-14 08:42
resolver
[ DIR ]
drwxr-xr-x
2026-05-14 08:42
safe_marshal
[ DIR ]
drwxr-xr-x
2026-05-14 08:42
security
[ DIR ]
drwxr-xr-x
2026-05-14 08:42
source
[ DIR ]
drwxr-xr-x
2026-05-14 08:42
ssl_certs
[ DIR ]
drwxr-xr-x
2026-04-24 16:08
util
[ DIR ]
drwxr-xr-x
2026-05-14 08:42
vendor
[ DIR ]
drwxr-xr-x
2026-05-14 08:42
available_set.rb
3
KB
-rw-r--r--
2026-04-24 16:08
basic_specification.rb
8.21
KB
-rw-r--r--
2026-04-24 16:08
bundler_version_finder.rb
3.39
KB
-rw-r--r--
2026-04-24 16:08
ci_detector.rb
3.71
KB
-rw-r--r--
2026-04-24 16:08
command.rb
15.8
KB
-rw-r--r--
2026-04-24 16:08
command_manager.rb
5.64
KB
-rw-r--r--
2026-04-24 16:08
config_file.rb
16.31
KB
-rw-r--r--
2026-04-24 16:08
defaults.rb
7.4
KB
-rw-r--r--
2026-04-24 16:08
dependency.rb
8.45
KB
-rw-r--r--
2026-04-24 16:08
dependency_installer.rb
7.79
KB
-rw-r--r--
2026-04-24 16:08
dependency_list.rb
5.52
KB
-rw-r--r--
2026-04-24 16:08
deprecate.rb
5.26
KB
-rw-r--r--
2026-04-24 16:08
doctor.rb
3.13
KB
-rw-r--r--
2026-04-24 16:08
errors.rb
4.53
KB
-rw-r--r--
2026-04-24 16:08
exceptions.rb
6.87
KB
-rw-r--r--
2026-04-24 16:08
ext.rb
498
B
-rw-r--r--
2026-04-24 16:08
gem_runner.rb
2.11
KB
-rw-r--r--
2026-04-24 16:08
gemcutter_utilities.rb
11.31
KB
-rw-r--r--
2026-04-24 16:08
gemspec_helpers.rb
394
B
-rw-r--r--
2026-04-24 16:08
install_message.rb
323
B
-rw-r--r--
2026-04-24 16:08
install_update_options.rb
6.96
KB
-rw-r--r--
2026-04-24 16:08
installer.rb
27.11
KB
-rw-r--r--
2026-04-24 16:08
installer_uninstaller_utils.rb
771
B
-rw-r--r--
2026-04-24 16:08
local_remote_options.rb
3.59
KB
-rw-r--r--
2026-04-24 16:08
name_tuple.rb
2.52
KB
-rw-r--r--
2026-04-24 16:08
openssl.rb
125
B
-rw-r--r--
2026-04-24 16:08
package.rb
19.2
KB
-rw-r--r--
2026-04-24 16:08
package_task.rb
3.79
KB
-rw-r--r--
2026-04-24 16:08
path_support.rb
1.77
KB
-rw-r--r--
2026-04-24 16:08
platform.rb
12.52
KB
-rw-r--r--
2026-04-24 16:08
psych_tree.rb
874
B
-rw-r--r--
2026-04-24 16:08
query_utils.rb
8.5
KB
-rw-r--r--
2026-04-24 16:08
rdoc.rb
660
B
-rw-r--r--
2026-04-24 16:08
remote_fetcher.rb
9.52
KB
-rw-r--r--
2026-04-24 16:08
request.rb
8.7
KB
-rw-r--r--
2026-04-24 16:08
request_set.rb
11.26
KB
-rw-r--r--
2026-04-24 16:08
requirement.rb
7.13
KB
-rw-r--r--
2026-04-24 16:08
resolver.rb
9.43
KB
-rw-r--r--
2026-04-24 16:08
s3_uri_signer.rb
7.4
KB
-rw-r--r--
2026-04-24 16:08
safe_marshal.rb
1.92
KB
-rw-r--r--
2026-04-24 16:08
safe_yaml.rb
1.04
KB
-rw-r--r--
2026-04-24 16:08
security.rb
21.69
KB
-rw-r--r--
2026-04-24 16:08
security_option.rb
1.06
KB
-rw-r--r--
2026-04-24 16:08
source.rb
5.98
KB
-rw-r--r--
2026-04-24 16:08
source_list.rb
3.24
KB
-rw-r--r--
2026-04-24 16:08
spec_fetcher.rb
7.69
KB
-rw-r--r--
2026-04-24 16:08
specification.rb
67.24
KB
-rw-r--r--
2026-04-24 16:08
specification_policy.rb
14.64
KB
-rw-r--r--
2026-04-24 16:08
specification_record.rb
5.62
KB
-rw-r--r--
2026-04-24 16:08
stub_specification.rb
4.96
KB
-rw-r--r--
2026-04-24 16:08
target_rbconfig.rb
1.24
KB
-rw-r--r--
2026-04-24 16:08
text.rb
2.07
KB
-rw-r--r--
2026-04-24 16:08
uninstaller.rb
12.07
KB
-rw-r--r--
2026-04-24 16:08
unknown_command_spell_checker.rb
411
B
-rw-r--r--
2026-04-24 16:08
update_suggestion.rb
1.85
KB
-rw-r--r--
2026-04-24 16:08
uri.rb
2.38
KB
-rw-r--r--
2026-04-24 16:08
uri_formatter.rb
846
B
-rw-r--r--
2026-04-24 16:08
user_interaction.rb
13.06
KB
-rw-r--r--
2026-04-24 16:08
util.rb
2.05
KB
-rw-r--r--
2026-04-24 16:08
validator.rb
3.63
KB
-rw-r--r--
2026-04-24 16:08
vendored_molinillo.rb
81
B
-rw-r--r--
2026-04-24 16:08
vendored_net_http.rb
233
B
-rw-r--r--
2026-04-24 16:08
vendored_optparse.rb
79
B
-rw-r--r--
2026-04-24 16:08
vendored_securerandom.rb
87
B
-rw-r--r--
2026-04-24 16:08
vendored_timeout.rb
228
B
-rw-r--r--
2026-04-24 16:08
vendored_tsort.rb
73
B
-rw-r--r--
2026-04-24 16:08
version.rb
13.06
KB
-rw-r--r--
2026-04-24 16:08
version_option.rb
2.17
KB
-rw-r--r--
2026-04-24 16:08
win_platform.rb
519
B
-rw-r--r--
2026-04-24 16:08
yaml_serializer.rb
2.42
KB
-rw-r--r--
2026-04-24 16:08
Save
Rename
# frozen_string_literal: true ## # The SourceList represents the sources rubygems has been configured to use. # A source may be created from an array of sources: # # Gem::SourceList.from %w[https://rubygems.example https://internal.example] # # Or by adding them: # # sources = Gem::SourceList.new # sources << 'https://rubygems.example' # # The most common way to get a SourceList is Gem.sources. class Gem::SourceList include Enumerable ## # Creates a new SourceList def initialize @sources = [] end ## # The sources in this list attr_reader :sources ## # Creates a new SourceList from an array of sources. def self.from(ary) list = new list.replace ary list end def initialize_copy(other) # :nodoc: @sources = @sources.dup end ## # Appends +obj+ to the source list which may be a Gem::Source, Gem::URI or URI # String. def <<(obj) src = case obj when Gem::Source obj else Gem::Source.new(obj) end @sources << src unless @sources.include?(src) src end ## # Prepends +obj+ to the beginning of the source list which may be a Gem::Source, Gem::URI or URI # Moves +obj+ to the beginning of the list if already present. # String. def prepend(obj) src = case obj when Gem::Source obj else Gem::Source.new(obj) end @sources.delete(src) if @sources.include?(src) @sources.unshift(src) src end ## # Appends +obj+ to the end of the source list, moving it if already present. # +obj+ may be a Gem::Source, Gem::URI or URI String. # Moves +obj+ to the end of the list if already present. def append(obj) src = case obj when Gem::Source obj else Gem::Source.new(obj) end @sources.delete(src) if @sources.include?(src) @sources << src src end ## # Replaces this SourceList with the sources in +other+ See #<< for # acceptable items in +other+. def replace(other) clear other.each do |x| self << x end self end ## # Removes all sources from the SourceList. def clear @sources.clear end ## # Yields each source URI in the list. def each @sources.each {|s| yield s.uri.to_s } end ## # Yields each source in the list. def each_source(&b) @sources.each(&b) end ## # Returns true if there are no sources in this SourceList. def empty? @sources.empty? end def ==(other) # :nodoc: to_a == other end ## # Returns an Array of source URI Strings. def to_a @sources.map {|x| x.uri.to_s } end alias_method :to_ary, :to_a ## # Returns the first source in the list. def first @sources.first end ## # Returns true if this source list includes +other+ which may be a # Gem::Source or a source URI. def include?(other) if other.is_a? Gem::Source @sources.include? other else @sources.find {|x| x.uri.to_s == other.to_s } end end ## # Deletes +source+ from the source list which may be a Gem::Source or a URI. def delete(source) if source.is_a? Gem::Source @sources.delete source else @sources.delete_if {|x| x.uri.to_s == source.to_s } end end end