X7ROOT File Manager
Current Path:
/opt/alt/ruby34/share/rubygems/rubygems
opt
/
alt
/
ruby34
/
share
/
rubygems
/
rubygems
/
ðŸ“
..
📄
available_set.rb
(3 KB)
📄
basic_specification.rb
(8.13 KB)
📄
bundler_version_finder.rb
(1.96 KB)
📄
ci_detector.rb
(3.71 KB)
📄
command.rb
(15.97 KB)
📄
command_manager.rb
(5.64 KB)
ðŸ“
commands
📄
compatibility.rb
(1022 B)
📄
config_file.rb
(16.31 KB)
ðŸ“
core_ext
ðŸ“
defaults
📄
defaults.rb
(7.38 KB)
📄
dependency.rb
(8.45 KB)
📄
dependency_installer.rb
(9.91 KB)
📄
dependency_list.rb
(5.55 KB)
📄
deprecate.rb
(5.04 KB)
📄
doctor.rb
(3.13 KB)
📄
errors.rb
(4.53 KB)
📄
exceptions.rb
(7.13 KB)
ðŸ“
ext
📄
ext.rb
(498 B)
📄
gem_runner.rb
(2.14 KB)
ðŸ“
gemcutter_utilities
📄
gemcutter_utilities.rb
(11.25 KB)
📄
gemspec_helpers.rb
(394 B)
📄
install_default_message.rb
(349 B)
📄
install_message.rb
(323 B)
📄
install_update_options.rb
(6.56 KB)
📄
installer.rb
(27.74 KB)
📄
installer_uninstaller_utils.rb
(771 B)
📄
local_remote_options.rb
(3.61 KB)
📄
name_tuple.rb
(2.38 KB)
📄
openssl.rb
(125 B)
ðŸ“
package
📄
package.rb
(18.83 KB)
📄
package_task.rb
(3.79 KB)
📄
path_support.rb
(1.77 KB)
📄
platform.rb
(8.41 KB)
📄
psych_tree.rb
(855 B)
📄
query_utils.rb
(8.5 KB)
📄
rdoc.rb
(607 B)
📄
remote_fetcher.rb
(9.38 KB)
ðŸ“
request
📄
request.rb
(8.7 KB)
ðŸ“
request_set
📄
request_set.rb
(11.29 KB)
📄
requirement.rb
(7.08 KB)
ðŸ“
resolver
📄
resolver.rb
(9.43 KB)
📄
s3_uri_signer.rb
(5.96 KB)
ðŸ“
safe_marshal
📄
safe_marshal.rb
(1.92 KB)
📄
safe_yaml.rb
(1.04 KB)
ðŸ“
security
📄
security.rb
(21.69 KB)
📄
security_option.rb
(1.06 KB)
📄
shellwords.rb
(66 B)
ðŸ“
source
📄
source.rb
(5.78 KB)
📄
source_list.rb
(2.42 KB)
📄
spec_fetcher.rb
(7.68 KB)
📄
specification.rb
(69.02 KB)
📄
specification_policy.rb
(15.59 KB)
📄
specification_record.rb
(5.21 KB)
ðŸ“
ssl_certs
📄
stub_specification.rb
(4.96 KB)
📄
target_rbconfig.rb
(1.24 KB)
📄
text.rb
(2.06 KB)
📄
uninstaller.rb
(10.92 KB)
📄
unknown_command_spell_checker.rb
(411 B)
📄
update_suggestion.rb
(1.85 KB)
📄
uri.rb
(2.38 KB)
📄
uri_formatter.rb
(784 B)
📄
user_interaction.rb
(13.1 KB)
ðŸ“
util
📄
util.rb
(2.46 KB)
📄
validator.rb
(3.63 KB)
ðŸ“
vendor
📄
vendored_molinillo.rb
(81 B)
📄
vendored_net_http.rb
(233 B)
📄
vendored_optparse.rb
(79 B)
📄
vendored_securerandom.rb
(87 B)
📄
vendored_timeout.rb
(228 B)
📄
vendored_tsort.rb
(73 B)
📄
version.rb
(13.01 KB)
📄
version_option.rb
(2.17 KB)
📄
yaml_serializer.rb
(2.42 KB)
Editing: ci_detector.rb
# frozen_string_literal: true module Gem module CIDetector # NOTE: Any changes made here will need to be made to both lib/rubygems/ci_detector.rb and # bundler/lib/bundler/ci_detector.rb (which are enforced duplicates). # TODO: Drop that duplication once bundler drops support for RubyGems 3.4 # # ## Recognized CI providers, their signifiers, and the relevant docs ## # # Travis CI - CI, TRAVIS https://docs.travis-ci.com/user/environment-variables/#default-environment-variables # Cirrus CI - CI, CIRRUS_CI https://cirrus-ci.org/guide/writing-tasks/#environment-variables # Circle CI - CI, CIRCLECI https://circleci.com/docs/variables/#built-in-environment-variables # Gitlab CI - CI, GITLAB_CI https://docs.gitlab.com/ee/ci/variables/ # AppVeyor - CI, APPVEYOR https://www.appveyor.com/docs/environment-variables/ # CodeShip - CI_NAME https://docs.cloudbees.com/docs/cloudbees-codeship/latest/pro-builds-and-configuration/environment-variables#_default_environment_variables # dsari - CI, DSARI https://github.com/rfinnie/dsari#running # Jenkins - BUILD_NUMBER https://www.jenkins.io/doc/book/pipeline/jenkinsfile/#using-environment-variables # TeamCity - TEAMCITY_VERSION https://www.jetbrains.com/help/teamcity/predefined-build-parameters.html#Predefined+Server+Build+Parameters # Appflow - CI_BUILD_ID https://ionic.io/docs/appflow/automation/environments#predefined-environments # TaskCluster - TASKCLUSTER_ROOT_URL https://docs.taskcluster.net/docs/manual/design/env-vars # Semaphore - CI, SEMAPHORE https://docs.semaphoreci.com/ci-cd-environment/environment-variables/ # BuildKite - CI, BUILDKITE https://buildkite.com/docs/pipelines/environment-variables # GoCD - GO_SERVER_URL https://docs.gocd.org/current/faq/dev_use_current_revision_in_build.html # GH Actions - CI, GITHUB_ACTIONS https://docs.github.com/en/actions/learn-github-actions/variables#default-environment-variables # # ### Some "standard" ENVs that multiple providers may set ### # # * CI - this is set by _most_ (but not all) CI providers now; it's approaching a standard. # * CI_NAME - Not as frequently used, but some providers set this to specify their own name # Any of these being set is a reasonably reliable indicator that we are # executing in a CI environment. ENV_INDICATORS = [ "CI", "CI_NAME", "CONTINUOUS_INTEGRATION", "BUILD_NUMBER", "CI_APP_ID", "CI_BUILD_ID", "CI_BUILD_NUMBER", "RUN_ID", "TASKCLUSTER_ROOT_URL", ].freeze # For each CI, this env suffices to indicate that we're on _that_ CI's # containers. (A few of them only supply a CI_NAME variable, which is also # nice). And if they set "CI" but we can't tell which one they are, we also # want to know that - a bare "ci" without another token tells us as much. ENV_DESCRIPTORS = { "TRAVIS" => "travis", "CIRCLECI" => "circle", "CIRRUS_CI" => "cirrus", "DSARI" => "dsari", "SEMAPHORE" => "semaphore", "JENKINS_URL" => "jenkins", "BUILDKITE" => "buildkite", "GO_SERVER_URL" => "go", "GITLAB_CI" => "gitlab", "GITHUB_ACTIONS" => "github", "TASKCLUSTER_ROOT_URL" => "taskcluster", "CI" => "ci", }.freeze def self.ci? ENV_INDICATORS.any? {|var| ENV.include?(var) } end def self.ci_strings matching_names = ENV_DESCRIPTORS.select {|env, _| ENV[env] }.values matching_names << ENV["CI_NAME"].downcase if ENV["CI_NAME"] matching_names.reject(&:empty?).sort.uniq end end end
Upload File
Create Folder