fluent-plugin-formatter-protobuf 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/dependabot.yml +9 -0
- data/.github/workflows/build-and-test.yml +24 -7
- data/.github/workflows/release-please.yml +2 -1
- data/CHANGELOG.md +7 -0
- data/fluent-plugin-formatter-protobuf.gemspec +1 -1
- data/lib/fluent/plugin/version.rb +1 -1
- data/renovate.json5 +35 -0
- data/test/integration/Gemfile +2 -2
- data/test/integration/Gemfile.lock +17 -15
- data/test/integration/run.sh +1 -1
- metadata +7 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '084a41df7e74930e6f492a29c918e463f3dcb879634928129022d3112c6882ec'
|
4
|
+
data.tar.gz: f4c257fb2fc700bcb536b5e95ede0792514cb9c4cfb4052127da65c998c49a7d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6f9950e7d8b44e8e97ec723f70d6699789f9cc37c825fa7e52dcc68e88b0006dd9551920496b3e71a1076cb0554b2654c381a38cf1b8a64453be2d8d2cf530ab
|
7
|
+
data.tar.gz: c254887ad3a6a3236f8183bf4664996be4bbc92f4d7167f7e6399d3ce3f3ed48352353435a0a7dd8a4159e91f2ccf93b62ca89a8f8062594776e44f90b225863
|
@@ -18,37 +18,54 @@ jobs:
|
|
18
18
|
uses: ruby/setup-ruby@v1
|
19
19
|
with:
|
20
20
|
bundler-cache: true
|
21
|
-
- name: "
|
21
|
+
- name: "Linting"
|
22
22
|
run: "bundle exec rake lint:check"
|
23
23
|
|
24
24
|
test:
|
25
|
-
name: Unit
|
25
|
+
name: Unit testing with Ruby version ${{ matrix.ruby-version }}
|
26
26
|
runs-on: ubuntu-latest
|
27
27
|
permissions:
|
28
28
|
packages: write
|
29
29
|
contents: read
|
30
|
-
|
30
|
+
strategy:
|
31
|
+
matrix:
|
32
|
+
ruby-version:
|
33
|
+
- '3.1'
|
34
|
+
- '3.0'
|
35
|
+
- '2.7'
|
36
|
+
- '2.6'
|
37
|
+
- '2.5'
|
31
38
|
steps:
|
32
39
|
- uses: actions/checkout@v2
|
33
|
-
- name: Set up Ruby
|
40
|
+
- name: Set up Ruby
|
34
41
|
uses: ruby/setup-ruby@v1
|
35
42
|
with:
|
36
43
|
bundler-cache: true
|
44
|
+
ruby-version: ${{ matrix.ruby-version }}
|
37
45
|
- name: "Unit test"
|
38
46
|
run: "bundle exec rake test:unit"
|
39
47
|
|
40
48
|
build:
|
41
|
-
name:
|
49
|
+
name: Building gem with Ruby version ${{ matrix.ruby-version }}
|
42
50
|
runs-on: ubuntu-latest
|
43
51
|
permissions:
|
44
52
|
packages: write
|
45
53
|
contents: read
|
54
|
+
strategy:
|
55
|
+
matrix:
|
56
|
+
ruby-version:
|
57
|
+
- '3.1'
|
58
|
+
- '3.0'
|
59
|
+
- '2.7'
|
60
|
+
- '2.6'
|
61
|
+
- '2.5'
|
46
62
|
|
47
63
|
steps:
|
48
64
|
- uses: actions/checkout@v2
|
49
|
-
- name: Set up Ruby
|
65
|
+
- name: Set up Ruby
|
50
66
|
uses: ruby/setup-ruby@v1
|
51
67
|
with:
|
52
68
|
bundler-cache: true
|
53
|
-
|
69
|
+
ruby-version: ${{ matrix.ruby-version }}
|
70
|
+
- name: "Building gem"
|
54
71
|
run: "bundle exec rake build"
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,12 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [0.5.0](https://www.github.com/fluent-plugins-nursery/fluent-plugin-formatter-protobuf/compare/v0.4.0...v0.5.0) (2022-08-01)
|
4
|
+
|
5
|
+
|
6
|
+
### Features
|
7
|
+
|
8
|
+
* **deps:** Bump google-protobuf to 3.21 for Ruby 3.1 projects ([b2ea32d](https://www.github.com/fluent-plugins-nursery/fluent-plugin-formatter-protobuf/commit/b2ea32d60a0b4c32d59e295acbf8612fba64d4a7))
|
9
|
+
|
3
10
|
## [0.4.0](https://www.github.com/fluent-plugins-nursery/fluent-plugin-formatter-protobuf/compare/v0.3.0...v0.4.0) (2022-04-11)
|
4
11
|
|
5
12
|
|
@@ -35,6 +35,6 @@ Gem::Specification.new do |spec|
|
|
35
35
|
spec.add_development_dependency 'rubocop-rake', '~> 0.6'
|
36
36
|
spec.add_development_dependency 'test-unit', '~> 3.3'
|
37
37
|
spec.add_runtime_dependency 'fluentd', ['>= 1.0', '< 2']
|
38
|
-
spec.add_runtime_dependency 'google-protobuf', ['~> 3.
|
38
|
+
spec.add_runtime_dependency 'google-protobuf', ['~> 3.21']
|
39
39
|
spec.add_runtime_dependency 'oj', '~> 3.13'
|
40
40
|
end
|
data/renovate.json5
ADDED
@@ -0,0 +1,35 @@
|
|
1
|
+
{
|
2
|
+
extends: [
|
3
|
+
"config:base",
|
4
|
+
":semanticCommits",
|
5
|
+
":semanticCommitTypeAll(chore)",
|
6
|
+
"schedule:monthly"
|
7
|
+
],
|
8
|
+
labels: [
|
9
|
+
"dependencies"
|
10
|
+
],
|
11
|
+
vulnerabilityAlerts: {
|
12
|
+
enabled: true,
|
13
|
+
automerge: true,
|
14
|
+
},
|
15
|
+
packageRules: [
|
16
|
+
{
|
17
|
+
matchManagers: [
|
18
|
+
"bundler",
|
19
|
+
"dockerfile",
|
20
|
+
"docker-compose",
|
21
|
+
],
|
22
|
+
groupName: "dependencies"
|
23
|
+
},
|
24
|
+
{
|
25
|
+
matchManagers: [
|
26
|
+
"ruby-version",
|
27
|
+
],
|
28
|
+
commitBody: "BREAKING CHANGE: Updating ruby runtime versions",
|
29
|
+
commitMessagePrefix: 'chore(deps)!:',
|
30
|
+
matchUpdateTypes: [
|
31
|
+
"major"
|
32
|
+
],
|
33
|
+
}
|
34
|
+
]
|
35
|
+
}
|
data/test/integration/Gemfile
CHANGED
@@ -1,45 +1,47 @@
|
|
1
1
|
GEM
|
2
2
|
remote: https://rubygems.org/
|
3
3
|
specs:
|
4
|
-
concurrent-ruby (1.1.
|
4
|
+
concurrent-ruby (1.1.10)
|
5
5
|
cool.io (1.7.1)
|
6
|
-
fluent-plugin-formatter-protobuf (0.
|
6
|
+
fluent-plugin-formatter-protobuf (0.4.0)
|
7
7
|
fluentd (>= 1.0, < 2)
|
8
8
|
google-protobuf (~> 3.18)
|
9
|
-
|
9
|
+
oj (~> 3.13)
|
10
|
+
fluentd (1.15.1)
|
10
11
|
bundler
|
11
12
|
cool.io (>= 1.4.5, < 2.0.0)
|
12
|
-
http_parser.rb (>= 0.5.1, < 0.
|
13
|
+
http_parser.rb (>= 0.5.1, < 0.9.0)
|
13
14
|
msgpack (>= 1.3.1, < 2.0.0)
|
14
|
-
serverengine (>= 2.
|
15
|
+
serverengine (>= 2.3.0, < 3.0.0)
|
15
16
|
sigdump (~> 0.2.2)
|
16
17
|
strptime (>= 0.2.4, < 1.0.0)
|
17
18
|
tzinfo (>= 1.0, < 3.0)
|
18
19
|
tzinfo-data (~> 1.0)
|
19
20
|
webrick (>= 1.4.2, < 1.8.0)
|
20
21
|
yajl-ruby (~> 1.0)
|
21
|
-
google-protobuf (3.
|
22
|
-
google-protobuf (3.
|
23
|
-
http_parser.rb (0.
|
24
|
-
msgpack (1.4
|
25
|
-
|
22
|
+
google-protobuf (3.21.4)
|
23
|
+
google-protobuf (3.21.4-x86_64-linux)
|
24
|
+
http_parser.rb (0.8.0)
|
25
|
+
msgpack (1.5.4)
|
26
|
+
oj (3.13.19)
|
27
|
+
serverengine (2.3.0)
|
26
28
|
sigdump (~> 0.2.2)
|
27
29
|
sigdump (0.2.4)
|
28
30
|
strptime (0.2.5)
|
29
|
-
tzinfo (2.0.
|
31
|
+
tzinfo (2.0.5)
|
30
32
|
concurrent-ruby (~> 1.0)
|
31
|
-
tzinfo-data (1.
|
33
|
+
tzinfo-data (1.2022.1)
|
32
34
|
tzinfo (>= 1.0.0)
|
33
35
|
webrick (1.7.0)
|
34
|
-
yajl-ruby (1.4.
|
36
|
+
yajl-ruby (1.4.3)
|
35
37
|
|
36
38
|
PLATFORMS
|
37
39
|
ruby
|
38
40
|
x86_64-linux
|
39
41
|
|
40
42
|
DEPENDENCIES
|
41
|
-
fluent-plugin-formatter-protobuf (= 0.
|
42
|
-
fluentd (= 1.
|
43
|
+
fluent-plugin-formatter-protobuf (= 0.4.0)
|
44
|
+
fluentd (= 1.15.1)
|
43
45
|
|
44
46
|
BUNDLED WITH
|
45
47
|
2.2.29
|
data/test/integration/run.sh
CHANGED
@@ -9,4 +9,4 @@ docker run -it --rm \
|
|
9
9
|
-w '/opt/fluent-plugin-formatter-protobuf/' \
|
10
10
|
-e OUT_FILE="./out" \
|
11
11
|
-p 5170:5170 \
|
12
|
-
ruby:
|
12
|
+
ruby:3.0.1 sh -c 'bundle install && fluentd -c /opt/fluent-plugin-formatter-protobuf/fluent.conf'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent-plugin-formatter-protobuf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ray Tung
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-08-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -106,14 +106,14 @@ dependencies:
|
|
106
106
|
requirements:
|
107
107
|
- - "~>"
|
108
108
|
- !ruby/object:Gem::Version
|
109
|
-
version: '3.
|
109
|
+
version: '3.21'
|
110
110
|
type: :runtime
|
111
111
|
prerelease: false
|
112
112
|
version_requirements: !ruby/object:Gem::Requirement
|
113
113
|
requirements:
|
114
114
|
- - "~>"
|
115
115
|
- !ruby/object:Gem::Version
|
116
|
-
version: '3.
|
116
|
+
version: '3.21'
|
117
117
|
- !ruby/object:Gem::Dependency
|
118
118
|
name: oj
|
119
119
|
requirement: !ruby/object:Gem::Requirement
|
@@ -136,6 +136,7 @@ executables: []
|
|
136
136
|
extensions: []
|
137
137
|
extra_rdoc_files: []
|
138
138
|
files:
|
139
|
+
- ".github/dependabot.yml"
|
139
140
|
- ".github/workflows/build-and-test.yml"
|
140
141
|
- ".github/workflows/codeql-analysis.yml"
|
141
142
|
- ".github/workflows/release-please.yml"
|
@@ -155,6 +156,7 @@ files:
|
|
155
156
|
- lib/fluent/plugin/formatter_protobuf.rb
|
156
157
|
- lib/fluent/plugin/version.rb
|
157
158
|
- release-please-config.json
|
159
|
+
- renovate.json5
|
158
160
|
- test/helper.rb
|
159
161
|
- test/integration/Gemfile
|
160
162
|
- test/integration/Gemfile.lock
|
@@ -191,7 +193,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
191
193
|
version: '0'
|
192
194
|
requirements: []
|
193
195
|
rubyforge_project:
|
194
|
-
rubygems_version: 2.7.3
|
196
|
+
rubygems_version: 2.7.6.3
|
195
197
|
signing_key:
|
196
198
|
specification_version: 4
|
197
199
|
summary: Protobuf formatter for Fluentd
|