From f3a228ed61fc3253365485a2389c500d6c185a58 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Sun, 19 Feb 2017 15:51:10 -0500 Subject: [PATCH] vendor: update gopkg.in/macaron.v1 --- vendor/gopkg.in/ini.v1/ini.sublime-project | 8 --- vendor/gopkg.in/macaron.v1/README.md | 1 + vendor/gopkg.in/macaron.v1/logger.go | 2 +- vendor/gopkg.in/macaron.v1/macaron.go | 2 +- .../macaron.v1/macaron.sublime-project | 68 ------------------- vendor/vendor.json | 6 +- 6 files changed, 6 insertions(+), 81 deletions(-) delete mode 100644 vendor/gopkg.in/ini.v1/ini.sublime-project delete mode 100644 vendor/gopkg.in/macaron.v1/macaron.sublime-project diff --git a/vendor/gopkg.in/ini.v1/ini.sublime-project b/vendor/gopkg.in/ini.v1/ini.sublime-project deleted file mode 100644 index 24db30311..000000000 --- a/vendor/gopkg.in/ini.v1/ini.sublime-project +++ /dev/null @@ -1,8 +0,0 @@ -{ - "folders": - [ - { - "path": "." - } - ] -} diff --git a/vendor/gopkg.in/macaron.v1/README.md b/vendor/gopkg.in/macaron.v1/README.md index cfc7f6fdb..83d247e23 100644 --- a/vendor/gopkg.in/macaron.v1/README.md +++ b/vendor/gopkg.in/macaron.v1/README.md @@ -69,6 +69,7 @@ There are already many [middlewares](https://github.com/go-macaron) to simplify ## Use Cases - [Gogs](https://gogs.io): A painless self-hosted Git Service +- [Grafana](http://grafana.org/): The tool for beautiful monitoring and metric analytics & dashboards - [Peach](https://peachdocs.org): A modern web documentation server - [Go Walker](https://gowalker.org): Go online API documentation - [Switch](https://gopm.io): Gopm registry diff --git a/vendor/gopkg.in/macaron.v1/logger.go b/vendor/gopkg.in/macaron.v1/logger.go index 3c54c24d5..34178d78a 100644 --- a/vendor/gopkg.in/macaron.v1/logger.go +++ b/vendor/gopkg.in/macaron.v1/logger.go @@ -51,7 +51,7 @@ func Logger() Handler { rw := ctx.Resp.(ResponseWriter) ctx.Next() - content := fmt.Sprintf("%s: Completed %s %v %s in %v", time.Now().Format(LogTimeFormat), ctx.Req.RequestURI, rw.Status(), http.StatusText(rw.Status()), time.Since(start)) + content := fmt.Sprintf("%s: Completed %s %s %v %s in %v", time.Now().Format(LogTimeFormat), ctx.Req.Method, ctx.Req.RequestURI, rw.Status(), http.StatusText(rw.Status()), time.Since(start)) if ColorLog { switch rw.Status() { case 200, 201, 202: diff --git a/vendor/gopkg.in/macaron.v1/macaron.go b/vendor/gopkg.in/macaron.v1/macaron.go index 30ffca1cd..403bcb82f 100644 --- a/vendor/gopkg.in/macaron.v1/macaron.go +++ b/vendor/gopkg.in/macaron.v1/macaron.go @@ -32,7 +32,7 @@ import ( "github.com/go-macaron/inject" ) -const _VERSION = "1.2.1.0213" +const _VERSION = "1.2.1.0219" func Version() string { return _VERSION diff --git a/vendor/gopkg.in/macaron.v1/macaron.sublime-project b/vendor/gopkg.in/macaron.v1/macaron.sublime-project deleted file mode 100644 index 7cac08f6c..000000000 --- a/vendor/gopkg.in/macaron.v1/macaron.sublime-project +++ /dev/null @@ -1,68 +0,0 @@ -{ - "folders": - [ - { - "path": "." - }, - { - "path": "/Users/unknwon/Applications/Go/src/github.com/go-macaron/docs" - }, - { - "path": "/Users/unknwon/Applications/Go/src/github.com/go-macaron/cache" - }, - { - "path": "/Users/unknwon/Applications/Go/src/github.com/go-macaron/session" - }, - { - "path": "/Users/unknwon/Applications/Go/src/github.com/go-macaron/binding" - }, - { - "path": "/Users/unknwon/Applications/Go/src/github.com/go-macaron/i18n" - }, - { - "path": "/Users/unknwon/Applications/Go/src/github.com/go-macaron/bindata" - }, - { - "path": "/Users/unknwon/Applications/Go/src/github.com/go-macaron/pongo2" - }, - { - "path": "/Users/unknwon/Applications/Go/src/github.com/go-macaron/captcha" - }, - { - "path": "/Users/unknwon/Applications/Go/src/github.com/go-macaron/csrf" - }, - { - "path": "/Users/unknwon/Applications/Go/src/github.com/go-macaron/gzip" - }, - { - "path": "/Users/unknwon/Applications/Go/src/github.com/go-macaron/switcher" - }, - { - "path": "/Users/unknwon/Applications/Go/src/github.com/go-macaron/inject" - }, - { - "path": "/Users/unknwon/Applications/Go/src/github.com/go-macaron/jade" - }, - { - "path": "/Users/unknwon/Applications/Go/src/github.com/go-macaron/oauth2" - }, - { - "path": "/Users/unknwon/Applications/Go/src/github.com/go-macaron/toolbox" - }, - { - "path": "/Users/unknwon/Applications/Go/src/github.com/go-macaron/method" - }, - { - "path": "/Users/unknwon/Applications/Go/src/github.com/go-macaron/sockets" - }, - { - "path": "/Users/unknwon/Applications/Go/src/github.com/go-macaron/macaron.peach" - }, - { - "path": "/Users/unknwon/Applications/Go/src/github.com/go-macaron/examples" - }, - { - "path": "/Users/unknwon/Applications/Go/src/github.com/go-macaron/mab" - } - ] -} diff --git a/vendor/vendor.json b/vendor/vendor.json index f2805a118..cb07ebca3 100644 --- a/vendor/vendor.json +++ b/vendor/vendor.json @@ -555,10 +555,10 @@ "revisionTime": "2016-08-08T14:54:09Z" }, { - "checksumSHA1": "XevKi11X5xpgqjYIahVgsx/8pFk=", + "checksumSHA1": "qM9ubEa57g4oNa6JLFQ+e1TCMno=", "path": "gopkg.in/macaron.v1", - "revision": "a325110f8b392bce3e5cdeb8c44bf98078ada3be", - "revisionTime": "2017-02-13T09:12:08Z" + "revision": "8be5635c28f40a85ce8e8f65c6118b4ee4e548e9", + "revisionTime": "2017-02-19T20:49:11Z" }, { "checksumSHA1": "6QPjE+qflEBHg+JPJd9e4iQuRAk=",