summaryrefslogtreecommitdiff
path: root/lib/bundler/plugin/unloaded_source.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bundler/plugin/unloaded_source.rb')
-rw-r--r--lib/bundler/plugin/unloaded_source.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/bundler/plugin/unloaded_source.rb b/lib/bundler/plugin/unloaded_source.rb
new file mode 100644
index 0000000000..bec91582e7
--- /dev/null
+++ b/lib/bundler/plugin/unloaded_source.rb
@@ -0,0 +1,11 @@
+# frozen_string_literal: true
+
+module Bundler
+ module Plugin
+ # Stands in for a source handled by a plugin that is not loaded yet, so
+ # that the lockfile can still be parsed during the plugin install pass.
+ class UnloadedSource
+ include API::Source
+ end
+ end
+end