Method: Bundler::SourceList#replace_sources!
- Defined in:
- lib/bundler/source_list.rb
#replace_sources!(replacement_sources) ⇒ Object
Returns true if there are changes
121 122 123 124 125 126 127 128 |
# File 'lib/bundler/source_list.rb', line 121 def replace_sources!(replacement_sources) return false if replacement_sources.empty? @rubygems_sources, @path_sources, @git_sources, @plugin_sources = map_sources(replacement_sources) @global_rubygems_source = global_replacement_source(replacement_sources) different_sources?(lock_sources, replacement_sources) end |