git.iko.soy/typeable/oauth2-proxy
on master help sign in
Merge pull request #356 from jehiah/bump_dependencies_356

Update vendored dependencies.

commit712739f7775378d39b8a6f6c8051188962062e9b authorJehiah Czebotar <jehiah@gmail.com> dateMon 27 Mar 2017, 21:07 (10 years ago) parent951b5f32ebab60
3 files changed+8−12
.travis.yml−1 Godeps+6−5 oauthproxy_test.go+2−6
.travis.yml−1
@@ -1,6 +1,5 @@
11language: go
22go:
3− - 1.6.4
43 - 1.7.5
54 - 1.8
65script:
Godeps+6−5
@@ -1,9 +1,10 @@
11github.com/18F/hmacauth 1.0.1
2−github.com/BurntSushi/toml 3883ac1ce943878302255f538fce319d23226223
3−github.com/bitly/go-simplejson 3378bdcb5cebedcbf8b5750edee28010f128fe24
4−github.com/mreiferson/go-options 33795234b6f327f1be2d78a541893012362a4e06
2+github.com/BurntSushi/toml d94612f9fc140360834f9742158c70b5c5b5535b
3+github.com/bitly/go-simplejson da1a8928f709389522c8023062a3739f3b4af419
4+github.com/mreiferson/go-options 77551d20752b54535462404ad9d877ebdb26e53d
55github.com/bmizerany/assert e17e99893cb6509f428e1728281c2ad60a6b31e3
66gopkg.in/fsnotify.v1 v1.2.0
7−golang.org/x/oauth2 04e1573abc896e70388bd387a69753c378d46466
8−google.golang.org/api/admin/directory/v1 a5c3e2a4792aff40e59840d9ecdff0542a202a80
7+golang.org/x/oauth2 7fdf09982454086d5570c7db3e11f360194830ca
8+golang.org/x/net/context 242b6b35177ec3909636b6cf6a47e8c2c6324b5d
9+google.golang.org/api/admin/directory/v1 650535c7d6201e8304c92f38c922a9a3a36c6877
910cloud.google.com/go/compute/metadata v0.7.0
oauthproxy_test.go+2−6
@@ -599,8 +599,7 @@ type SignatureAuthenticator struct {
599599 auth hmacauth.HmacAuth
600600}
601601
602−func (v *SignatureAuthenticator) Authenticate(
603− w http.ResponseWriter, r *http.Request) {
602+func (v *SignatureAuthenticator) Authenticate(w http.ResponseWriter, r *http.Request) {
604603 result, headerSig, computedSig := v.auth.AuthenticateRequest(r)
605604 if result == hmacauth.ResultNoSignature {
606605 w.Write([]byte("no signature received"))
@@ -688,10 +687,7 @@ func (st *SignatureTest) MakeRequestWithExpectedKey(method, body, key string) {
688687 if body != "" {
689688 bodyBuf = ioutil.NopCloser(&fakeNetConn{reqBody: body})
690689 }
691− req, err := http.NewRequest(method, "/foo/bar", bodyBuf)
692− if err != nil {
693− panic(err)
694− }
690+ req := httptest.NewRequest(method, "/foo/bar", bodyBuf)
695691 req.Header = st.header
696692
697693 state := &providers.SessionState{