# File lib/bundler/source_list.rb, line 18 def add_git_source(options = {}) add_source_to_list Source::Git.new(options), git_sources end
# File lib/bundler/source_list.rb, line 14 def add_path_source(options = {}) add_source_to_list Source::Path.new(options), path_sources end
# File lib/bundler/source_list.rb, line 26 def add_rubygems_remote(uri) @rubygems_aggregate.add_remote(uri) @rubygems_aggregate end
# File lib/bundler/source_list.rb, line 22 def add_rubygems_source(options = {}) add_source_to_list Source::Rubygems.new(options), @rubygems_sources end
# File lib/bundler/source_list.rb, line 31 def all_sources path_sources + git_sources + rubygems_sources end
# File lib/bundler/source_list.rb, line 52 def cached! all_sources.each(&:cached!) end
# File lib/bundler/source_list.rb, line 35 def get(source) source_list_for(source).find { |s| source == s } end
# File lib/bundler/source_list.rb, line 39 def lock_sources lock_sources = (path_sources + git_sources).sort_by(&:to_s) lock_sources << combine_rubygems_sources end
# File lib/bundler/source_list.rb, line 56 def remote! all_sources.each(&:remote!) end
# File lib/bundler/source_list.rb, line 44 def replace_sources!(replacement_sources) [path_sources, git_sources, rubygems_sources].each do |source_list| source_list.map! do |source| replacement_sources.find { |s| s == source } || source end end end
Generated with the Darkfish Rdoc Generator 2.