planetscale 0.2.1 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.buildkite/pipeline.yml +21 -0
- data/.licenses/go/github.com/planetscale/planetscale-go/planetscale.dep.yml +56 -3
- data/.licenses/go/github.com/planetscale/sql-proxy/proxy.dep.yml +205 -172
- data/.licenses/go/go.uber.org/zap.dep.yml +1 -1
- data/.licenses/go/go.uber.org/zap/buffer.dep.yml +1 -1
- data/.licenses/go/go.uber.org/zap/internal/bufferpool.dep.yml +1 -1
- data/.licenses/go/go.uber.org/zap/internal/color.dep.yml +1 -1
- data/.licenses/go/go.uber.org/zap/internal/exit.dep.yml +1 -1
- data/.licenses/go/go.uber.org/zap/zapcore.dep.yml +1 -1
- data/README.md +8 -7
- data/controller.go +23 -10
- data/go.mod +3 -3
- data/go.sum +22 -23
- data/lib/generators/planetscale/install_generator.rb +5 -5
- data/lib/planetscale.rb +12 -12
- data/lib/planetscale/version.rb +1 -1
- data/planetscale.gemspec +1 -1
- data/proxy/planetscale-darwin.so +0 -0
- data/proxy/planetscale-linux.so +0 -0
- data/vendor/github.com/planetscale/planetscale-go/LICENSE +202 -0
- data/vendor/github.com/planetscale/planetscale-go/planetscale/audit_logs.go +136 -0
- data/vendor/github.com/planetscale/planetscale-go/planetscale/branches.go +5 -3
- data/vendor/github.com/planetscale/planetscale-go/planetscale/certs.go +40 -16
- data/vendor/github.com/planetscale/planetscale-go/planetscale/client.go +13 -6
- data/vendor/github.com/planetscale/planetscale-go/planetscale/databases.go +2 -0
- data/vendor/github.com/planetscale/planetscale-go/planetscale/regions.go +52 -0
- data/vendor/github.com/planetscale/planetscale-go/planetscale/service_tokens.go +1 -1
- data/vendor/github.com/planetscale/sql-proxy/LICENSE +202 -0
- data/vendor/github.com/planetscale/sql-proxy/proxy/client.go +17 -8
- data/vendor/go.uber.org/zap/CHANGELOG.md +60 -0
- data/vendor/go.uber.org/zap/CONTRIBUTING.md +0 -6
- data/vendor/go.uber.org/zap/FAQ.md +8 -0
- data/vendor/go.uber.org/zap/Makefile +13 -3
- data/vendor/go.uber.org/zap/README.md +4 -4
- data/vendor/go.uber.org/zap/buffer/buffer.go +18 -0
- data/vendor/go.uber.org/zap/field.go +10 -0
- data/vendor/go.uber.org/zap/go.mod +7 -6
- data/vendor/go.uber.org/zap/go.sum +25 -27
- data/vendor/go.uber.org/zap/http_handler.go +75 -24
- data/vendor/go.uber.org/zap/logger.go +11 -7
- data/vendor/go.uber.org/zap/options.go +8 -0
- data/vendor/go.uber.org/zap/sugar.go +21 -10
- data/vendor/go.uber.org/zap/zapcore/buffered_write_syncer.go +188 -0
- data/vendor/go.uber.org/zap/zapcore/clock.go +50 -0
- data/vendor/go.uber.org/zap/zapcore/console_encoder.go +1 -1
- data/vendor/go.uber.org/zap/zapcore/entry.go +2 -2
- data/vendor/go.uber.org/zap/zapcore/error.go +18 -1
- data/vendor/go.uber.org/zap/zapcore/field.go +7 -1
- data/vendor/go.uber.org/zap/zapcore/write_syncer.go +1 -2
- data/vendor/modules.txt +3 -3
- metadata +11 -5
- data/vendor/go.uber.org/zap/.travis.yml +0 -23
@@ -91,8 +91,7 @@ func NewMultiWriteSyncer(ws ...WriteSyncer) WriteSyncer {
|
|
91
91
|
if len(ws) == 1 {
|
92
92
|
return ws[0]
|
93
93
|
}
|
94
|
-
|
95
|
-
return multiWriteSyncer(append([]WriteSyncer(nil), ws...))
|
94
|
+
return multiWriteSyncer(ws)
|
96
95
|
}
|
97
96
|
|
98
97
|
// See https://golang.org/src/io/multi.go
|
data/vendor/modules.txt
CHANGED
@@ -14,17 +14,17 @@ github.com/hashicorp/go-cleanhttp
|
|
14
14
|
github.com/mitchellh/go-homedir
|
15
15
|
# github.com/pkg/errors v0.9.1
|
16
16
|
github.com/pkg/errors
|
17
|
-
# github.com/planetscale/planetscale-go v0.
|
17
|
+
# github.com/planetscale/planetscale-go v0.36.0
|
18
18
|
## explicit
|
19
19
|
github.com/planetscale/planetscale-go/planetscale
|
20
|
-
# github.com/planetscale/sql-proxy v0.
|
20
|
+
# github.com/planetscale/sql-proxy v0.8.0
|
21
21
|
## explicit
|
22
22
|
github.com/planetscale/sql-proxy/proxy
|
23
23
|
# go.uber.org/atomic v1.7.0
|
24
24
|
go.uber.org/atomic
|
25
25
|
# go.uber.org/multierr v1.6.0
|
26
26
|
go.uber.org/multierr
|
27
|
-
# go.uber.org/zap v1.
|
27
|
+
# go.uber.org/zap v1.18.1
|
28
28
|
## explicit
|
29
29
|
go.uber.org/zap
|
30
30
|
go.uber.org/zap/buffer
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: planetscale
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nick Van Wiggeren
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: exe
|
12
12
|
cert_chain: []
|
13
|
-
date: 2021-
|
13
|
+
date: 2021-07-26 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: bundler
|
@@ -18,14 +18,14 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - "~>"
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: '2
|
21
|
+
version: '2'
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
26
|
- - "~>"
|
27
27
|
- !ruby/object:Gem::Version
|
28
|
-
version: '2
|
28
|
+
version: '2'
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: rake
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
@@ -89,6 +89,7 @@ executables: []
|
|
89
89
|
extensions: []
|
90
90
|
extra_rdoc_files: []
|
91
91
|
files:
|
92
|
+
- ".buildkite/pipeline.yml"
|
92
93
|
- ".github/workflows/ci.yml"
|
93
94
|
- ".github/workflows/gem-push.yml"
|
94
95
|
- ".github/workflows/licensed.yml"
|
@@ -180,6 +181,8 @@ files:
|
|
180
181
|
- vendor/github.com/pkg/errors/errors.go
|
181
182
|
- vendor/github.com/pkg/errors/go113.go
|
182
183
|
- vendor/github.com/pkg/errors/stack.go
|
184
|
+
- vendor/github.com/planetscale/planetscale-go/LICENSE
|
185
|
+
- vendor/github.com/planetscale/planetscale-go/planetscale/audit_logs.go
|
183
186
|
- vendor/github.com/planetscale/planetscale-go/planetscale/backups.go
|
184
187
|
- vendor/github.com/planetscale/planetscale-go/planetscale/branches.go
|
185
188
|
- vendor/github.com/planetscale/planetscale-go/planetscale/certs.go
|
@@ -187,7 +190,9 @@ files:
|
|
187
190
|
- vendor/github.com/planetscale/planetscale-go/planetscale/databases.go
|
188
191
|
- vendor/github.com/planetscale/planetscale-go/planetscale/deploy_requests.go
|
189
192
|
- vendor/github.com/planetscale/planetscale-go/planetscale/organizations.go
|
193
|
+
- vendor/github.com/planetscale/planetscale-go/planetscale/regions.go
|
190
194
|
- vendor/github.com/planetscale/planetscale-go/planetscale/service_tokens.go
|
195
|
+
- vendor/github.com/planetscale/sql-proxy/LICENSE
|
191
196
|
- vendor/github.com/planetscale/sql-proxy/proxy/client.go
|
192
197
|
- vendor/github.com/planetscale/sql-proxy/proxy/tls_cache.go
|
193
198
|
- vendor/go.uber.org/atomic/.codecov.yml
|
@@ -232,7 +237,6 @@ files:
|
|
232
237
|
- vendor/go.uber.org/zap/.codecov.yml
|
233
238
|
- vendor/go.uber.org/zap/.gitignore
|
234
239
|
- vendor/go.uber.org/zap/.readme.tmpl
|
235
|
-
- vendor/go.uber.org/zap/.travis.yml
|
236
240
|
- vendor/go.uber.org/zap/CHANGELOG.md
|
237
241
|
- vendor/go.uber.org/zap/CODE_OF_CONDUCT.md
|
238
242
|
- vendor/go.uber.org/zap/CONTRIBUTING.md
|
@@ -268,6 +272,8 @@ files:
|
|
268
272
|
- vendor/go.uber.org/zap/sugar.go
|
269
273
|
- vendor/go.uber.org/zap/time.go
|
270
274
|
- vendor/go.uber.org/zap/writer.go
|
275
|
+
- vendor/go.uber.org/zap/zapcore/buffered_write_syncer.go
|
276
|
+
- vendor/go.uber.org/zap/zapcore/clock.go
|
271
277
|
- vendor/go.uber.org/zap/zapcore/console_encoder.go
|
272
278
|
- vendor/go.uber.org/zap/zapcore/core.go
|
273
279
|
- vendor/go.uber.org/zap/zapcore/doc.go
|
@@ -1,23 +0,0 @@
|
|
1
|
-
language: go
|
2
|
-
sudo: false
|
3
|
-
|
4
|
-
go_import_path: go.uber.org/zap
|
5
|
-
env:
|
6
|
-
global:
|
7
|
-
- TEST_TIMEOUT_SCALE=10
|
8
|
-
- GO111MODULE=on
|
9
|
-
|
10
|
-
matrix:
|
11
|
-
include:
|
12
|
-
- go: 1.13.x
|
13
|
-
- go: 1.14.x
|
14
|
-
env: LINT=1
|
15
|
-
|
16
|
-
script:
|
17
|
-
- test -z "$LINT" || make lint
|
18
|
-
- make test
|
19
|
-
- make bench
|
20
|
-
|
21
|
-
after_success:
|
22
|
-
- make cover
|
23
|
-
- bash <(curl -s https://codecov.io/bash)
|