lib/key_master.rb in cocoapods-keys-1.0.1 vs lib/key_master.rb in cocoapods-keys-1.0.2

- old
+ new

@@ -15,9 +15,10 @@ @implementation = generate_implementation end def generate_data + return nil if @keys.empty? # Generate a base64 hash string that is ~25 times the length of all keys @data_length = @keys.values.map(&:length).reduce(:+) * (20 + rand(10)) data = `head -c #{@data_length} /dev/random | base64 | head -c #{@data_length}` data = data + '\\"'