lib/symmetric_encryption/railties/symmetric_encryption.rake in symmetric-encryption-3.4.0 vs lib/symmetric_encryption/railties/symmetric_encryption.rake in symmetric-encryption-3.6.0

- old
+ new

@@ -64,10 +64,10 @@ block_size = ENV['BLOCKSIZE'] || 65535 if input_filename && output_filename puts "\nEncrypting file: #{input_filename} and writing to: #{output_filename}\n\n" ::File.open(input_filename, 'rb') do |input_file| - SymmetricEncryption::Writer.open(output_filename, :compress => compress) do |output_file| + SymmetricEncryption::Writer.open(output_filename, compress: compress) do |output_file| while !input_file.eof? output_file.write(input_file.read(block_size)) end end end