Skip to content

Commit

Permalink
Bump version to v6
Browse files Browse the repository at this point in the history
  • Loading branch information
Ka Hin Ng committed Sep 8, 2020
1 parent debc726 commit 4c50a73
Show file tree
Hide file tree
Showing 38 changed files with 98 additions and 98 deletions.
8 changes: 4 additions & 4 deletions artifact_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/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"
"github.com/pivotal-cf/go-pivnet/v6"
"github.com/pivotal-cf/go-pivnet/v6/go-pivnetfakes"
"github.com/pivotal-cf/go-pivnet/v6/logger"
"github.com/pivotal-cf/go-pivnet/v6/logger/loggerfakes"
"net/http"

. "github.com/onsi/ginkgo"
Expand Down
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/v5"
"github.com/pivotal-cf/go-pivnet/v5/logger"
"github.com/pivotal-cf/go-pivnet/v5/logger/loggerfakes"
"github.com/pivotal-cf/go-pivnet/v6"
"github.com/pivotal-cf/go-pivnet/v6/logger"
"github.com/pivotal-cf/go-pivnet/v6/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/v5/go-pivnetfakes"
"github.com/pivotal-cf/go-pivnet/v6/go-pivnetfakes"
"net/http"

"github.com/onsi/gomega/ghttp"
"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/pivotal-cf/go-pivnet/v6"
"github.com/pivotal-cf/go-pivnet/v6/logger"
"github.com/pivotal-cf/go-pivnet/v6/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/v5/logger"
"github.com/pivotal-cf/go-pivnet/v6/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/v5/download"
"github.com/pivotal-cf/go-pivnet/v5/download/fakes"
"github.com/pivotal-cf/go-pivnet/v6/download"
"github.com/pivotal-cf/go-pivnet/v6/download/fakes"

"fmt"
. "github.com/onsi/ginkgo"
Expand All @@ -19,7 +19,7 @@ import (
"syscall"
"math"
"time"
"github.com/pivotal-cf/go-pivnet/v5/logger/loggerfakes"
"github.com/pivotal-cf/go-pivnet/v6/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/v5/download"
"github.com/pivotal-cf/go-pivnet/v6/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/v5/download"
"github.com/pivotal-cf/go-pivnet/v6/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/v5/go-pivnetfakes"
"github.com/pivotal-cf/go-pivnet/v6/go-pivnetfakes"
"net/http"

"github.com/onsi/gomega/ghttp"
"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/pivotal-cf/go-pivnet/v6"
"github.com/pivotal-cf/go-pivnet/v6/logger"
"github.com/pivotal-cf/go-pivnet/v6/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/v5"
"github.com/pivotal-cf/go-pivnet/v5/logshim"
pivnet "github.com/pivotal-cf/go-pivnet/v6"
"github.com/pivotal-cf/go-pivnet/v6/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/v5/go-pivnetfakes"
"github.com/pivotal-cf/go-pivnet/v6/go-pivnetfakes"
"net/http"

"github.com/onsi/gomega/ghttp"
"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/pivotal-cf/go-pivnet/v6"
"github.com/pivotal-cf/go-pivnet/v6/logger"
"github.com/pivotal-cf/go-pivnet/v6/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/v5/go-pivnetfakes"
"github.com/pivotal-cf/go-pivnet/v6/go-pivnetfakes"
"net/http"

"github.com/onsi/gomega/ghttp"
"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/pivotal-cf/go-pivnet/v6"
"github.com/pivotal-cf/go-pivnet/v6/logger"
"github.com/pivotal-cf/go-pivnet/v6/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/v5
module github.com/pivotal-cf/go-pivnet/v6

require (
github.com/StackExchange/wmi v0.0.0-20180725035823-b12b22c5341f // indirect
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/v5"
pivnet "github.com/pivotal-cf/go-pivnet/v6"
)

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/v5"
"github.com/pivotal-cf/go-pivnet/v5/logger"
"github.com/pivotal-cf/go-pivnet/v6"
"github.com/pivotal-cf/go-pivnet/v6/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/v5"
"github.com/pivotal-cf/go-pivnet/v6"
)

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/v5"
pivnet "github.com/pivotal-cf/go-pivnet/v6"
)

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/v5/logger"
"github.com/pivotal-cf/go-pivnet/v6/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/v5/md5sum"
"github.com/pivotal-cf/go-pivnet/v6/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/v5/download"
"github.com/pivotal-cf/go-pivnet/v5/logger"
"github.com/pivotal-cf/go-pivnet/v6/download"
"github.com/pivotal-cf/go-pivnet/v6/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/v5/go-pivnetfakes"
"github.com/pivotal-cf/go-pivnet/v6/go-pivnetfakes"
"net/http"

"github.com/onsi/gomega/ghttp"
"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/pivotal-cf/go-pivnet/v6"
"github.com/pivotal-cf/go-pivnet/v6/logger"
"github.com/pivotal-cf/go-pivnet/v6/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/v5/go-pivnetfakes"
"github.com/pivotal-cf/go-pivnet/v6/go-pivnetfakes"
"net/http"

"github.com/onsi/gomega/ghttp"
"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/pivotal-cf/go-pivnet/v6"
"github.com/pivotal-cf/go-pivnet/v6/logger"
"github.com/pivotal-cf/go-pivnet/v6/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/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"
"github.com/pivotal-cf/go-pivnet/v6"
"github.com/pivotal-cf/go-pivnet/v6/go-pivnetfakes"
"github.com/pivotal-cf/go-pivnet/v6/logger"
"github.com/pivotal-cf/go-pivnet/v6/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/v5/download"
"github.com/pivotal-cf/go-pivnet/v5/logger"
"github.com/pivotal-cf/go-pivnet/v6/download"
"github.com/pivotal-cf/go-pivnet/v6/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/v5/go-pivnetfakes"
"github.com/pivotal-cf/go-pivnet/v6/go-pivnetfakes"
"io/ioutil"
"net/http"
"regexp"
"strconv"

"github.com/onsi/gomega/ghttp"
"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/pivotal-cf/go-pivnet/v6"
"github.com/pivotal-cf/go-pivnet/v6/logger"
"github.com/pivotal-cf/go-pivnet/v6/logger/loggerfakes"

. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
"github.com/pivotal-cf/go-pivnet/v5/download"
"github.com/pivotal-cf/go-pivnet/v6/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/v5/logger"
"github.com/pivotal-cf/go-pivnet/v6/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/v5/go-pivnetfakes"
"github.com/pivotal-cf/go-pivnet/v6/go-pivnetfakes"
"net/http"

"github.com/onsi/gomega/ghttp"
"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/pivotal-cf/go-pivnet/v6"
"github.com/pivotal-cf/go-pivnet/v6/logger"
"github.com/pivotal-cf/go-pivnet/v6/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/v5/go-pivnetfakes"
"github.com/pivotal-cf/go-pivnet/v6/go-pivnetfakes"
"net/http"

"github.com/onsi/gomega/ghttp"
"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/pivotal-cf/go-pivnet/v6"
"github.com/pivotal-cf/go-pivnet/v6/logger"
"github.com/pivotal-cf/go-pivnet/v6/logger/loggerfakes"

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

0 comments on commit 4c50a73

Please sign in to comment.