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 9eca1470..169ccd0a 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 d892c106..e8e0802a 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 d07bbca3..c1c968e9 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 7a2add44..a34e9d17 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 230a5585..859b6458 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 2a0f8368..59032738 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 0a8eac94..b481a521 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 8a6c09d3..ddf7480b 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 fae6120d..3b0d00af 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 408a42cc..82c0ca49 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 6d774e43..3cc5841d 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 1f089d74..94579185 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 42d509e6..14dcf834 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() {