lib/bundler/source/git.rb in bundler-2.5.10 vs lib/bundler/source/git.rb in bundler-2.5.12

- old
+ new

@@ -30,9 +30,23 @@ @copied = false @local = false end + def remote! + return if @allow_remote + + @local_specs = nil + @allow_remote = true + end + + def cached! + return if @allow_cached + + @local_specs = nil + @allow_cached = true + end + def self.from_lock(options) new(options.merge("uri" => options.delete("remote"))) end def to_lock