summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Giddins <segiddins@segiddins.me>2017-07-18 18:25:09 -0500
committerColby Swandale <colby@taplaboratories.com>2017-08-20 11:18:13 +1000
commitf8db9b697fcdcd0eaf1268b2cc6143039ed14ca9 (patch)
treed25dcc69eba45ae6a704efb655cab0bc66e64679
parentfd78b296323e4656c2df800cc6100418d0ad9aa7 (diff)
downloadbundler-f8db9b697fcdcd0eaf1268b2cc6143039ed14ca9.tar.gz
Deprecate the vlad & capistrano tasks
-rw-r--r--lib/bundler/capistrano.rb4
-rw-r--r--lib/bundler/vlad.rb4
2 files changed, 8 insertions, 0 deletions
diff --git a/lib/bundler/capistrano.rb b/lib/bundler/capistrano.rb
index 81d457cf26..1b7145b72b 100644
--- a/lib/bundler/capistrano.rb
+++ b/lib/bundler/capistrano.rb
@@ -1,5 +1,9 @@
# frozen_string_literal: true
+require "bundler/shared_helpers"
+Bundler::SharedHelpers.major_deprecation 2,
+ "The Bundler task for Capistrano. Please use http://github.com/capistrano/bundler"
+
# Capistrano task for Bundler.
#
# Add "require 'bundler/capistrano'" in your Capistrano deploy.rb, and
diff --git a/lib/bundler/vlad.rb b/lib/bundler/vlad.rb
index bd2128c73d..68181e7db8 100644
--- a/lib/bundler/vlad.rb
+++ b/lib/bundler/vlad.rb
@@ -1,5 +1,9 @@
# frozen_string_literal: true
+require "bundler/shared_helpers"
+Bundler::SharedHelpers.major_deprecation 2,
+ "The Bundler task for Vlad"
+
# Vlad task for Bundler.
#
# Add "require 'bundler/vlad'" in your Vlad deploy.rb, and