diff --git a/Gopkg.lock b/Gopkg.lock index 67dea997f..5873a553e 100644 --- a/Gopkg.lock +++ b/Gopkg.lock @@ -165,12 +165,12 @@ version = "v0.1.1" [[projects]] - digest = "1:53151cc4366e3945282d4b783fd41f35222cabbc75601e68d8133648c63498d1" + digest = "1:416b666cb79f02526f115d16aba8b318b854f3c964107081311e9df6a08b39a9" name = "github.com/gobuffalo/envy" packages = ["."] pruneopts = "NUT" - revision = "043cb4b8af871b49563291e32c66bb84378a60ac" - version = "v1.7.0" + revision = "3dbe4c98c1c77e4a8fac053251c262a85e048f21" + version = "v1.9.0" [[projects]] digest = "1:2b0e6c0bea11257c646616ebd6a62be0ef2b6a0fd8210ac3caeaf57ee136123b" @@ -1376,7 +1376,7 @@ "tools/dep-collector", ] pruneopts = "UT" - revision = "891d25bbf859bfc829b515068cc3e167a7fcc528" + revision = "1be83cfc7702b712d4dcec6209105b012e930308" [[projects]] digest = "1:8730e0150dfb2b7e173890c8b9868e7a273082ef8e39f4940e3506a481cf895c" diff --git a/vendor/github.com/gobuffalo/envy/LICENSE b/vendor/github.com/gobuffalo/envy/LICENSE new file mode 100644 index 000000000..649efd437 --- /dev/null +++ b/vendor/github.com/gobuffalo/envy/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2019 Mark Bates + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/vendor/github.com/gobuffalo/envy/envy.go b/vendor/github.com/gobuffalo/envy/envy.go index dc31ba2c0..ac50ab400 100644 --- a/vendor/github.com/gobuffalo/envy/envy.go +++ b/vendor/github.com/gobuffalo/envy/envy.go @@ -68,16 +68,9 @@ func loadEnv() { } } -// Mods returns true if module support is enabled, false otherwise -// See https://github.com/golang/go/wiki/Modules#how-to-install-and-activate-module-support for details +// Mods always returns true, GOPATH isn't supported func Mods() bool { - go111 := Get(GO111MODULE, "") - - if !InGoPath() { - return go111 != "off" - } - - return go111 == "on" + return true } // Reload the ENV variables. Useful if diff --git a/vendor/github.com/gobuffalo/envy/version.go b/vendor/github.com/gobuffalo/envy/version.go index b1623aef7..e2cff15d6 100644 --- a/vendor/github.com/gobuffalo/envy/version.go +++ b/vendor/github.com/gobuffalo/envy/version.go @@ -1,3 +1,3 @@ package envy -const Version = "v1.7.0" +const Version = "v1.7.1"