lib/key_master.rb in cocoapods-keys-1.5.1 vs lib/key_master.rb in cocoapods-keys-1.5.2
- old
+ new
@@ -70,10 +70,10 @@
def generate_implementation
render_erb('Keys.m.erb')
end
def verify_keychain_integrity
- if @keys.values.any?.nil? || @keys.any?.nil?
+ if @keys.any? { |k, v| k.nil? || v.nil? }
raise 'A key/value pair in the application keychain is nil.'
end
end
private