lib/ruby_gpg.rb in ruby_gpg-0.3.0 vs lib/ruby_gpg.rb in ruby_gpg-0.3.1

- old
+ new

@@ -56,10 +56,10 @@ def run_command(command, input = nil) output = "" Open3.popen3(command) do |stdin, stdout, stderr| stdin.write(input) if input - stdin.close_write + stdin.close output << stdout.read error = stderr.read if error && !error.empty? raise "GPG command (#{command}) failed with: #{error}" end