fluent-plugin-formatter-protobuf 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/build-and-test.yml +3 -3
- data/.github/workflows/publish.yml +6 -17
- data/.gitignore +2 -1
- data/.ruby-version +1 -1
- data/README.md +20 -3
- data/fluent-plugin-formatter-protobuf.gemspec +1 -1
- data/lib/fluent/plugin/version.rb +1 -1
- metadata +5 -5
- data/Gemfile.lock +0 -77
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9bcc9a5c80a25b6d30ebbabcbc6596db405738915dad875eb52570df1e793a0b
|
4
|
+
data.tar.gz: c05073cdb7b669ca81aa29b21fc46d2c50846072b38d3cd749f09666babc62f8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: efd71e67d8f9388d487d2d6de036c012a29847960f8eab02c39d8c6d08e7b6a20fb4a1c7d622b8fbdb1a06d67666d9a2885edcef2bbb769fc7f3278400102d46
|
7
|
+
data.tar.gz: 79a3e80a85c12df566a4e59b764487e9cb7e4d66962b0fcb0bbda6f8e840e8c64cc58a407ab948e256e19bf62aea46e0a9fe481b1c445966e9f3c6c2fed39ffe
|
@@ -14,7 +14,7 @@ jobs:
|
|
14
14
|
|
15
15
|
steps:
|
16
16
|
- uses: actions/checkout@v2
|
17
|
-
- name: Set up Ruby 2.
|
17
|
+
- name: Set up Ruby 2.5
|
18
18
|
uses: ruby/setup-ruby@v1
|
19
19
|
with:
|
20
20
|
bundler-cache: true
|
@@ -30,7 +30,7 @@ jobs:
|
|
30
30
|
|
31
31
|
steps:
|
32
32
|
- uses: actions/checkout@v2
|
33
|
-
- name: Set up Ruby 2.
|
33
|
+
- name: Set up Ruby 2.5
|
34
34
|
uses: ruby/setup-ruby@v1
|
35
35
|
with:
|
36
36
|
bundler-cache: true
|
@@ -46,7 +46,7 @@ jobs:
|
|
46
46
|
|
47
47
|
steps:
|
48
48
|
- uses: actions/checkout@v2
|
49
|
-
- name: Set up Ruby 2.
|
49
|
+
- name: Set up Ruby 2.5
|
50
50
|
uses: ruby/setup-ruby@v1
|
51
51
|
with:
|
52
52
|
bundler-cache: true
|
@@ -15,7 +15,7 @@ jobs:
|
|
15
15
|
|
16
16
|
steps:
|
17
17
|
- uses: actions/checkout@v2
|
18
|
-
- name: Set up Ruby 2.
|
18
|
+
- name: Set up Ruby 2.5
|
19
19
|
uses: ruby/setup-ruby@v1
|
20
20
|
with:
|
21
21
|
bundler-cache: true
|
@@ -31,7 +31,7 @@ jobs:
|
|
31
31
|
|
32
32
|
steps:
|
33
33
|
- uses: actions/checkout@v2
|
34
|
-
- name: Set up Ruby 2.
|
34
|
+
- name: Set up Ruby 2.5
|
35
35
|
uses: ruby/setup-ruby@v1
|
36
36
|
with:
|
37
37
|
bundler-cache: true
|
@@ -42,7 +42,7 @@ jobs:
|
|
42
42
|
needs:
|
43
43
|
- lint
|
44
44
|
- test
|
45
|
-
name: Build + Publish
|
45
|
+
name: Build + Publish to GPR
|
46
46
|
runs-on: ubuntu-latest
|
47
47
|
permissions:
|
48
48
|
packages: write
|
@@ -50,7 +50,7 @@ jobs:
|
|
50
50
|
|
51
51
|
steps:
|
52
52
|
- uses: actions/checkout@v2
|
53
|
-
- name: Set up Ruby 2.
|
53
|
+
- name: Set up Ruby 2.5
|
54
54
|
uses: ruby/setup-ruby@v1
|
55
55
|
with:
|
56
56
|
bundler-cache: true
|
@@ -67,22 +67,11 @@ jobs:
|
|
67
67
|
GEM_HOST_API_KEY: "Bearer ${{secrets.GITHUB_TOKEN}}"
|
68
68
|
OWNER: ${{ github.repository_owner }}
|
69
69
|
|
70
|
-
- name: Publish to RubyGems
|
71
|
-
run: |
|
72
|
-
mkdir -p $HOME/.gem
|
73
|
-
touch $HOME/.gem/credentials
|
74
|
-
chmod 0600 $HOME/.gem/credentials
|
75
|
-
printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
|
76
|
-
gem build *.gemspec
|
77
|
-
gem push *.gem
|
78
|
-
env:
|
79
|
-
GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}"
|
80
|
-
|
81
70
|
publish-to-ruby-gems:
|
82
71
|
needs:
|
83
72
|
- lint
|
84
73
|
- test
|
85
|
-
name: Build + Publish
|
74
|
+
name: Build + Publish to RubyGems
|
86
75
|
runs-on: ubuntu-latest
|
87
76
|
permissions:
|
88
77
|
packages: write
|
@@ -90,7 +79,7 @@ jobs:
|
|
90
79
|
|
91
80
|
steps:
|
92
81
|
- uses: actions/checkout@v2
|
93
|
-
- name: Set up Ruby 2.
|
82
|
+
- name: Set up Ruby 2.5
|
94
83
|
uses: ruby/setup-ruby@v1
|
95
84
|
with:
|
96
85
|
bundler-cache: true
|
data/.gitignore
CHANGED
@@ -1 +1,2 @@
|
|
1
|
-
*.gem
|
1
|
+
*.gem
|
2
|
+
Gemfile.lock
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.
|
1
|
+
2.5.0
|
data/README.md
CHANGED
@@ -8,16 +8,33 @@
|
|
8
8
|
|
9
9
|
### RubyGems
|
10
10
|
|
11
|
-
```
|
11
|
+
```shell
|
12
12
|
$ gem install fluent-plugin-formatter-protobuf
|
13
13
|
```
|
14
14
|
|
15
|
-
###
|
15
|
+
### GitHub RubyGems Registry
|
16
|
+
|
17
|
+
```shell
|
18
|
+
$ gem install \
|
19
|
+
fluent-plugin-formatter-protobuf \
|
20
|
+
--version "<version>" \
|
21
|
+
--source "https://rubygems.pkg.github.com/raytung"
|
22
|
+
```
|
23
|
+
|
24
|
+
### Bundler (RubyGems)
|
16
25
|
|
17
26
|
Add following line to your Gemfile:
|
18
27
|
|
19
28
|
```ruby
|
20
|
-
gem "fluent-plugin-formatter-protobuf"
|
29
|
+
gem "fluent-plugin-formatter-protobuf", "<version>"
|
30
|
+
```
|
31
|
+
|
32
|
+
### Bundler (GitHub RubyGems Registry),
|
33
|
+
|
34
|
+
```shell
|
35
|
+
source "https://rubygems.pkg.github.com/raytung" do
|
36
|
+
gem "fluent-plugin-formatter-protobuf", "<version>"
|
37
|
+
end
|
21
38
|
```
|
22
39
|
|
23
40
|
And then execute:
|
@@ -14,7 +14,7 @@ Gem::Specification.new do |spec|
|
|
14
14
|
spec.description = 'This is a Fluentd formatter plugin designed to convert Protobuf JSON into Protobuf binary'
|
15
15
|
spec.homepage = 'https://github.com/raytung/fluent-plugin-formatter-protobuf'
|
16
16
|
spec.license = 'Apache-2.0'
|
17
|
-
spec.required_ruby_version = Gem::Requirement.new('>=2.
|
17
|
+
spec.required_ruby_version = Gem::Requirement.new('>= 2.5.0')
|
18
18
|
|
19
19
|
spec.metadata['homepage_uri'] = spec.homepage
|
20
20
|
spec.metadata['source_code_uri'] = 'https://github.com/raytung/fluent-plugin-formatter-protobuf'
|
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.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ray Tung
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-10-
|
11
|
+
date: 2021-10-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -128,7 +128,6 @@ files:
|
|
128
128
|
- ".rubocop.yml"
|
129
129
|
- ".ruby-version"
|
130
130
|
- Gemfile
|
131
|
-
- Gemfile.lock
|
132
131
|
- LICENSE
|
133
132
|
- README.md
|
134
133
|
- RELEASE.md
|
@@ -167,14 +166,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
167
166
|
requirements:
|
168
167
|
- - ">="
|
169
168
|
- !ruby/object:Gem::Version
|
170
|
-
version: 2.
|
169
|
+
version: 2.5.0
|
171
170
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
172
171
|
requirements:
|
173
172
|
- - ">="
|
174
173
|
- !ruby/object:Gem::Version
|
175
174
|
version: '0'
|
176
175
|
requirements: []
|
177
|
-
|
176
|
+
rubyforge_project:
|
177
|
+
rubygems_version: 2.7.3
|
178
178
|
signing_key:
|
179
179
|
specification_version: 4
|
180
180
|
summary: Protobuf formatter for Fluentd
|
data/Gemfile.lock
DELETED
@@ -1,77 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
fluent-plugin-formatter-protobuf (0.0.4)
|
5
|
-
fluentd (>= 1.0, < 2)
|
6
|
-
google-protobuf (~> 3.18)
|
7
|
-
|
8
|
-
GEM
|
9
|
-
remote: https://rubygems.org/
|
10
|
-
specs:
|
11
|
-
ast (2.4.2)
|
12
|
-
concurrent-ruby (1.1.9)
|
13
|
-
cool.io (1.7.1)
|
14
|
-
fluentd (1.14.1)
|
15
|
-
bundler
|
16
|
-
cool.io (>= 1.4.5, < 2.0.0)
|
17
|
-
http_parser.rb (>= 0.5.1, < 0.8.0)
|
18
|
-
msgpack (>= 1.3.1, < 2.0.0)
|
19
|
-
serverengine (>= 2.2.2, < 3.0.0)
|
20
|
-
sigdump (~> 0.2.2)
|
21
|
-
strptime (>= 0.2.2, < 1.0.0)
|
22
|
-
tzinfo (>= 1.0, < 3.0)
|
23
|
-
tzinfo-data (~> 1.0)
|
24
|
-
webrick (>= 1.4.2, < 1.8.0)
|
25
|
-
yajl-ruby (~> 1.0)
|
26
|
-
google-protobuf (3.18.1-x86_64-linux)
|
27
|
-
http_parser.rb (0.7.0)
|
28
|
-
msgpack (1.4.2)
|
29
|
-
parallel (1.21.0)
|
30
|
-
parser (3.0.2.0)
|
31
|
-
ast (~> 2.4.1)
|
32
|
-
power_assert (2.0.1)
|
33
|
-
rainbow (3.0.0)
|
34
|
-
rake (13.0.6)
|
35
|
-
regexp_parser (2.1.1)
|
36
|
-
rexml (3.2.5)
|
37
|
-
rubocop (1.22.1)
|
38
|
-
parallel (~> 1.10)
|
39
|
-
parser (>= 3.0.0.0)
|
40
|
-
rainbow (>= 2.2.2, < 4.0)
|
41
|
-
regexp_parser (>= 1.8, < 3.0)
|
42
|
-
rexml
|
43
|
-
rubocop-ast (>= 1.12.0, < 2.0)
|
44
|
-
ruby-progressbar (~> 1.7)
|
45
|
-
unicode-display_width (>= 1.4.0, < 3.0)
|
46
|
-
rubocop-ast (1.12.0)
|
47
|
-
parser (>= 3.0.1.1)
|
48
|
-
rubocop-rake (0.6.0)
|
49
|
-
rubocop (~> 1.0)
|
50
|
-
ruby-progressbar (1.11.0)
|
51
|
-
serverengine (2.2.4)
|
52
|
-
sigdump (~> 0.2.2)
|
53
|
-
sigdump (0.2.4)
|
54
|
-
strptime (0.2.5)
|
55
|
-
test-unit (3.3.9)
|
56
|
-
power_assert
|
57
|
-
tzinfo (2.0.4)
|
58
|
-
concurrent-ruby (~> 1.0)
|
59
|
-
tzinfo-data (1.2021.3)
|
60
|
-
tzinfo (>= 1.0.0)
|
61
|
-
unicode-display_width (2.1.0)
|
62
|
-
webrick (1.7.0)
|
63
|
-
yajl-ruby (1.4.1)
|
64
|
-
|
65
|
-
PLATFORMS
|
66
|
-
x86_64-linux
|
67
|
-
|
68
|
-
DEPENDENCIES
|
69
|
-
bundler (~> 2.2.22)
|
70
|
-
fluent-plugin-formatter-protobuf!
|
71
|
-
rake (~> 13.0.3)
|
72
|
-
rubocop (~> 1.22.1)
|
73
|
-
rubocop-rake (~> 0.6.0)
|
74
|
-
test-unit (~> 3.3.7)
|
75
|
-
|
76
|
-
BUNDLED WITH
|
77
|
-
2.2.29
|