summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Giddins <segiddins@segiddins.me>2017-06-20 09:37:48 -0500
committerSamuel Giddins <segiddins@segiddins.me>2017-06-23 19:40:12 -0500
commitf1ffdf65a07f5764c42dfd6bbb044d6afeda0b86 (patch)
tree531b212599f0d61a0afeeae2ec36ef2ed957143a
parent14b8eb6a1d3203a42c345142590dac30e3716d9c (diff)
downloadbundler-f1ffdf65a07f5764c42dfd6bbb044d6afeda0b86.tar.gz
Fix plugin sources
-rw-r--r--lib/bundler/plugin/api/source.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/bundler/plugin/api/source.rb b/lib/bundler/plugin/api/source.rb
index 5d3f58df92..820f9ee874 100644
--- a/lib/bundler/plugin/api/source.rb
+++ b/lib/bundler/plugin/api/source.rb
@@ -293,6 +293,13 @@ module Bundler
def bundler_plugin_api_source?
true
end
+
+ # @private
+ # This API on source might not be stable, and for now we expect plugins
+ # to download all specs in `#specs`, so we implement the method for
+ # compatibility purposes and leave it undocumented (and don't support)
+ # overriding it)
+ def double_check_for(*); end
end
end
end