Commit Graph

142 Commits (41e88df24e87c22e77819b02299c170cdcd1132c)

Author SHA1 Message Date
John Barton 68b1921266 Merge pull request #4 from GoIncremental/4-windows-line-returns
Tests failing on Windows
2014-07-14 19:35:09 +10:00
David Bochenski bdacd70f4c fixup 2014-07-10 10:14:38 +01:00
David Bochenski ae0bc4ea3c Fix remaining failing test on windows 2014-07-09 15:35:36 +01:00
David Bochenski 9c77c4efaf Closes #4 Use bufio.Scanner to read newLines 2014-06-25 16:26:24 +01:00
John Barton 3c13a80fe1 Merge pull request #3 from ys/feature/accept-equals-in-values
Use SplitN instead of split
2014-03-10 14:25:32 +11:00
Yannick Schutz 7e3e1e2c6c Use SplitN instead of split 2014-03-07 23:21:31 +01:00
John Barton 3505098f90 Merge pull request #2 from mattn/seveal_equals
FOO=BAR= should be "FOO" = "BAR="
2013-11-18 01:49:12 -08:00
mattn c0dce90b3c FOO=BAR= should be "FOO" = "BAR=" 2013-11-18 18:46:24 +09:00
John Barton (joho) 6e333bd708 add godotenv.Read() which returns a map rather than calling os.Setenv 2013-09-04 12:40:57 +10:00
John Barton 38f18b8248 Merge pull request #1 from wolfeidau/readme_corrections
Small correction to code in the README.
2013-09-03 03:37:38 -07:00
Mark Wolfe 4392e21bf6 Small correction to code in the README. 2013-09-03 18:34:37 +10:00
John Barton (joho) 05b73c4383 Fix the autoload package. 2013-08-06 20:00:06 +10:00
John Barton (joho) 5efd3c5b44 Do more of the documenting. 2013-08-02 14:33:40 +10:00
John Barton (joho) d00d0f7ef4 Turns out there was an easier way to read the env file. 2013-08-02 13:40:38 +10:00
John Barton (joho) 5896be1361 Add the ability to autoload the env file when you import. 2013-07-31 19:46:42 +10:00
John Barton (joho) 42920bbe5d Write up something for "go doc" 2013-07-31 14:54:21 +10:00
John Barton (joho) 85e631994e Update readme 2013-07-31 14:38:18 +10:00
John Barton (joho) 9ec71cc6c8 Make sure we don't overwrite existing ENV vars. 2013-07-31 14:25:10 +10:00
John Barton (joho) 3f6d91c4c0 That is a syntax lol. 2013-07-31 14:24:13 +10:00
John Barton (joho) 3d290e5fa8 Love me some build badges. 2013-07-31 14:19:29 +10:00
John Barton (joho) 4dc2e84f65 Borrow some of dotenv's readme 2013-07-31 14:18:07 +10:00
John Barton (joho) 33e2555609 Licence and more readme 2013-07-31 14:16:18 +10:00
John Barton (joho) 6697f812dd Readme with build status. 2013-07-31 13:58:23 +10:00
John Barton (joho) 8a879012ea Add wercker.yml for CI 2013-07-31 13:55:35 +10:00
John Barton (joho) 9d9f6ccb57 Make Load() without args open .env by default 2013-07-31 13:51:59 +10:00
John Barton (joho) ac58adf673 Get the code running against all fixtures. 2013-07-31 13:39:59 +10:00
John Barton (joho) 9b4bbb98c3 Clear the env at the start of each integration test. 2013-07-31 12:57:44 +10:00
John Barton (joho) 9001b88250 Ignore comment lines and lines full o' whitespace. 2013-07-31 12:37:08 +10:00
John Barton (joho) 48ca995c3b Add some more tests. 2013-07-31 12:28:41 +10:00
John Barton (joho) 74ec3a085f Handle quoted hashes "properly"
Read: not prettily or robustly.
2013-07-31 12:24:03 +10:00
John Barton (joho) aa6e870b57 Red, green, rinse repeat. 2013-07-31 12:10:31 +10:00
John Barton (joho) 98b43188a1 World's most naive comment parser...
Really pushing this red/green/refactor thing a little bit too far.
2013-07-31 12:08:58 +10:00
John Barton (joho) a37b438d54 Start trying to do comments/quoting properly. 2013-07-31 11:48:10 +10:00
John Barton (joho) b3b488372f Mark out the rest of my todo list in the test file. 2013-07-30 18:44:17 +10:00
John Barton (joho) 37c8b8e487 export keyword parsing 2013-07-30 18:38:10 +10:00
John Barton (joho) 4a2748eb3c Yaml style bro. 2013-07-30 18:34:51 +10:00
John Barton (joho) b10c02f9b0 Move the red-green a little way down the existing parser specs. 2013-07-30 18:23:33 +10:00
John Barton (joho) 919c161945 Start porting over parser tests. 2013-07-30 18:15:58 +10:00
John Barton (joho) d8dfdb69b3 Extract a test helper 2013-07-30 17:48:37 +10:00
John Barton (joho) 973cf53008 Get the basic tests green. 2013-07-30 17:44:28 +10:00
John Barton (joho) 78ba83b776 First failing tests extracted from dotenv 2013-07-30 11:46:52 +10:00
John Barton (joho) ccd8bf5602 Macs are dumb. 2013-07-30 11:46:42 +10:00