Skip to content

Commit

Permalink
bump version to v5
Browse files Browse the repository at this point in the history
Signed-off-by: Carl He <[email protected]>
Co-authored-by: Carl He <[email protected]>
  • Loading branch information
pivotal-ivan-wang and Carl He committed Jun 18, 2020
1 parent e8a2667 commit c67c094
Show file tree
Hide file tree
Showing 39 changed files with 99 additions and 98 deletions.
6 changes: 3 additions & 3 deletions auth_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (
"net/http"

"github.com/onsi/gomega/ghttp"
"github.com/pivotal-cf/go-pivnet/v4"
"github.com/pivotal-cf/go-pivnet/v4/logger"
"github.com/pivotal-cf/go-pivnet/v4/logger/loggerfakes"
"github.com/pivotal-cf/go-pivnet/v5"
"github.com/pivotal-cf/go-pivnet/v5/logger"
"github.com/pivotal-cf/go-pivnet/v5/logger/loggerfakes"

. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
Expand Down
8 changes: 4 additions & 4 deletions dependency_specifiers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ package pivnet_test

import (
"fmt"
"github.com/pivotal-cf/go-pivnet/v4/go-pivnetfakes"
"github.com/pivotal-cf/go-pivnet/v5/go-pivnetfakes"
"net/http"

"github.com/onsi/gomega/ghttp"
"github.com/pivotal-cf/go-pivnet/v4"
"github.com/pivotal-cf/go-pivnet/v4/logger"
"github.com/pivotal-cf/go-pivnet/v4/logger/loggerfakes"
"github.com/pivotal-cf/go-pivnet/v5"
"github.com/pivotal-cf/go-pivnet/v5/logger"
"github.com/pivotal-cf/go-pivnet/v5/logger/loggerfakes"

. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
Expand Down
2 changes: 1 addition & 1 deletion download/downloader.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package download

import (
"fmt"
"github.com/pivotal-cf/go-pivnet/v4/logger"
"github.com/pivotal-cf/go-pivnet/v5/logger"
"golang.org/x/sync/errgroup"
"io"
"net"
Expand Down
6 changes: 3 additions & 3 deletions download/downloader_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (
"strings"
"sync"

"github.com/pivotal-cf/go-pivnet/v4/download"
"github.com/pivotal-cf/go-pivnet/v4/download/fakes"
"github.com/pivotal-cf/go-pivnet/v5/download"
"github.com/pivotal-cf/go-pivnet/v5/download/fakes"

"fmt"
. "github.com/onsi/ginkgo"
Expand All @@ -19,7 +19,7 @@ import (
"syscall"
"math"
"time"
"github.com/pivotal-cf/go-pivnet/v4/logger/loggerfakes"
"github.com/pivotal-cf/go-pivnet/v5/logger/loggerfakes"
"os"
)

Expand Down
2 changes: 1 addition & 1 deletion download/fakes/ranger.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion download/progress_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

"golang.org/x/sync/errgroup"

"github.com/pivotal-cf/go-pivnet/v4/download"
"github.com/pivotal-cf/go-pivnet/v5/download"

. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
Expand Down
2 changes: 1 addition & 1 deletion download/ranger_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package download_test
import (
"net/http"

"github.com/pivotal-cf/go-pivnet/v4/download"
"github.com/pivotal-cf/go-pivnet/v5/download"

. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
Expand Down
8 changes: 4 additions & 4 deletions eulas_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ package pivnet_test

import (
"fmt"
"github.com/pivotal-cf/go-pivnet/v4/go-pivnetfakes"
"github.com/pivotal-cf/go-pivnet/v5/go-pivnetfakes"
"net/http"

"github.com/onsi/gomega/ghttp"
"github.com/pivotal-cf/go-pivnet/v4"
"github.com/pivotal-cf/go-pivnet/v4/logger"
"github.com/pivotal-cf/go-pivnet/v4/logger/loggerfakes"
"github.com/pivotal-cf/go-pivnet/v5"
"github.com/pivotal-cf/go-pivnet/v5/logger"
"github.com/pivotal-cf/go-pivnet/v5/logger/loggerfakes"

. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
Expand Down
4 changes: 2 additions & 2 deletions example/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"log"
"os"

pivnet "github.com/pivotal-cf/go-pivnet/v4"
"github.com/pivotal-cf/go-pivnet/v4/logshim"
pivnet "github.com/pivotal-cf/go-pivnet/v5"
"github.com/pivotal-cf/go-pivnet/v5/logshim"
)

func main() {
Expand Down
8 changes: 4 additions & 4 deletions federation_token_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ package pivnet_test

import (
"fmt"
"github.com/pivotal-cf/go-pivnet/v4/go-pivnetfakes"
"github.com/pivotal-cf/go-pivnet/v5/go-pivnetfakes"
"net/http"

"github.com/onsi/gomega/ghttp"
"github.com/pivotal-cf/go-pivnet/v4"
"github.com/pivotal-cf/go-pivnet/v4/logger"
"github.com/pivotal-cf/go-pivnet/v4/logger/loggerfakes"
"github.com/pivotal-cf/go-pivnet/v5"
"github.com/pivotal-cf/go-pivnet/v5/logger"
"github.com/pivotal-cf/go-pivnet/v5/logger/loggerfakes"

. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
Expand Down
8 changes: 4 additions & 4 deletions file_groups_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ package pivnet_test

import (
"fmt"
"github.com/pivotal-cf/go-pivnet/v4/go-pivnetfakes"
"github.com/pivotal-cf/go-pivnet/v5/go-pivnetfakes"
"net/http"

"github.com/onsi/gomega/ghttp"
"github.com/pivotal-cf/go-pivnet/v4"
"github.com/pivotal-cf/go-pivnet/v4/logger"
"github.com/pivotal-cf/go-pivnet/v4/logger/loggerfakes"
"github.com/pivotal-cf/go-pivnet/v5"
"github.com/pivotal-cf/go-pivnet/v5/logger"
"github.com/pivotal-cf/go-pivnet/v5/logger/loggerfakes"

. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
Expand Down
2 changes: 1 addition & 1 deletion go-pivnetfakes/fake_access_token_service.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/pivotal-cf/go-pivnet/v4
module github.com/pivotal-cf/go-pivnet/v5

require (
github.com/StackExchange/wmi v0.0.0-20180725035823-b12b22c5341f // indirect
Expand Down
1 change: 1 addition & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJ
golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a h1:1BGLXjeY4akVXGgbC9HugT3Jv3hCI0z56oJR5vAMgBU=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190412213103-97732733099d h1:+R4KGOnez64A81RvjARKc4UT5/tI9ujCIVX+P5KiHuI=
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/text v0.3.0 h1:g61tztE5qeGQ89tm6NTjjM9VPIm088od1l6aSorWRWg=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
Expand Down
8 changes: 4 additions & 4 deletions image_references_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ package pivnet_test
import (
"fmt"
"github.com/onsi/gomega/ghttp"
"github.com/pivotal-cf/go-pivnet/v4"
"github.com/pivotal-cf/go-pivnet/v4/go-pivnetfakes"
"github.com/pivotal-cf/go-pivnet/v4/logger"
"github.com/pivotal-cf/go-pivnet/v4/logger/loggerfakes"
"github.com/pivotal-cf/go-pivnet/v5"
"github.com/pivotal-cf/go-pivnet/v5/go-pivnetfakes"
"github.com/pivotal-cf/go-pivnet/v5/logger"
"github.com/pivotal-cf/go-pivnet/v5/logger/loggerfakes"
"net/http"

. "github.com/onsi/ginkgo"
Expand Down
2 changes: 1 addition & 1 deletion integration/dependency_specifiers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package integration_test
import (
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
pivnet "github.com/pivotal-cf/go-pivnet/v4"
pivnet "github.com/pivotal-cf/go-pivnet/v5"
)

const (
Expand Down
4 changes: 2 additions & 2 deletions integration/init_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"fmt"
"os"

"github.com/pivotal-cf/go-pivnet/v4"
"github.com/pivotal-cf/go-pivnet/v4/logger"
"github.com/pivotal-cf/go-pivnet/v5"
"github.com/pivotal-cf/go-pivnet/v5/logger"
"github.com/robdimsdale/sanitizer"

. "github.com/onsi/ginkgo"
Expand Down
2 changes: 1 addition & 1 deletion integration/products_lifecycle_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package integration_test
import (
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
"github.com/pivotal-cf/go-pivnet/v4"
"github.com/pivotal-cf/go-pivnet/v5"
)

var _ = Describe("Products Lifecycle", func() {
Expand Down
2 changes: 1 addition & 1 deletion integration/upgrade_path_specifiers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package integration_test
import (
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
pivnet "github.com/pivotal-cf/go-pivnet/v4"
pivnet "github.com/pivotal-cf/go-pivnet/v5"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion logger/loggerfakes/fake_logger.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion logshim/logshim.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"log"

"github.com/pivotal-cf/go-pivnet/v4/logger"
"github.com/pivotal-cf/go-pivnet/v5/logger"
)

type LogShim struct {
Expand Down
2 changes: 1 addition & 1 deletion md5sum/md5_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (

. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
"github.com/pivotal-cf/go-pivnet/v4/md5sum"
"github.com/pivotal-cf/go-pivnet/v5/md5sum"
)

var _ = Describe("MD5", func() {
Expand Down
4 changes: 2 additions & 2 deletions pivnet.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ import (
"strings"
"time"

"github.com/pivotal-cf/go-pivnet/v4/download"
"github.com/pivotal-cf/go-pivnet/v4/logger"
"github.com/pivotal-cf/go-pivnet/v5/download"
"github.com/pivotal-cf/go-pivnet/v5/logger"
)

const (
Expand Down
8 changes: 4 additions & 4 deletions pivnet_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ package pivnet_test

import (
"fmt"
"github.com/pivotal-cf/go-pivnet/v4/go-pivnetfakes"
"github.com/pivotal-cf/go-pivnet/v5/go-pivnetfakes"
"net/http"

"github.com/onsi/gomega/ghttp"
"github.com/pivotal-cf/go-pivnet/v4"
"github.com/pivotal-cf/go-pivnet/v4/logger"
"github.com/pivotal-cf/go-pivnet/v4/logger/loggerfakes"
"github.com/pivotal-cf/go-pivnet/v5"
"github.com/pivotal-cf/go-pivnet/v5/logger"
"github.com/pivotal-cf/go-pivnet/v5/logger/loggerfakes"

. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
Expand Down
8 changes: 4 additions & 4 deletions pivnet_versions_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ package pivnet_test

import (
"fmt"
"github.com/pivotal-cf/go-pivnet/v4/go-pivnetfakes"
"github.com/pivotal-cf/go-pivnet/v5/go-pivnetfakes"
"net/http"

"github.com/onsi/gomega/ghttp"
"github.com/pivotal-cf/go-pivnet/v4"
"github.com/pivotal-cf/go-pivnet/v4/logger"
"github.com/pivotal-cf/go-pivnet/v4/logger/loggerfakes"
"github.com/pivotal-cf/go-pivnet/v5"
"github.com/pivotal-cf/go-pivnet/v5/logger"
"github.com/pivotal-cf/go-pivnet/v5/logger/loggerfakes"

. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
Expand Down
8 changes: 4 additions & 4 deletions product_file_link_fetcher_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ package pivnet_test

import (
"github.com/onsi/gomega/ghttp"
"github.com/pivotal-cf/go-pivnet/v4"
"github.com/pivotal-cf/go-pivnet/v4/go-pivnetfakes"
"github.com/pivotal-cf/go-pivnet/v4/logger"
"github.com/pivotal-cf/go-pivnet/v4/logger/loggerfakes"
"github.com/pivotal-cf/go-pivnet/v5"
"github.com/pivotal-cf/go-pivnet/v5/go-pivnetfakes"
"github.com/pivotal-cf/go-pivnet/v5/logger"
"github.com/pivotal-cf/go-pivnet/v5/logger/loggerfakes"
"net/http"

"fmt"
Expand Down
4 changes: 2 additions & 2 deletions product_files.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"io"
"net/http"

"github.com/pivotal-cf/go-pivnet/v4/download"
"github.com/pivotal-cf/go-pivnet/v4/logger"
"github.com/pivotal-cf/go-pivnet/v5/download"
"github.com/pivotal-cf/go-pivnet/v5/logger"
)

type ProductFilesService struct {
Expand Down
10 changes: 5 additions & 5 deletions product_files_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@ package pivnet_test

import (
"fmt"
"github.com/pivotal-cf/go-pivnet/v4/go-pivnetfakes"
"github.com/pivotal-cf/go-pivnet/v5/go-pivnetfakes"
"io/ioutil"
"net/http"
"regexp"
"strconv"

"github.com/onsi/gomega/ghttp"
"github.com/pivotal-cf/go-pivnet/v4"
"github.com/pivotal-cf/go-pivnet/v4/logger"
"github.com/pivotal-cf/go-pivnet/v4/logger/loggerfakes"
"github.com/pivotal-cf/go-pivnet/v5"
"github.com/pivotal-cf/go-pivnet/v5/logger"
"github.com/pivotal-cf/go-pivnet/v5/logger/loggerfakes"

. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
"github.com/pivotal-cf/go-pivnet/v4/download"
"github.com/pivotal-cf/go-pivnet/v5/download"
)

var _ = Describe("PivnetClient - product files", func() {
Expand Down
2 changes: 1 addition & 1 deletion products.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"net/http"

"encoding/json"
"github.com/pivotal-cf/go-pivnet/v4/logger"
"github.com/pivotal-cf/go-pivnet/v5/logger"
)

type ProductsService struct {
Expand Down
8 changes: 4 additions & 4 deletions products_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ package pivnet_test

import (
"fmt"
"github.com/pivotal-cf/go-pivnet/v4/go-pivnetfakes"
"github.com/pivotal-cf/go-pivnet/v5/go-pivnetfakes"
"net/http"

"github.com/onsi/gomega/ghttp"
"github.com/pivotal-cf/go-pivnet/v4"
"github.com/pivotal-cf/go-pivnet/v4/logger"
"github.com/pivotal-cf/go-pivnet/v4/logger/loggerfakes"
"github.com/pivotal-cf/go-pivnet/v5"
"github.com/pivotal-cf/go-pivnet/v5/logger"
"github.com/pivotal-cf/go-pivnet/v5/logger/loggerfakes"

. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
Expand Down
8 changes: 4 additions & 4 deletions release_dependencies_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ package pivnet_test

import (
"fmt"
"github.com/pivotal-cf/go-pivnet/v4/go-pivnetfakes"
"github.com/pivotal-cf/go-pivnet/v5/go-pivnetfakes"
"net/http"

"github.com/onsi/gomega/ghttp"
"github.com/pivotal-cf/go-pivnet/v4"
"github.com/pivotal-cf/go-pivnet/v4/logger"
"github.com/pivotal-cf/go-pivnet/v4/logger/loggerfakes"
"github.com/pivotal-cf/go-pivnet/v5"
"github.com/pivotal-cf/go-pivnet/v5/logger"
"github.com/pivotal-cf/go-pivnet/v5/logger/loggerfakes"

. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
Expand Down
Loading

0 comments on commit c67c094

Please sign in to comment.