X7ROOT File Manager
Current Path:
/opt/alt/ruby31/share/gems/gems/bundler-2.3.27/lib/bundler
opt
/
alt
/
ruby31
/
share
/
gems
/
gems
/
bundler-2.3.27
/
lib
/
bundler
/
ðŸ“
..
📄
build_metadata.rb
(1.2 KB)
📄
capistrano.rb
(883 B)
ðŸ“
cli
📄
cli.rb
(38.91 KB)
ðŸ“
compact_index_client
📄
compact_index_client.rb
(3.36 KB)
📄
constants.rb
(212 B)
📄
current_ruby.rb
(2.41 KB)
📄
definition.rb
(29.86 KB)
📄
dependency.rb
(3.09 KB)
📄
deployment.rb
(3.19 KB)
📄
deprecate.rb
(876 B)
📄
digest.rb
(2.17 KB)
📄
dsl.rb
(19.97 KB)
📄
endpoint_specification.rb
(3.73 KB)
📄
env.rb
(5.02 KB)
📄
environment_preserver.rb
(1.94 KB)
📄
errors.rb
(5.36 KB)
📄
feature_flag.rb
(1.86 KB)
ðŸ“
fetcher
📄
fetcher.rb
(11.05 KB)
📄
friendly_errors.rb
(3.99 KB)
📄
gem_helper.rb
(6.93 KB)
📄
gem_helpers.rb
(4.08 KB)
📄
gem_tasks.rb
(138 B)
📄
gem_version_promoter.rb
(6 KB)
📄
graph.rb
(4.99 KB)
📄
index.rb
(4.51 KB)
📄
injector.rb
(10.08 KB)
📄
inline.rb
(2.55 KB)
ðŸ“
installer
📄
installer.rb
(10.65 KB)
📄
lazy_specification.rb
(5.3 KB)
📄
lockfile_generator.rb
(2.17 KB)
📄
lockfile_parser.rb
(7.02 KB)
ðŸ“
man
📄
match_metadata.rb
(290 B)
📄
match_platform.rb
(583 B)
📄
match_remote_metadata.rb
(863 B)
📄
mirror.rb
(5.82 KB)
ðŸ“
plugin
📄
plugin.rb
(11.25 KB)
📄
process_lock.rb
(686 B)
📄
remote_specification.rb
(3.83 KB)
ðŸ“
resolver
📄
resolver.rb
(13.33 KB)
📄
retry.rb
(1.61 KB)
📄
ruby_dsl.rb
(760 B)
📄
ruby_version.rb
(4.2 KB)
📄
rubygems_ext.rb
(10.46 KB)
📄
rubygems_gem_installer.rb
(5.21 KB)
📄
rubygems_integration.rb
(15.94 KB)
📄
runtime.rb
(10.3 KB)
📄
self_manager.rb
(4.76 KB)
ðŸ“
settings
📄
settings.rb
(13.41 KB)
📄
setup.rb
(776 B)
📄
shared_helpers.rb
(10.69 KB)
📄
similarity_detector.rb
(1.84 KB)
ðŸ“
source
📄
source.rb
(3.04 KB)
📄
source_list.rb
(6.04 KB)
📄
source_map.rb
(2.17 KB)
📄
spec_set.rb
(4.87 KB)
📄
stub_specification.rb
(2.79 KB)
ðŸ“
templates
ðŸ“
ui
📄
ui.rb
(255 B)
📄
uri_credentials_filter.rb
(1.28 KB)
ðŸ“
vendor
📄
vendored_fileutils.rb
(101 B)
📄
vendored_molinillo.rb
(101 B)
📄
vendored_persistent.rb
(1.44 KB)
📄
vendored_thor.rb
(180 B)
📄
vendored_tmpdir.rb
(95 B)
📄
vendored_tsort.rb
(93 B)
📄
vendored_uri.rb
(89 B)
📄
version.rb
(180 B)
📄
version_ranges.rb
(3.8 KB)
📄
vlad.rb
(468 B)
📄
worker.rb
(2.89 KB)
📄
yaml_serializer.rb
(2.36 KB)
Editing: stub_specification.rb
# frozen_string_literal: true module Bundler class StubSpecification < RemoteSpecification def self.from_stub(stub) return stub if stub.is_a?(Bundler::StubSpecification) spec = new(stub.name, stub.version, stub.platform, nil) spec.stub = stub spec end attr_accessor :stub, :ignored def source=(source) super # Stub has no concept of source, which means that extension_dir may be wrong # This is the case for git-based gems. So, instead manually assign the extension dir return unless source.respond_to?(:extension_dir_name) path = File.join(stub.extensions_dir, source.extension_dir_name) stub.extension_dir = File.expand_path(path) end def to_yaml _remote_specification.to_yaml end # @!group Stub Delegates def manually_installed? # This is for manually installed gems which are gems that were fixed in place after a # failed installation. Once the issue was resolved, the user then manually created # the gem specification using the instructions provided by `gem help install` installed_by_version == Gem::Version.new(0) end # This is defined directly to avoid having to loading the full spec def missing_extensions? return false if default_gem? return false if extensions.empty? return false if File.exist? gem_build_complete_path return false if manually_installed? true end def activated stub.activated end def activated=(activated) stub.instance_variable_set(:@activated, activated) end def extensions stub.extensions end def gem_build_complete_path File.join(extension_dir, "gem.build_complete") end def default_gem? stub.default_gem? end def full_gem_path stub.full_gem_path end def full_gem_path=(path) stub.full_gem_path = path end def full_require_paths stub.full_require_paths end def load_paths full_require_paths end def loaded_from stub.loaded_from end def matches_for_glob(glob) stub.matches_for_glob(glob) end def raw_require_paths stub.raw_require_paths end private def _remote_specification @_remote_specification ||= begin rs = stub.to_spec if rs.equal?(self) # happens when to_spec gets the spec from Gem.loaded_specs rs = Gem::Specification.load(loaded_from) Bundler.rubygems.stub_set_spec(stub, rs) end unless rs raise GemspecError, "The gemspec for #{full_name} at #{loaded_from}" \ " was missing or broken. Try running `gem pristine #{name} -v #{version}`" \ " to fix the cached spec." end rs.source = source rs end end end end
Upload File
Create Folder