Commit Graph

142 Commits (41e88df24e87c22e77819b02299c170cdcd1132c)

Author SHA1 Message Date
John Barton 41e88df24e Add action to publish binaries on each release 2020-11-11 15:02:30 +11:00
John Barton 65218afbaa
Add a go.mod file (#123) 2020-11-11 14:54:56 +11:00
John Barton aa035a1808
Non amd tests (#122)
* Add non-amd64 tests

* Try shifting env around

* Update input to match action

* Include git

* Comment out IBM Z for now and quieten apt-get
2020-11-11 12:54:49 +11:00
John Barton 23296b91aa
Merge pull request #121 from joho/github-actions
Setup GitHub actions for CI
2020-11-11 11:33:11 +11:00
John Barton e57c08db27 Add CI badge to readme 2020-11-11 11:31:34 +11:00
John Barton 573e9186b2 Matrix test across mac/win/linux 2020-11-11 11:24:40 +11:00
John Barton 5451d82b77 Add Barebones github actions test 2020-11-11 11:19:52 +11:00
John Barton 0da8ce72f0
Merge pull request #115 from adombeck/master
Fix typo
2020-11-08 12:01:29 +11:00
John Barton 3e4069b9b2
Merge pull request #109 from mniak/pr
Write ints without quotes
2020-11-08 11:58:27 +11:00
John Barton a4d9cf1d6d
Merge pull request #120 from santosh653/master
PR_AddingPowerSupport_golang-github-joho-godotenv
2020-10-16 06:51:22 +11:00
santosh653 7fbe752d59
Update .travis.yml
adding power support.
2020-10-15 02:09:51 -04:00
santosh653 46ee0dcae8
Update .travis.yml
Adding arch: amd64
2020-10-15 00:58:50 -04:00
adombeck bc7d5cd181
Fix typo 2020-09-04 23:35:59 +02:00
Andre Soares 6e653f9adf add newline back 2020-06-26 15:39:50 -03:00
Andre Soares fccdfd265d Fix package name 2020-06-26 15:39:06 -03:00
Andre Soares f4e7418908 Remove go.mod 2020-06-26 15:36:35 -03:00
Andre Soares 63ea8bf09b Change package name back to joho/godotenv 2020-06-26 15:35:47 -03:00
Andre Soares 29b5be9cdc Rename and implement int-able without quotes 2020-06-26 15:22:04 -03:00
John Barton d6ee6871f2
Merge pull request #95 from orxobo/Write-adjustment
Fixed Write bugs
2020-03-02 07:46:15 +11:00
orxobo dbcf4b53b8
Fixed Write bugs
This should address a fix #93 and #94
This has not been addressed in any tests.
2020-02-11 17:05:34 +10:00
John Barton b09de681dc
Merge pull request #90 from djherbis/master
#89 move regexp.MustCompile to globals
2019-10-21 07:25:22 +11:00
Dustin H 992ab0ec47
#89 move regexp.MustCompile to globals 2019-10-18 10:35:15 -04:00
John Barton 5c0e6c6ab1
Merge pull request #69 from hairyhenderson/ignore-leading-whitespace
Fixing a couple whitespace bugs: ignoring leading whitespace, and supporting more kinds of empty lines
2019-02-04 15:41:09 +11:00
John Barton 61baafa627
Merge branch 'master' into ignore-leading-whitespace 2019-02-04 15:28:23 +11:00
John Barton 823f94bb9a
Merge pull request #70 from hairyhenderson/support-keys-beginning-with-export-66
Support key names beginning with 'export'
2019-02-04 15:26:24 +11:00
Dave Henderson 263a1dda9d
Support key names beginning with 'export'
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
2019-02-03 23:11:51 -05:00
Dave Henderson 79711eebaf
Ignoring leading whitespace
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
2019-02-03 22:39:38 -05:00
John Barton 69ed1d913a
Merge pull request #63 from mdanzinger/patch-1
Update cmd.go
2018-11-21 06:47:48 +11:00
John Barton 2841430efc
An even tinier grammar fix
I read `.env` aloud as dotenv so the A makes sense.
2018-11-21 06:41:23 +11:00
Mendy Danzinger 5917dd2291
Update cmd.go
Tiny little grammatical error.
2018-11-20 13:25:32 -05:00
John Barton c0b86d615e
Merge pull request #60 from coolaj86/precedence
explicitly state env precedence and convention
2018-09-27 15:32:03 +10:00
AJ ONeal 3896766f7d explicitly state env precedence and convention 2018-09-24 21:35:43 -06:00
John Barton 23d116af35
Merge pull request #58 from lucastetreault/master
feat(Expand Variables): Custom variable expansion instead of Go's os.Expand
2018-09-11 18:04:31 +10:00
Lucas Tétreault 2d8b3aab88 feat(Expand Variables): Custom variable expansion instead of Go's os.Expand
Copy over the tests from https://github.com/bkeepers/dotenv/blob/master/spec/dotenv/parser_spec.rb
related to expanding variables and implement the required changes. I also realized as part of this
that this implementation was not handling values in single quotes properly (e.g.: not the same was
as the ruby package mentionned) so that has been fixed as well along with the related tests.

Fixes: #52
2018-09-11 00:55:10 -06:00
John Barton 1709ab122c
Merge pull request #54 from egorse/master
The value expand fallback to actual ENV values
2018-04-05 15:36:34 +10:00
egorse 8ad714e304 The value expand fallback to actual ENV values 2018-03-31 23:18:36 +03:00
John Barton 6bb0851667
Merge pull request #47 from sachaos/feature-expand-variables-on-value
Support variable substitution in dotenv files
2018-01-15 13:49:21 +11:00
John Barton 06e67b5ef3
Update my homepage link 2017-12-23 10:35:39 +11:00
Takumasa Sakao 2707e9ff66 Fix test, `$` should not be escaped 2017-11-20 23:41:46 +09:00
Takumasa Sakao 50c29652a0 Expand variables on parseValue 2017-11-20 23:20:38 +09:00
Takumasa Sakao 33977c2d8d Add test for substitutions 2017-11-20 23:20:19 +09:00
Takumasa Sakao 9be76b3741 Pass envMap to parseLine & parseValue 2017-11-20 22:21:39 +09:00
John Barton 6d367c18ed
Merge pull request #46 from joho/fix_quoting_parser_bug
WIP Parsing bug with nested quotes
2017-11-10 12:03:15 +11:00
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