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://github.com.com/brandur/stripe-mock"
homepage: "https://github.com.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.