lib/bundler/source/git.rb in bundler-2.1.4 vs lib/bundler/source/git.rb in bundler-2.2.0.rc.1

- old
+ new

@@ -228,10 +228,14 @@ def allow_git_ops? @allow_remote || @allow_cached end + def local? + @local + end + private def serialize_gemspecs_in(destination) destination = destination.expand_path(Bundler.root) if destination.relative? Dir["#{destination}/#{@glob}"].each do |spec_path| @@ -252,13 +256,9 @@ @cache_path = @install_path = path end def has_app_cache? cached_revision && super - end - - def local? - @local end def requires_checkout? allow_git_ops? && !local? && !cached_revision_checked_out? end