Sha256: b337763e01e3156ae0a88bb314d2689ac84ad462af5f6ae9b103dc4506a5f388
Contents?: true
Size: 432 Bytes
Versions: 16
Compression:
Stored size: 432 Bytes
Contents
require 'r10k/git/rugged' require 'r10k/git/cache' class R10K::Git::Rugged::Cache < R10K::Git::Cache @instance_cache = R10K::InstanceCache.new(self) def self.bare_repository R10K::Git::Rugged::BareRepository end # Update the remote URL if the cache differs from the current configuration def sync! if cached? && @repo.remotes['origin'] != @remote @repo.update_remote(@remote) end super end end
Version data entries
16 entries across 16 versions & 2 rubygems