whilp/envcrypt — pull request #5 by whilp (2014-10-14 03:33:52+00:00)
Title: Allow spaces in envvar values

`strings.Fields` will split on any space, including space inside environment
variable values. This precludes the reasonable use of such values.

Now, define a func (`isNewLine`) and use `strings.FieldsFunc` to split
explicitly on newlines. Update tests to demonstrate fix.

Reported and proposed by @jklukas in #4.