lib/key_master.rb in cocoapods-keys-2.2.1 vs lib/key_master.rb in cocoapods-keys-2.3.0
- old
+ new
@@ -78,10 +78,10 @@
private
def render_erb(erb_template)
erb = (Pathname(__dir__).parent + 'templates' + erb_template).read
- ERB.new(erb, nil, '-').result(binding)
+ ERB.new(erb, trim_mode: '-').result(binding)
end
def key_data_arrays
Hash[@indexed_keys.map { |key, value| [key, value.map { |i| '[' + name + "Data characterAtIndex:#{i}]" }.join(', ')] }]
end