fluent-plugin-google-cloud 0.8.0 → 0.8.5
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/Gemfile.lock +19 -20
- data/fluent-plugin-google-cloud.gemspec +2 -2
- data/lib/fluent/plugin/out_google_cloud.rb +6 -2
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 97dc07c8c96a6f2901e76e22b62da38e809a843591df62536cfeddba7311775c
|
|
4
|
+
data.tar.gz: 4ae7ec58daa1232a7c9a4c8d7462da636801059c21d3e958e305432133bb267b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: '089da19a00151839f4c0cd037cd446e8a34591a0cb739aa658d7aa1364d582ba236ce5a5c0433e84660b18410cda81bbc166596486f530cd8c0c302513f26e57'
|
|
7
|
+
data.tar.gz: 2ec8ca875f52f62bec8003cd458cf3b009061faf8c72965f3d9d4ae2b2b09be00c223a673013ae10750ab7bfff20b30b31a3d6af3f2be62d2f310a9040aea9f9
|
data/Gemfile.lock
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
fluent-plugin-google-cloud (0.8.
|
|
5
|
-
fluentd (= 1.
|
|
4
|
+
fluent-plugin-google-cloud (0.8.5)
|
|
5
|
+
fluentd (= 1.7.4)
|
|
6
6
|
google-api-client (= 0.30.8)
|
|
7
7
|
google-cloud-logging (= 1.6.6)
|
|
8
8
|
google-protobuf (= 3.9.0)
|
|
@@ -35,15 +35,15 @@ GEM
|
|
|
35
35
|
docile (1.3.2)
|
|
36
36
|
faraday (0.17.3)
|
|
37
37
|
multipart-post (>= 1.2, < 3)
|
|
38
|
-
fluentd (1.
|
|
38
|
+
fluentd (1.7.4)
|
|
39
39
|
cool.io (>= 1.4.5, < 2.0.0)
|
|
40
40
|
dig_rb (~> 1.0.0)
|
|
41
41
|
http_parser.rb (>= 0.5.1, < 0.7.0)
|
|
42
|
-
msgpack (>=
|
|
42
|
+
msgpack (>= 1.2.0, < 2.0.0)
|
|
43
43
|
serverengine (>= 2.0.4, < 3.0.0)
|
|
44
44
|
sigdump (~> 0.2.2)
|
|
45
45
|
strptime (>= 0.2.2, < 1.0.0)
|
|
46
|
-
tzinfo (~>
|
|
46
|
+
tzinfo (~> 2.0)
|
|
47
47
|
tzinfo-data (~> 1.0)
|
|
48
48
|
yajl-ruby (~> 1.0)
|
|
49
49
|
google-api-client (0.30.8)
|
|
@@ -57,8 +57,8 @@ GEM
|
|
|
57
57
|
google-cloud-core (1.5.0)
|
|
58
58
|
google-cloud-env (~> 1.0)
|
|
59
59
|
google-cloud-errors (~> 1.0)
|
|
60
|
-
google-cloud-env (1.3.
|
|
61
|
-
faraday (
|
|
60
|
+
google-cloud-env (1.3.1)
|
|
61
|
+
faraday (>= 0.17.3, < 2.0)
|
|
62
62
|
google-cloud-errors (1.0.0)
|
|
63
63
|
google-cloud-logging (1.6.6)
|
|
64
64
|
concurrent-ruby (~> 1.1)
|
|
@@ -97,7 +97,7 @@ GEM
|
|
|
97
97
|
grpc (1.22.0)
|
|
98
98
|
google-protobuf (~> 3.8)
|
|
99
99
|
googleapis-common-protos-types (~> 1.0)
|
|
100
|
-
hashdiff (1.0.
|
|
100
|
+
hashdiff (1.0.1)
|
|
101
101
|
http_parser.rb (0.6.0)
|
|
102
102
|
httpclient (2.8.3)
|
|
103
103
|
json (2.2.0)
|
|
@@ -116,14 +116,14 @@ GEM
|
|
|
116
116
|
google-cloud-monitoring (~> 0.32)
|
|
117
117
|
google-cloud-trace (~> 0.35)
|
|
118
118
|
opencensus (~> 0.5)
|
|
119
|
-
os (1.0
|
|
120
|
-
parser (2.7.
|
|
119
|
+
os (1.1.0)
|
|
120
|
+
parser (2.7.1.2)
|
|
121
121
|
ast (~> 2.4.0)
|
|
122
|
-
power_assert (1.
|
|
122
|
+
power_assert (1.2.0)
|
|
123
123
|
powerpack (0.1.2)
|
|
124
124
|
prometheus-client (0.9.0)
|
|
125
125
|
quantile (~> 0.2.1)
|
|
126
|
-
public_suffix (4.0.
|
|
126
|
+
public_suffix (4.0.5)
|
|
127
127
|
quantile (0.2.1)
|
|
128
128
|
rainbow (2.2.2)
|
|
129
129
|
rake
|
|
@@ -145,7 +145,7 @@ GEM
|
|
|
145
145
|
serverengine (2.2.1)
|
|
146
146
|
sigdump (~> 0.2.2)
|
|
147
147
|
sigdump (0.2.4)
|
|
148
|
-
signet (0.
|
|
148
|
+
signet (0.14.0)
|
|
149
149
|
addressable (~> 2.3)
|
|
150
150
|
faraday (>= 0.17.3, < 2.0)
|
|
151
151
|
jwt (>= 1.5, < 3.0)
|
|
@@ -157,22 +157,21 @@ GEM
|
|
|
157
157
|
simplecov-html (0.10.2)
|
|
158
158
|
stackdriver-core (1.4.0)
|
|
159
159
|
google-cloud-core (~> 1.2)
|
|
160
|
-
strptime (0.2.
|
|
160
|
+
strptime (0.2.4)
|
|
161
161
|
sync (0.5.0)
|
|
162
162
|
term-ansicolor (1.7.1)
|
|
163
163
|
tins (~> 1.0)
|
|
164
164
|
test-unit (3.3.3)
|
|
165
165
|
power_assert
|
|
166
166
|
thor (1.0.1)
|
|
167
|
-
thread_safe (0.3.6)
|
|
168
167
|
tins (1.24.1)
|
|
169
168
|
sync
|
|
170
|
-
tzinfo (
|
|
171
|
-
|
|
172
|
-
tzinfo-data (1.
|
|
169
|
+
tzinfo (2.0.2)
|
|
170
|
+
concurrent-ruby (~> 1.0)
|
|
171
|
+
tzinfo-data (1.2020.1)
|
|
173
172
|
tzinfo (>= 1.0.0)
|
|
174
173
|
uber (0.1.0)
|
|
175
|
-
unicode-display_width (1.
|
|
174
|
+
unicode-display_width (1.7.0)
|
|
176
175
|
webmock (3.6.2)
|
|
177
176
|
addressable (>= 2.3.6)
|
|
178
177
|
crack (>= 0.3.2)
|
|
@@ -193,4 +192,4 @@ DEPENDENCIES
|
|
|
193
192
|
webmock (= 3.6.2)
|
|
194
193
|
|
|
195
194
|
BUNDLED WITH
|
|
196
|
-
2.1.
|
|
195
|
+
2.1.4
|
|
@@ -10,7 +10,7 @@ eos
|
|
|
10
10
|
gem.homepage =
|
|
11
11
|
'https://github.com/GoogleCloudPlatform/fluent-plugin-google-cloud'
|
|
12
12
|
gem.license = 'Apache-2.0'
|
|
13
|
-
gem.version = '0.8.
|
|
13
|
+
gem.version = '0.8.5'
|
|
14
14
|
gem.authors = ['Stackdriver Agents Team']
|
|
15
15
|
gem.email = ['stackdriver-agents@google.com']
|
|
16
16
|
gem.required_ruby_version = Gem::Requirement.new('>= 2.2')
|
|
@@ -19,7 +19,7 @@ eos
|
|
|
19
19
|
gem.test_files = gem.files.grep(/^(test)/)
|
|
20
20
|
gem.require_paths = ['lib']
|
|
21
21
|
|
|
22
|
-
gem.add_runtime_dependency 'fluentd', '1.
|
|
22
|
+
gem.add_runtime_dependency 'fluentd', '1.7.4'
|
|
23
23
|
gem.add_runtime_dependency 'googleapis-common-protos', '1.3.9'
|
|
24
24
|
gem.add_runtime_dependency 'googleauth', '0.9.0'
|
|
25
25
|
gem.add_runtime_dependency 'google-api-client', '0.30.8'
|
|
@@ -1575,7 +1575,7 @@ module Fluent
|
|
|
1575
1575
|
# Recognizes IAM format (account@project-name.iam.gserviceaccount.com)
|
|
1576
1576
|
# as well as the legacy format with a project number at the front of the
|
|
1577
1577
|
# string, terminated by a dash (-) which is not part of the ID, i.e.:
|
|
1578
|
-
#
|
|
1578
|
+
# <PROJECT_ID>-<OTHER_PARTS>.apps.googleusercontent.com
|
|
1579
1579
|
def self.extract_project_id(str)
|
|
1580
1580
|
[/^.*@(?<project_id>.+)\.iam\.gserviceaccount\.com/,
|
|
1581
1581
|
/^(?<project_id>\d+)-/].each do |exp|
|
|
@@ -1909,7 +1909,11 @@ module Fluent
|
|
|
1909
1909
|
end
|
|
1910
1910
|
|
|
1911
1911
|
def format(tag, time, record)
|
|
1912
|
-
Fluent::
|
|
1912
|
+
Fluent::MessagePackFactory
|
|
1913
|
+
.engine_factory
|
|
1914
|
+
.packer
|
|
1915
|
+
.write([tag, time, record])
|
|
1916
|
+
.to_s
|
|
1913
1917
|
end
|
|
1914
1918
|
|
|
1915
1919
|
# Given a tag, returns the corresponding valid tag if possible, or nil if
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fluent-plugin-google-cloud
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.8.
|
|
4
|
+
version: 0.8.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Stackdriver Agents Team
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-
|
|
11
|
+
date: 2020-05-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: fluentd
|
|
@@ -16,14 +16,14 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - '='
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: 1.
|
|
19
|
+
version: 1.7.4
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
24
|
- - '='
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
|
-
version: 1.
|
|
26
|
+
version: 1.7.4
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: googleapis-common-protos
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -302,7 +302,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
302
302
|
- !ruby/object:Gem::Version
|
|
303
303
|
version: '0'
|
|
304
304
|
requirements: []
|
|
305
|
-
rubygems_version: 3.0.
|
|
305
|
+
rubygems_version: 3.0.8
|
|
306
306
|
signing_key:
|
|
307
307
|
specification_version: 4
|
|
308
308
|
summary: fluentd plugins for the Stackdriver Logging API
|