apiaryio/apiary-client — pull request #53 by kylef (2014-10-07 14:59:04+00:00)
Title: [Preview] Fix leaked file descriptor during writing

`File.open(path, 'r').read` leaks the file descriptor that is opened. Simplified logic to use `File.write` and `File.read` to stop leaking this file descriptor.