frozen_string_literal: true
| ORIGINAL_ENV | = | environment_preserver.restore | ||
| SUDO_MUTEX | = | Mutex.new | ||
| VERSION | = | "1.17.2" unless defined?(::Bundler::VERSION) | We‘re doing this because we might write tests that deal with other versions of bundler and we are unsure how to handle this better. | |
| WINDOWS | = | RbConfig::CONFIG["host_os"] =~ /(msdos|mswin|djgpp|mingw)/ | ||
| FREEBSD | = | RbConfig::CONFIG["host_os"] =~ /bsd/ | ||
| NULL | = | WINDOWS ? "NUL" : "/dev/null" | ||
| Deprecate | = | ::Deprecate | ||
| Deprecate | = | Gem::Deprecate | ||
| FETCHERS | = | [CompactIndex, Dependency, Index].freeze | ||
| HTTP_ERRORS | = | [ Timeout::Error, EOFError, SocketError, Errno::ENETDOWN, Errno::ENETUNREACH, Errno::EINVAL, Errno::ECONNRESET, Errno::ETIMEDOUT, Errno::EAGAIN, Net::HTTPBadResponse, Net::HTTPHeaderSyntaxError, Net::ProtocolError, PersistentHTTP::Error, Zlib::BufError, Errno::EHOSTUNREACH | ||
| YamlLibrarySyntaxError | = | ::Psych::SyntaxError | ||
| YamlLibrarySyntaxError | = | ::ArgumentError |
| api_timeout | [RW] | |
| disable_endpoint | [RW] | |
| max_retries | [RW] | |
| redirect_limit | [RW] |
@deprecated Use `original_env` instead @return [Hash] Environment with all bundler-related variables removed
Returns an instance of Bundler::Definition for given Gemfile and lockfile
@param unlock [Hash, Boolean, nil] Gems that have been requested
to be updated or true if all gems should be updated
@return [Bundler::Definition]