From 18ea75d2ad12abf24f242b637d10e91d79af5dbe Mon Sep 17 00:00:00 2001 From: Vladimir Mihailenco Date: Thu, 14 May 2015 15:19:29 +0300 Subject: [PATCH] Release redis.v3 beta. --- .travis.yml | 4 ++-- cluster_test.go | 2 +- command_test.go | 3 ++- commands_test.go | 3 ++- example_test.go | 2 +- main_test.go | 4 ++-- multi_test.go | 4 ++-- pipeline_test.go | 4 ++-- pool_test.go | 2 +- pubsub_test.go | 4 ++-- redis.go | 2 +- redis_test.go | 2 +- sentinel_test.go | 3 ++- 13 files changed, 21 insertions(+), 18 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9eca147..169ccd0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,5 +13,5 @@ install: - go get github.com/onsi/ginkgo - go get github.com/onsi/gomega - mkdir -p $HOME/gopath/src/gopkg.in - - mv $HOME/gopath/src/github.com/go-redis/redis $HOME/gopath/src/gopkg.in/redis.v2 - - cd $HOME/gopath/src/gopkg.in/redis.v2 + - mv $HOME/gopath/src/github.com/go-redis/redis $HOME/gopath/src/gopkg.in/redis.v3 + - cd $HOME/gopath/src/gopkg.in/redis.v3 diff --git a/cluster_test.go b/cluster_test.go index d892c10..e8e0802 100644 --- a/cluster_test.go +++ b/cluster_test.go @@ -10,7 +10,7 @@ import ( . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" - "gopkg.in/redis.v2" + "gopkg.in/redis.v3" ) type clusterScenario struct { diff --git a/command_test.go b/command_test.go index d07bbca..c1c968e 100644 --- a/command_test.go +++ b/command_test.go @@ -8,7 +8,8 @@ import ( . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" - "gopkg.in/redis.v2" + + "gopkg.in/redis.v3" ) var _ = Describe("Command", func() { diff --git a/commands_test.go b/commands_test.go index 7a2add4..a34e9d1 100644 --- a/commands_test.go +++ b/commands_test.go @@ -9,7 +9,8 @@ import ( . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" - "gopkg.in/redis.v2" + + "gopkg.in/redis.v3" ) var _ = Describe("Commands", func() { diff --git a/example_test.go b/example_test.go index 230a558..859b645 100644 --- a/example_test.go +++ b/example_test.go @@ -4,7 +4,7 @@ import ( "fmt" "strconv" - "gopkg.in/redis.v2" + "gopkg.in/redis.v3" ) var client *redis.Client diff --git a/main_test.go b/main_test.go index 2a0f836..5903273 100644 --- a/main_test.go +++ b/main_test.go @@ -14,7 +14,7 @@ import ( . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" - "gopkg.in/redis.v2" + "gopkg.in/redis.v3" ) const redisAddr = ":6379" @@ -67,7 +67,7 @@ var _ = AfterSuite(func() { func TestGinkgoSuite(t *testing.T) { RegisterFailHandler(Fail) - RunSpecs(t, "gopkg.in/redis.v2") + RunSpecs(t, "gopkg.in/redis.v3") } //------------------------------------------------------------------------------ diff --git a/multi_test.go b/multi_test.go index 0a8eac9..b481a52 100644 --- a/multi_test.go +++ b/multi_test.go @@ -1,10 +1,10 @@ package redis_test import ( - "gopkg.in/redis.v2" - . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" + + "gopkg.in/redis.v3" ) var _ = Describe("Multi", func() { diff --git a/pipeline_test.go b/pipeline_test.go index 8a6c09d..ddf7480 100644 --- a/pipeline_test.go +++ b/pipeline_test.go @@ -4,10 +4,10 @@ import ( "strconv" "sync" - "gopkg.in/redis.v2" - . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" + + "gopkg.in/redis.v3" ) var _ = Describe("Pipelining", func() { diff --git a/pool_test.go b/pool_test.go index fae6120..3b0d00a 100644 --- a/pool_test.go +++ b/pool_test.go @@ -8,7 +8,7 @@ import ( . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" - "gopkg.in/redis.v2" + "gopkg.in/redis.v3" ) var _ = Describe("Pool", func() { diff --git a/pubsub_test.go b/pubsub_test.go index 408a42c..82c0ca4 100644 --- a/pubsub_test.go +++ b/pubsub_test.go @@ -4,10 +4,10 @@ import ( "net" "time" - "gopkg.in/redis.v2" - . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" + + "gopkg.in/redis.v3" ) var _ = Describe("PubSub", func() { diff --git a/redis.go b/redis.go index 6d774e4..3cc5841 100644 --- a/redis.go +++ b/redis.go @@ -1,4 +1,4 @@ -package redis // import "gopkg.in/redis.v2" +package redis // import "gopkg.in/redis.v3" import ( "log" diff --git a/redis_test.go b/redis_test.go index 1f089d7..9457918 100644 --- a/redis_test.go +++ b/redis_test.go @@ -8,7 +8,7 @@ import ( . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" - "gopkg.in/redis.v2" + "gopkg.in/redis.v3" ) var _ = Describe("Client", func() { diff --git a/sentinel_test.go b/sentinel_test.go index 42d509e..14dcf83 100644 --- a/sentinel_test.go +++ b/sentinel_test.go @@ -3,7 +3,8 @@ package redis_test import ( . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" - "gopkg.in/redis.v2" + + "gopkg.in/redis.v3" ) var _ = Describe("Sentinel", func() {