lib/cocoapods-binary-cache/helper/lockfile.rb in cocoapods-binary-cache-0.1.5 vs lib/cocoapods-binary-cache/helper/lockfile.rb in cocoapods-binary-cache-0.1.6
- old
+ new
@@ -66,10 +66,10 @@
end
# Generate a map between a dev_pod and it source hash
def dev_pod_hashes_map
@dev_pod_hashes_map ||=
- dev_pod_sources.map { |name, attribs| [name, FolderChecksum.checksum(attribs[:path])] }.to_h
+ dev_pod_sources.map { |name, attribs| [name, FolderChecksum.git_checksum(attribs[:path])] }.to_h
end
# Parse an item under `PODS` section of a Lockfile
# @param hash_or_string: an item under `PODS` section, could be a Hash (if having dependencies) or a String
# Examples: