Skip to content

Fix github DSL docs to mention they use https protocol over git under the hood#5993

Merged
deivid-rodriguez merged 1 commit intoruby:masterfrom
tnir:tnir-github-in-gemfile-dsl
Oct 18, 2022
Merged

Fix github DSL docs to mention they use https protocol over git under the hood#5993
deivid-rodriguez merged 1 commit intoruby:masterfrom
tnir:tnir-github-in-gemfile-dsl

Conversation

@tnir
Copy link
Copy Markdown
Contributor

@tnir tnir commented Oct 18, 2022

What was the end-user or developer problem that led to this PR?

github option in gem in Gemfile has meant using https://github.com (https protocol) instead of git://github.com (git protocol), which was made in Bundler 2.2.0, but the document https://bundler.io/v2.3/man/gemfile.5.html#GITHUB is obsolete.

What is your fix for the problem, implemented in this PR?

Fixes the document for Gemfile(5) to align with the implementation on Bundler 2.2 or higher. This changes only Bundler 2.3 docs and backporting to docs for Bundler 2.2 is not expected as this is minor.

Signed-off-by: Takuya Noguchi takninnovationresearch@gmail.com

Make sure the following tasks are checked

This behavior change was done in Bundler 2.2.0.

rubygems/bundler#7142

Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
Copy link
Copy Markdown
Contributor

@deivid-rodriguez deivid-rodriguez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💪

@deivid-rodriguez deivid-rodriguez changed the title Bundler: github DSL has used https protocol over git Fix github DSL docs to mention they use https protocol over git under the hood Oct 18, 2022
@deivid-rodriguez deivid-rodriguez merged commit c693e06 into ruby:master Oct 18, 2022
@tnir tnir deleted the tnir-github-in-gemfile-dsl branch October 18, 2022 12:47
deivid-rodriguez added a commit that referenced this pull request Nov 2, 2022
Fix `github` DSL docs to mention they use https protocol over git under the hood

(cherry picked from commit c693e06)
deivid-rodriguez added a commit that referenced this pull request Nov 2, 2022
Fix `github` DSL docs to mention they use https protocol over git under the hood

(cherry picked from commit c693e06)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants