Commit Graph

99 Commits (05be8ccbf7d00838dce28ccee1a950c038740e73)

Author SHA1 Message Date
John Barton (joho) 05be8ccbf7 Try and replicate reported bug #45 2017-11-10 10:38:18 +11:00
John Barton 0f92a24bb0
Merge pull request #44 from dvrkps/patch-1
travis: update go version
2017-11-02 13:11:18 +11:00
Davor Kapsa b7bbb3624e
travis: update go version 2017-11-01 07:18:32 +01:00
John Barton a79fa1e548 Merge pull request #41 from alexquick/document-write-dotenv
Document Marshal, Unmarshal, and Write
2017-09-18 16:32:59 +10:00
John Barton 144189c1ed Merge pull request #42 from alexquick/feature-sorted-output
Sort output of Marshal/Write
2017-09-18 16:32:10 +10:00
Alex Quick 3dd2dbe832 sort output of Write/Marshal 2017-09-16 18:02:27 -04:00
Alex Quick 9f04f40640 Be more careful with TestRoundtrip 2017-09-16 17:55:04 -04:00
Alex Quick e6264cf869 document Marshal, Unmarshal, and Write 2017-09-16 17:12:55 -04:00
John Barton 9739509bea Merge pull request #35 from alexquick/feature-write-dotenv
support for writing envs out in dotenv format
2017-09-13 22:32:30 -07:00
Alex Quick b1bb9d9fc3 rename WriteString/ReadString to Marshal/Unmarshal 2017-09-14 00:24:22 -04:00
Alex Quick 5d289f4405 escape some other bash-y special chars ($!) 2017-09-13 23:13:08 -04:00
Alex Quick 88e7c8bd35 support for writing envs out in dotenv format 2017-09-13 23:13:08 -04:00
John Barton c9360df4d1 Merge pull request #34 from alexquick/fix-parsing-issues
Fix some small parsing bugs
2017-08-22 14:21:26 +10:00
John Barton 59f20222da Merge pull request #33 from crash7/go-report-card
Add Go Report Card badge and fix spelling error
2017-08-22 14:17:51 +10:00
John Barton 9d9ddadf44 Merge pull request #36 from pda/parse-from-reader
Parse(reader) as alternative to Read(filenames)
2017-08-06 18:28:30 +10:00
Paul Annesley 390de3704e README.md mentions Parse(io.Reader) 2017-08-06 17:34:10 +10:00
Paul Annesley ebf1036af6 Parse(io.Reader) => map[string]string 2017-08-06 17:34:10 +10:00
Alex Quick a905e99577 fix panic with `"` as the value 2017-07-16 18:43:49 -04:00
Alex Quick 6f30f0c011 support for equals in yaml-style lines 2017-07-16 17:25:28 -04:00
Alex Quick 84bf91f40e rudimentry support for nested quotes 2017-07-16 17:24:36 -04:00
Alex Quick b9324c6f3c handle escaping more comprehensively 2017-07-16 17:15:29 -04:00
Christian Musa 12b7e03247 Add Go Report Card badge and fix spelling error 2017-07-14 21:33:04 -03:00
John Barton 3ddb2792f3 README housekeeping 2017-07-05 14:31:29 +10:00
John Barton 325433c502 Merge pull request #29 from joho/respect_empty_external_env_vars
Respect preset empty external env vars
2017-03-29 07:01:54 +11:00
John Barton (joho) 034acc2190 Change check of existing env to respect empty (but set) vars. 2017-03-28 11:54:56 +11:00
John Barton (joho) cd1272609d Add failing test for override of empty var 2017-03-28 11:39:40 +11:00
John Barton eaf676fc03 Merge pull request #27 from goenning/empty_var
allow usage of empty var on .env
2017-03-23 07:07:31 +11:00
Oenning a42a65518c allow empty_var 2017-03-22 13:05:44 +00:00
John Barton b01826f956 Merge pull request #25 from matiasanaya/master
Fix quoted values check
2017-03-21 20:56:48 +11:00
Matias Anaya 6a1233b2f6 Fix quoted values check 2017-03-21 19:04:19 +11:00
John Barton d10b3fbe00 Merge pull request #24 from joho/setup_travis
Move CI
2017-02-22 08:49:41 +11:00
John Barton (joho) 0a959c8d8f Add a badge for the windows build too. 2017-02-22 08:43:40 +11:00
John Barton (joho) bcaccd4f68 Apparently this file is meant to be hidden? 2017-02-22 08:29:43 +11:00
John Barton (joho) 22e45bfff4 Switch build badge over to travis 2017-02-22 08:27:57 +11:00
John Barton (joho) 2fc79dff51 Replace wercker.yml with travis.yml 2017-02-22 08:23:25 +11:00
John Barton 726cc8b906 Merge pull request #22 from mmilata/dont-swallow-errors
Improve error handling
2016-12-17 10:05:37 +11:00
Martin Milata 861984c215 Don't hide line parsing errors 2016-12-12 14:43:30 +01:00
Martin Milata 0ff0c0fc7a Propagate errors encountered when reading file 2016-12-12 14:41:36 +01:00
John Barton 4ed13390c0 Merge pull request #13 from jmervine/master
Add Overload methods.
2015-09-07 11:02:28 +10:00
Josh Mervine 008304c688 adding Overload method 2015-09-05 08:59:08 -07:00
John Barton 443e926da0 Merge pull request #11 from buddhamagnet/master
Remove unecessary assignment in autoloader
2015-06-10 07:30:23 +10:00
buddhamagnet 2ed25fcb28 remove unecessary assignment in autoloader 2015-06-09 18:24:15 +01:00
John Barton (joho) f6581828bb outdent else because golint said so. 2015-03-23 12:17:14 +11:00
John Barton (joho) d29c003c20 Still trying to please golint with package comments. 2015-03-23 12:15:55 +11:00
John Barton (joho) 19b5c2bf30 Some golint feedback from http://goreportcard.com/report/joho/godotenv 2015-03-23 12:15:01 +11:00
John Barton (joho) e1c92610d7 run `gofmt -w -s ./..` 2015-03-23 12:06:31 +11:00
John Barton ead2e75027 Merge pull request #8 from calavera/add_values_to_envmap
Fix issue reading file.
2015-01-02 15:46:44 +11:00
David Calavera dc9cc93c4e Add values to the envMap when reading the file.
But do not override values in the global environment.
2014-12-23 17:57:02 -08:00
John Barton (joho) a01a834e16 Update docs for the bin command. 2014-10-12 10:38:08 +11:00
John Barton (joho) d2ce5befea Move cmd.go so it installs as "godotenv" 2014-10-12 10:27:22 +11:00