pbio 0.3.2 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/test.yml +2 -22
- data/.rubocop.yml +18 -7
- data/.tool-versions +1 -0
- data/Gemfile +6 -1
- data/Gemfile.lock +53 -42
- data/go.mod +2 -2
- data/go.sum +4 -8
- data/pbio.gemspec +3 -8
- metadata +14 -67
- data/.github/workflows/lint.yml +0 -20
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fd4152410f60d232df199da55eeeccced3b9dfd06eb423ac67ed3ac2acc716c5
|
|
4
|
+
data.tar.gz: 5d2b3036cfefeff24f302e0248626bb86c8ac6f547d399cb881e7851e38a12bf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7d8af300a8c370caad49add43a7ba79367f25e1d9a649ac708910798c76f828433c520a71c12359f108d931976281ac0233116c4aed89955864bfd5702ffebcc
|
|
7
|
+
data.tar.gz: b13e70d6703cae28638decb9a1784136982402e4e6c631a9dc71798c28be33908e5c4f76928fb8a37774688bd3e7d5088b9924f08d529b0eedc427b1bb75b0b3
|
data/.github/workflows/test.yml
CHANGED
|
@@ -8,26 +8,6 @@ on:
|
|
|
8
8
|
- main
|
|
9
9
|
jobs:
|
|
10
10
|
go:
|
|
11
|
-
|
|
12
|
-
strategy:
|
|
13
|
-
matrix:
|
|
14
|
-
go-version: [1.17.x, 1.18.x]
|
|
15
|
-
steps:
|
|
16
|
-
- uses: actions/checkout@v3
|
|
17
|
-
- uses: actions/setup-go@v3
|
|
18
|
-
with:
|
|
19
|
-
go-version: ${{ matrix.go-version }}
|
|
20
|
-
cache: true
|
|
21
|
-
- run: make test
|
|
11
|
+
uses: bsm/misc/.github/workflows/test-go.yml@main
|
|
22
12
|
ruby:
|
|
23
|
-
|
|
24
|
-
strategy:
|
|
25
|
-
matrix:
|
|
26
|
-
ruby-version: ["2.7", "3.0", "3.1"]
|
|
27
|
-
steps:
|
|
28
|
-
- uses: actions/checkout@v3
|
|
29
|
-
- uses: ruby/setup-ruby@v1
|
|
30
|
-
with:
|
|
31
|
-
ruby-version: ${{ matrix.ruby-version }}
|
|
32
|
-
bundler-cache: true
|
|
33
|
-
- run: bundle exec rake
|
|
13
|
+
uses: bsm/misc/.github/workflows/test-ruby.yml@main
|
data/.rubocop.yml
CHANGED
|
@@ -1,9 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
rubocop-
|
|
3
|
-
|
|
4
|
-
inherit_mode:
|
|
5
|
-
merge:
|
|
6
|
-
- Exclude
|
|
1
|
+
plugins:
|
|
2
|
+
- rubocop-rake
|
|
3
|
+
- rubocop-rspec
|
|
7
4
|
|
|
8
5
|
AllCops:
|
|
9
|
-
|
|
6
|
+
NewCops: enable
|
|
7
|
+
|
|
8
|
+
Style/FrozenStringLiteralComment:
|
|
9
|
+
Enabled: false
|
|
10
|
+
Layout/SpaceInsideBlockBraces:
|
|
11
|
+
SpaceBeforeBlockParameters: false
|
|
12
|
+
|
|
13
|
+
RSpec/ExampleLength:
|
|
14
|
+
Enabled: false
|
|
15
|
+
RSpec/IndexedLet:
|
|
16
|
+
Enabled: false
|
|
17
|
+
RSpec/NamedSubject:
|
|
18
|
+
Enabled: false
|
|
19
|
+
RSpec/MultipleExpectations:
|
|
20
|
+
Enabled: false
|
data/.tool-versions
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
ruby 3.4.7
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,62 +1,73 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
pbio (0.
|
|
5
|
-
google-protobuf
|
|
4
|
+
pbio (0.4.0)
|
|
5
|
+
google-protobuf (> 3, < 4)
|
|
6
6
|
|
|
7
7
|
GEM
|
|
8
|
-
remote:
|
|
8
|
+
remote: https://rubygems.org/
|
|
9
9
|
specs:
|
|
10
|
-
ast (2.4.
|
|
11
|
-
diff-lcs (1.
|
|
12
|
-
google-protobuf (3.
|
|
13
|
-
json (2.
|
|
14
|
-
|
|
15
|
-
|
|
10
|
+
ast (2.4.3)
|
|
11
|
+
diff-lcs (1.6.2)
|
|
12
|
+
google-protobuf (3.25.8)
|
|
13
|
+
json (2.15.2)
|
|
14
|
+
language_server-protocol (3.17.0.5)
|
|
15
|
+
lint_roller (1.1.0)
|
|
16
|
+
parallel (1.27.0)
|
|
17
|
+
parser (3.3.10.0)
|
|
16
18
|
ast (~> 2.4.1)
|
|
19
|
+
racc
|
|
20
|
+
prism (1.6.0)
|
|
21
|
+
racc (1.8.1)
|
|
17
22
|
rainbow (3.1.1)
|
|
18
|
-
rake (13.
|
|
19
|
-
regexp_parser (2.
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
rspec-
|
|
23
|
-
rspec-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
rspec-expectations (3.11.1)
|
|
23
|
+
rake (13.3.1)
|
|
24
|
+
regexp_parser (2.11.3)
|
|
25
|
+
rspec (3.13.2)
|
|
26
|
+
rspec-core (~> 3.13.0)
|
|
27
|
+
rspec-expectations (~> 3.13.0)
|
|
28
|
+
rspec-mocks (~> 3.13.0)
|
|
29
|
+
rspec-core (3.13.6)
|
|
30
|
+
rspec-support (~> 3.13.0)
|
|
31
|
+
rspec-expectations (3.13.5)
|
|
28
32
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
29
|
-
rspec-support (~> 3.
|
|
30
|
-
rspec-mocks (3.
|
|
33
|
+
rspec-support (~> 3.13.0)
|
|
34
|
+
rspec-mocks (3.13.7)
|
|
31
35
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
32
|
-
rspec-support (~> 3.
|
|
33
|
-
rspec-support (3.
|
|
34
|
-
rubocop (1.
|
|
36
|
+
rspec-support (~> 3.13.0)
|
|
37
|
+
rspec-support (3.13.6)
|
|
38
|
+
rubocop (1.81.7)
|
|
35
39
|
json (~> 2.3)
|
|
40
|
+
language_server-protocol (~> 3.17.0.2)
|
|
41
|
+
lint_roller (~> 1.1.0)
|
|
36
42
|
parallel (~> 1.10)
|
|
37
|
-
parser (>= 3.
|
|
43
|
+
parser (>= 3.3.0.2)
|
|
38
44
|
rainbow (>= 2.2.2, < 4.0)
|
|
39
|
-
regexp_parser (>=
|
|
40
|
-
|
|
41
|
-
rubocop-ast (>= 1.20.1, < 2.0)
|
|
45
|
+
regexp_parser (>= 2.9.3, < 3.0)
|
|
46
|
+
rubocop-ast (>= 1.47.1, < 2.0)
|
|
42
47
|
ruby-progressbar (~> 1.7)
|
|
43
|
-
unicode-display_width (>=
|
|
44
|
-
rubocop-ast (1.
|
|
45
|
-
parser (>= 3.
|
|
46
|
-
|
|
48
|
+
unicode-display_width (>= 2.4.0, < 4.0)
|
|
49
|
+
rubocop-ast (1.47.1)
|
|
50
|
+
parser (>= 3.3.7.2)
|
|
51
|
+
prism (~> 1.4)
|
|
52
|
+
rubocop-bsm (0.6.1)
|
|
47
53
|
rubocop (~> 1.0)
|
|
48
54
|
rubocop-performance
|
|
49
55
|
rubocop-rake
|
|
50
56
|
rubocop-rspec
|
|
51
|
-
rubocop-performance (1.
|
|
52
|
-
|
|
53
|
-
rubocop
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
rubocop (
|
|
58
|
-
|
|
59
|
-
|
|
57
|
+
rubocop-performance (1.26.1)
|
|
58
|
+
lint_roller (~> 1.1)
|
|
59
|
+
rubocop (>= 1.75.0, < 2.0)
|
|
60
|
+
rubocop-ast (>= 1.47.1, < 2.0)
|
|
61
|
+
rubocop-rake (0.7.1)
|
|
62
|
+
lint_roller (~> 1.1)
|
|
63
|
+
rubocop (>= 1.72.1)
|
|
64
|
+
rubocop-rspec (3.7.0)
|
|
65
|
+
lint_roller (~> 1.1)
|
|
66
|
+
rubocop (~> 1.72, >= 1.72.1)
|
|
67
|
+
ruby-progressbar (1.13.0)
|
|
68
|
+
unicode-display_width (3.2.0)
|
|
69
|
+
unicode-emoji (~> 4.1)
|
|
70
|
+
unicode-emoji (4.1.0)
|
|
60
71
|
|
|
61
72
|
PLATFORMS
|
|
62
73
|
ruby
|
|
@@ -69,4 +80,4 @@ DEPENDENCIES
|
|
|
69
80
|
rubocop-bsm
|
|
70
81
|
|
|
71
82
|
BUNDLED WITH
|
|
72
|
-
2.
|
|
83
|
+
2.7.2
|
data/go.mod
CHANGED
data/go.sum
CHANGED
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
github.com/
|
|
2
|
-
github.com/google/go-cmp v0.
|
|
3
|
-
|
|
4
|
-
golang.org/
|
|
5
|
-
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
|
|
6
|
-
google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw=
|
|
7
|
-
google.golang.org/protobuf v1.28.1 h1:d0NfwRgPtno5B1Wa6L2DAG+KivqkdutMf1UhdNx175w=
|
|
8
|
-
google.golang.org/protobuf v1.28.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I=
|
|
1
|
+
github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8=
|
|
2
|
+
github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU=
|
|
3
|
+
google.golang.org/protobuf v1.36.10 h1:AYd7cD/uASjIL6Q9LiTjz8JLcrh/88q5UObnmY3aOOE=
|
|
4
|
+
google.golang.org/protobuf v1.36.10/go.mod h1:HTf+CrKn2C3g5S8VImy6tdcUvCska2kB7j23XfzDpco=
|
data/pbio.gemspec
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Gem::Specification.new do |s|
|
|
2
2
|
s.name = 'pbio'
|
|
3
|
-
s.version = '0.
|
|
3
|
+
s.version = '0.4.0'
|
|
4
4
|
s.authors = ['Dimitrij Denissenko']
|
|
5
5
|
s.email = ['dimitrij@blacksquaremedia.com']
|
|
6
6
|
s.summary = 'Protobuf Streaming'
|
|
@@ -10,13 +10,8 @@ Gem::Specification.new do |s|
|
|
|
10
10
|
|
|
11
11
|
s.files = `git ls-files -z`.split("\x0").reject {|f| f.match(%r{^spec/}) }
|
|
12
12
|
s.require_paths = ['lib']
|
|
13
|
-
s.required_ruby_version = '>= 2
|
|
13
|
+
s.required_ruby_version = '>= 3.2'
|
|
14
14
|
|
|
15
|
-
s.add_dependency 'google-protobuf'
|
|
16
|
-
|
|
17
|
-
s.add_development_dependency 'bundler'
|
|
18
|
-
s.add_development_dependency 'rake'
|
|
19
|
-
s.add_development_dependency 'rspec'
|
|
20
|
-
s.add_development_dependency 'rubocop-bsm'
|
|
15
|
+
s.add_dependency 'google-protobuf', '> 3', '< 4'
|
|
21
16
|
s.metadata['rubygems_mfa_required'] = 'true'
|
|
22
17
|
end
|
metadata
CHANGED
|
@@ -1,85 +1,34 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pbio
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.4.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dimitrij Denissenko
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: bin
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: google-protobuf
|
|
15
14
|
requirement: !ruby/object:Gem::Requirement
|
|
16
15
|
requirements:
|
|
17
|
-
- - "
|
|
16
|
+
- - ">"
|
|
18
17
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: '
|
|
20
|
-
|
|
21
|
-
prerelease: false
|
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
-
requirements:
|
|
24
|
-
- - ">="
|
|
25
|
-
- !ruby/object:Gem::Version
|
|
26
|
-
version: '0'
|
|
27
|
-
- !ruby/object:Gem::Dependency
|
|
28
|
-
name: bundler
|
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
|
30
|
-
requirements:
|
|
31
|
-
- - ">="
|
|
32
|
-
- !ruby/object:Gem::Version
|
|
33
|
-
version: '0'
|
|
34
|
-
type: :development
|
|
35
|
-
prerelease: false
|
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
37
|
-
requirements:
|
|
38
|
-
- - ">="
|
|
39
|
-
- !ruby/object:Gem::Version
|
|
40
|
-
version: '0'
|
|
41
|
-
- !ruby/object:Gem::Dependency
|
|
42
|
-
name: rake
|
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
|
44
|
-
requirements:
|
|
45
|
-
- - ">="
|
|
18
|
+
version: '3'
|
|
19
|
+
- - "<"
|
|
46
20
|
- !ruby/object:Gem::Version
|
|
47
|
-
version: '
|
|
48
|
-
type: :
|
|
49
|
-
prerelease: false
|
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
51
|
-
requirements:
|
|
52
|
-
- - ">="
|
|
53
|
-
- !ruby/object:Gem::Version
|
|
54
|
-
version: '0'
|
|
55
|
-
- !ruby/object:Gem::Dependency
|
|
56
|
-
name: rspec
|
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
|
58
|
-
requirements:
|
|
59
|
-
- - ">="
|
|
60
|
-
- !ruby/object:Gem::Version
|
|
61
|
-
version: '0'
|
|
62
|
-
type: :development
|
|
21
|
+
version: '4'
|
|
22
|
+
type: :runtime
|
|
63
23
|
prerelease: false
|
|
64
24
|
version_requirements: !ruby/object:Gem::Requirement
|
|
65
25
|
requirements:
|
|
66
|
-
- - "
|
|
67
|
-
- !ruby/object:Gem::Version
|
|
68
|
-
version: '0'
|
|
69
|
-
- !ruby/object:Gem::Dependency
|
|
70
|
-
name: rubocop-bsm
|
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
|
72
|
-
requirements:
|
|
73
|
-
- - ">="
|
|
26
|
+
- - ">"
|
|
74
27
|
- !ruby/object:Gem::Version
|
|
75
|
-
version: '
|
|
76
|
-
|
|
77
|
-
prerelease: false
|
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
79
|
-
requirements:
|
|
80
|
-
- - ">="
|
|
28
|
+
version: '3'
|
|
29
|
+
- - "<"
|
|
81
30
|
- !ruby/object:Gem::Version
|
|
82
|
-
version: '
|
|
31
|
+
version: '4'
|
|
83
32
|
description: ''
|
|
84
33
|
email:
|
|
85
34
|
- dimitrij@blacksquaremedia.com
|
|
@@ -87,10 +36,10 @@ executables: []
|
|
|
87
36
|
extensions: []
|
|
88
37
|
extra_rdoc_files: []
|
|
89
38
|
files:
|
|
90
|
-
- ".github/workflows/lint.yml"
|
|
91
39
|
- ".github/workflows/test.yml"
|
|
92
40
|
- ".gitignore"
|
|
93
41
|
- ".rubocop.yml"
|
|
42
|
+
- ".tool-versions"
|
|
94
43
|
- Gemfile
|
|
95
44
|
- Gemfile.lock
|
|
96
45
|
- LICENSE
|
|
@@ -109,7 +58,6 @@ licenses:
|
|
|
109
58
|
- MIT
|
|
110
59
|
metadata:
|
|
111
60
|
rubygems_mfa_required: 'true'
|
|
112
|
-
post_install_message:
|
|
113
61
|
rdoc_options: []
|
|
114
62
|
require_paths:
|
|
115
63
|
- lib
|
|
@@ -117,15 +65,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
117
65
|
requirements:
|
|
118
66
|
- - ">="
|
|
119
67
|
- !ruby/object:Gem::Version
|
|
120
|
-
version: '2
|
|
68
|
+
version: '3.2'
|
|
121
69
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
122
70
|
requirements:
|
|
123
71
|
- - ">="
|
|
124
72
|
- !ruby/object:Gem::Version
|
|
125
73
|
version: '0'
|
|
126
74
|
requirements: []
|
|
127
|
-
rubygems_version: 3.
|
|
128
|
-
signing_key:
|
|
75
|
+
rubygems_version: 3.7.2
|
|
129
76
|
specification_version: 4
|
|
130
77
|
summary: Protobuf Streaming
|
|
131
78
|
test_files: []
|
data/.github/workflows/lint.yml
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
name: Lint
|
|
2
|
-
on:
|
|
3
|
-
push:
|
|
4
|
-
branches:
|
|
5
|
-
- main
|
|
6
|
-
pull_request:
|
|
7
|
-
branches:
|
|
8
|
-
- main
|
|
9
|
-
jobs:
|
|
10
|
-
golangci:
|
|
11
|
-
runs-on: ubuntu-latest
|
|
12
|
-
steps:
|
|
13
|
-
- uses: actions/checkout@v3
|
|
14
|
-
- uses: actions/setup-go@v3
|
|
15
|
-
with:
|
|
16
|
-
go-version: 1.18.x
|
|
17
|
-
cache: true
|
|
18
|
-
- uses: golangci/golangci-lint-action@v3
|
|
19
|
-
with:
|
|
20
|
-
version: latest
|