1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Github -> GitHub

Fix the case of GitHub in various places

Signed-off-by: Tim Smith <tsmith@mondoo.com>
This commit is contained in:
Tim Smith 2022-04-17 22:08:42 -07:00 committed by Hiroshi SHIBATA
parent b41de3a1e8
commit 4299375b9b
Notes: git 2022-04-19 08:32:01 +09:00
2 changed files with 4 additions and 4 deletions

View file

@ -16,7 +16,7 @@ concurrency:
group: ${{ github.workflow }} / ${{ startsWith(github.event_name, 'pull') && github.ref_name || github.sha }} group: ${{ github.workflow }} / ${{ startsWith(github.event_name, 'pull') && github.ref_name || github.sha }}
cancel-in-progress: ${{ startsWith(github.event_name, 'pull') }} cancel-in-progress: ${{ startsWith(github.event_name, 'pull') }}
# Github actions does not support YAML anchors. This creative use of # GitHub actions does not support YAML anchors. This creative use of
# environment variables (plus the "echo $GITHUB_ENV" hack) is to reroute that # environment variables (plus the "echo $GITHUB_ENV" hack) is to reroute that
# restriction. # restriction.
env: env:
@ -25,7 +25,7 @@ env:
crosshost: '' crosshost: ''
# -O1 is faster than -O3 in our tests... Majority of time are consumed trying # -O1 is faster than -O3 in our tests... Majority of time are consumed trying
# to optimize binaries. Also Github Actions run on relatively modern CPUs # to optimize binaries. Also GitHub Actions run on relatively modern CPUs
# compared to, say, GCC 4 or Clang 3. We don't specify `-march=native` # compared to, say, GCC 4 or Clang 3. We don't specify `-march=native`
# because compilers tend not understand what the CPU is. # because compilers tend not understand what the CPU is.
optflags: '-O1' optflags: '-O1'

View file

@ -69,7 +69,7 @@ class TestGemResolverInstallerSet < Gem::TestCase
fetcher.gem 'a', 1 fetcher.gem 'a', 1
end end
# Github has an issue in which it will generate a misleading prerelease output in its RubyGems server API and # GitHub has an issue in which it will generate a misleading prerelease output in its RubyGems server API and
# returns a 0 version for the gem while it doesn't exist. # returns a 0 version for the gem while it doesn't exist.
@fetcher.data["#{@gem_repo}prerelease_specs.#{Gem.marshal_version}.gz"] = util_gzip(Marshal.dump([ @fetcher.data["#{@gem_repo}prerelease_specs.#{Gem.marshal_version}.gz"] = util_gzip(Marshal.dump([
Gem::NameTuple.new('a', Gem::Version.new(0), 'ruby'), Gem::NameTuple.new('a', Gem::Version.new(0), 'ruby'),