Skip to content

Commit

Permalink
[Lockfile] Save checksums as string.
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiopelosin committed Aug 20, 2012
1 parent 15e9f3b commit 0bc6cc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cocoapods/lockfile.rb
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ def self.generate_hash_from_podfile(podfile, specs)

checksums = {}
specs.select {|spec| !spec.defined_in_file.nil? }.each do |spec|
checksums[spec.name] = Digest::SHA1.hexdigest(File.read(spec.defined_in_file)).to_s
checksums[spec.name] = Digest::SHA1.hexdigest(File.read(spec.defined_in_file)).encode('UTF-8')
end
hash["SPECS CHECKSUM"] = checksums unless checksums.empty?
hash["COCOAPODS"] = VERSION
Expand Down

0 comments on commit 0bc6cc4

Please sign in to comment.