From 5c83ebd4eebb12e62ddf0da25fc027302d42acb8 Mon Sep 17 00:00:00 2001 From: Surya Asriadie Date: Sun, 14 Nov 2021 18:35:18 +0900 Subject: [PATCH] Bump REL v0.30.0 (#13) --- go.mod | 4 ++-- go.sum | 9 ++++----- sqlite3_test.go | 6 +++--- 3 files changed, 9 insertions(+), 10 deletions(-) diff --git a/go.mod b/go.mod index 18dc60d..cbe8b1f 100644 --- a/go.mod +++ b/go.mod @@ -3,8 +3,8 @@ module github.com/go-rel/sqlite3 go 1.16 require ( - github.com/go-rel/rel v0.29.2 - github.com/go-rel/sql v0.6.0 + github.com/go-rel/rel v0.30.0 + github.com/go-rel/sql v0.7.0 github.com/mattn/go-sqlite3 v1.14.9 github.com/stretchr/testify v1.7.0 ) diff --git a/go.sum b/go.sum index 142ff5d..a2c3446 100644 --- a/go.sum +++ b/go.sum @@ -5,13 +5,12 @@ github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMo github.com/fsnotify/fsnotify v1.4.9 h1:hsms1Qyu0jgnwNXIxa+/V/PDsU6CfLf6CNO8H7IWoS4= github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ= github.com/go-rel/rel v0.28.0/go.mod h1:zaIYPmM3AfJrh0xBmm7KoVKRgTNvr0cgZfcJ88gVA2U= -github.com/go-rel/rel v0.29.0/go.mod h1:RiTs/9DBCiSZvVRin8mXMXBeXIuJ5JpQThccwtrdqfc= -github.com/go-rel/rel v0.29.2 h1:YeQiGSjK3fPZZOjxktGudv6t8g3EbrUHJ6jLUhq7sc4= -github.com/go-rel/rel v0.29.2/go.mod h1:RiTs/9DBCiSZvVRin8mXMXBeXIuJ5JpQThccwtrdqfc= +github.com/go-rel/rel v0.30.0 h1:cROr0KQx1WJCx+LGEs885yxt2UsO54vOQcgsXoeGTPk= +github.com/go-rel/rel v0.30.0/go.mod h1:Wu6HB6x0oIiEOdUJClwmn7ByCmdL73U5gItAYObyyuo= github.com/go-rel/reltest v0.4.0 h1:Z/x9FXZ8yDdrU2MuzPpt7FUIptSEV1pnmSKxSlcUhtM= github.com/go-rel/reltest v0.4.0/go.mod h1:3udgrKCZGCMFWc8k+RH975gUdUFPE/yspG2iWN9gjqU= -github.com/go-rel/sql v0.6.0 h1:QNzZmZ+ATrQi4YkepKP96KNabYHHLZenA/5k+3sNlW8= -github.com/go-rel/sql v0.6.0/go.mod h1:HDDtkakv+O3YKxtXj4g2DrtUVZPAZao/MoUmD5j7JTk= +github.com/go-rel/sql v0.7.0 h1:1R21uULYCdZqh4//67lYNR9z9IFmBOCkpFSqDajidVs= +github.com/go-rel/sql v0.7.0/go.mod h1:8qOQjO+XZ96kcPQ/UzSr1ZF/2JUHM5lygLTGXqVN2x0= github.com/go-sql-driver/mysql v1.6.0/go.mod h1:DCzpHaOWr8IXmIStZouvnhqoel9Qv2LBy8hT2VhHyBg= github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8= diff --git a/sqlite3_test.go b/sqlite3_test.go index e3f0793..54b724f 100644 --- a/sqlite3_test.go +++ b/sqlite3_test.go @@ -6,7 +6,7 @@ import ( "testing" "github.com/go-rel/rel" - "github.com/go-rel/rel/adapter/specs" + "github.com/go-rel/sql/specs" _ "github.com/mattn/go-sqlite3" "github.com/stretchr/testify/assert" ) @@ -29,11 +29,11 @@ func TestAdapter_specs(t *testing.T) { repo := rel.New(adapter) // Prepare tables - teardown := specs.Setup(t, repo) + teardown := specs.Setup(repo) defer teardown() // Migration Specs - specs.Migrate(t, repo, specs.SkipDropColumn) + specs.Migrate(specs.SkipDropColumn) // Query Specs specs.Query(t, repo)