From 09907d36af586c5b29389312f2ecc2962c06313c Mon Sep 17 00:00:00 2001 From: Jorin Vogel Date: Tue, 1 Aug 2017 12:17:51 +0200 Subject: [PATCH] Switch from fork bep/inflect to markbates/inflect Original package has received updates the fork hasn't. Without fork updates are easier to maintain. --- hugolib/site.go | 2 +- hugolib/site_test.go | 2 +- tpl/inflect/inflect.go | 2 +- vendor/vendor.json | 12 ++++++------ 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/hugolib/site.go b/hugolib/site.go index 629881856..8bf37e17d 100644 --- a/hugolib/site.go +++ b/hugolib/site.go @@ -32,7 +32,7 @@ import ( "github.com/gohugoio/hugo/media" - "github.com/bep/inflect" + "github.com/markbates/inflect" "sync/atomic" diff --git a/hugolib/site_test.go b/hugolib/site_test.go index 6bcfaa441..bffdec1a9 100644 --- a/hugolib/site_test.go +++ b/hugolib/site_test.go @@ -19,7 +19,7 @@ import ( "strings" "testing" - "github.com/bep/inflect" + "github.com/markbates/inflect" jww "github.com/spf13/jwalterweatherman" "github.com/gohugoio/hugo/helpers" diff --git a/tpl/inflect/inflect.go b/tpl/inflect/inflect.go index e66aee72f..31b22dbcc 100644 --- a/tpl/inflect/inflect.go +++ b/tpl/inflect/inflect.go @@ -16,7 +16,7 @@ package inflect import ( "strconv" - _inflect "github.com/bep/inflect" + _inflect "github.com/markbates/inflect" "github.com/spf13/cast" ) diff --git a/vendor/vendor.json b/vendor/vendor.json index 8533e32d2..0c828b9ba 100644 --- a/vendor/vendor.json +++ b/vendor/vendor.json @@ -26,12 +26,6 @@ "revision": "de8030ebafb76c6e84d50ee6d143382637c00598", "revisionTime": "2017-06-13T14:57:45Z" }, - { - "checksumSHA1": "K8wTIgrK5sl+LmQs8CD/orvKsAM=", - "path": "github.com/bep/inflect", - "revision": "b896c45f5af983b1f416bdf3bb89c4f1f0926f69", - "revisionTime": "2016-04-08T19:03:23Z" - }, { "checksumSHA1": "NKoZRlZix5wzCfN0rTg29GtKZRU=", "path": "github.com/chaseadamsio/goorgeous", @@ -189,6 +183,12 @@ "revision": "be5ece7dd465ab0765a9682137865547526d1dfb", "revisionTime": "2017-07-10T12:48:59Z" }, + { + "checksumSHA1": "qkfd5FEcNejotjbqr5GhIupw96w=", + "path": "github.com/markbates/inflect", + "revision": "6cacb66d100482ef7cc366289ccb156020e57e76", + "revisionTime": "2017-04-11T19:10:01Z" + }, { "checksumSHA1": "Q0kIzeNiYBp4e336hnORWNTV80A=", "path": "github.com/miekg/mmark",