From c665d8502d4526182c9c40f0147ed104058db38e Mon Sep 17 00:00:00 2001 From: Olle Jonsson Date: Thu, 9 Apr 2020 19:29:00 +0200 Subject: [PATCH 1/2] Git Sources shorthands: Deprecation note --- source/v2.0/guides/git.html.haml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/v2.0/guides/git.html.haml b/source/v2.0/guides/git.html.haml index 033e47813b..a1a16e642d 100644 --- a/source/v2.0/guides/git.html.haml +++ b/source/v2.0/guides/git.html.haml @@ -86,6 +86,8 @@ title: How to install gems from git repositories gem 'rugged', git: 'git://github.com/libgit2/rugged.git', submodules: true .bullet .description + (NB: These built-in shorthand git sources are deprecated and will be + removed in Bundler 3.) If you are getting your gems from a public GitHub repository, you can use the shorthand :code From 5e8afb025b4f4b84d183ced2c90f9de1c2175415 Mon Sep 17 00:00:00 2001 From: Olle Jonsson Date: Thu, 30 Apr 2020 21:22:15 +0200 Subject: [PATCH 2/2] Extend the deprecation note w/ a replacement --- source/v2.0/guides/git.html.haml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/v2.0/guides/git.html.haml b/source/v2.0/guides/git.html.haml index a1a16e642d..09c9195242 100644 --- a/source/v2.0/guides/git.html.haml +++ b/source/v2.0/guides/git.html.haml @@ -87,7 +87,8 @@ title: How to install gems from git repositories .bullet .description (NB: These built-in shorthand git sources are deprecated and will be - removed in Bundler 3.) + removed in Bundler 3. Instead of these, we encourage you to use Custom + git sources in your Gemfile.) If you are getting your gems from a public GitHub repository, you can use the shorthand :code