summaryrefslogtreecommitdiff
path: root/lib/bundler/dsl.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-03-01 12:43:58 +0100
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2019-03-12 10:15:43 +0100
commit8cbbb3985607bbfffa2d26666da163631c4c5acd (patch)
tree1a6430bcc5b8365866098e38828e91b0f31fa337 /lib/bundler/dsl.rb
parentecd437368cb5193347fc0d5b4dc2f84261b2eef3 (diff)
downloadbundler-8cbbb3985607bbfffa2d26666da163631c4c5acd.tar.gz
Delay custom sources deprecation to bundler 3
And thus its removal even further.
Diffstat (limited to 'lib/bundler/dsl.rb')
-rw-r--r--lib/bundler/dsl.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bundler/dsl.rb b/lib/bundler/dsl.rb
index 3849cff339..3b9f432ee7 100644
--- a/lib/bundler/dsl.rb
+++ b/lib/bundler/dsl.rb
@@ -479,8 +479,8 @@ repo_name ||= user_name
"do |repo_name|\n#{replacement.to_s.gsub(/^/, " ")}\n end"
end
- Bundler::SharedHelpers.major_deprecation 2, <<-EOS
-The :#{name} git source is deprecated, and will be removed in Bundler 2.0.#{additional_message} Add this code to the top of your Gemfile to ensure it continues to work:
+ Bundler::SharedHelpers.major_deprecation 3, <<-EOS
+The :#{name} git source is deprecated, and will be removed in Bundler 3.0.#{additional_message} Add this code to the top of your Gemfile to ensure it continues to work:
git_source(:#{name}) #{replacement}