Add preamble and non-existant file handling
Change comment prefix and rephrase preamble
Colorized output, better debug, formatted exceptions, fixed tests
bugfix to ensure travisCI passed on ruby1.8.7 (collect.with_index not supported)
Fix for #104
fixed syntax error
hiera-eyaml-plaintext required for testing

I always forget that you need the plaintext plugin in order to successfully
run the test suite.
Merge pull request #116 from sihil/sihil-plaintext-req-for-tests

hiera-eyaml-plaintext required for testing
Respond to comments made by @gtmtech

 - Remove commented line
 - Make adding prefix easier to read
 - Put file reading in rescue block
Alter test to modify and check encrypted file
Merge pull request #90 from sihil/sihil-edit-command-changes

Edit mode: edit new file and add pre-amble help text
Merge pull request #112 from gtmtechltd/better-debug

Colorized output, better debug, formatted exceptions, fixed tests
Merge pull request #114 from gtmtechltd/issue-104

Issue 104
Remove extraneous newline when adding preamble
Merge pull request #121 from sihil/sihil-fix-preamble-newline

Remove extraneous newline when adding preamble
Add tests to ensure correct behaviour of preamble

 - Ensure that if there if no edits are made that the command detects that
 - Check that the file is untouched
Fix bug that removed newlines at end of file
Handle paths with spaces in them

This doesn't generally matter on Linux systems, but Windows machines are pretty likely to have paths with spaces in them. Quoting the paths prevents this from causing problems.
Handle values of EDITOR with arguments in them

If EDITOR has arguments in it, they need to be separated from the command
proper. This is done here by starting with the full command and chopping
off successive space-separated pieces until an executable path is found.
Work with Ruby 1.8.7

Use each_with_index instead of map.with_index.