diff --git a/lib/bundler/multilock.rb b/lib/bundler/multilock.rb index c7463a7..d2c049b 100644 --- a/lib/bundler/multilock.rb +++ b/lib/bundler/multilock.rb @@ -5,6 +5,7 @@ require_relative "multilock/ext/dsl" require_relative "multilock/ext/plugin" require_relative "multilock/ext/plugin/dsl" +require_relative "multilock/ext/source" require_relative "multilock/ext/source_list" require_relative "multilock/version" diff --git a/lib/bundler/multilock/ext/source.rb b/lib/bundler/multilock/ext/source.rb new file mode 100644 index 0000000..845b30b --- /dev/null +++ b/lib/bundler/multilock/ext/source.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +module Bundler + module Multilock + module Ext + module Source + ::Bundler::Source.prepend(self) + + def print_using_message(...) + return if Bundler.settings[:suppress_install_using_messages] + + super + end + end + end + end +end