fluent-plugin-google-cloud 0.8.3 → 0.8.4
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 +3 -3
- data/fluent-plugin-google-cloud.gemspec +1 -1
- data/lib/fluent/plugin/out_google_cloud.rb +6 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eb0b416356143a700e7abeb68072df8423e44183cc370dea070c591f47ab5d2d
|
4
|
+
data.tar.gz: 36764f53fea714492770ac0d93152c5ad96a53c0ac58f79a645bccb8bdb20269
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 53ee7847c4b048a4d11b812f012587744be59f7abf3dbc039762d786306a740450267b762f1d4a7f0b1e317e6d6c12b31a9a59324c126ec144cae4a19959e312
|
7
|
+
data.tar.gz: 221ad4d3d2955d81c484aeaf3dcbcaadd83bd04271df4b3ddc9b491e000feb9efb08f831912bd60dce3883902d60f855f8a921aff2188f34e0024d41daa5640f
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
fluent-plugin-google-cloud (0.8.
|
4
|
+
fluent-plugin-google-cloud (0.8.4)
|
5
5
|
fluentd (= 1.7.4)
|
6
6
|
google-api-client (= 0.30.8)
|
7
7
|
google-cloud-logging (= 1.6.6)
|
@@ -119,7 +119,7 @@ GEM
|
|
119
119
|
os (1.0.1)
|
120
120
|
parser (2.7.0.5)
|
121
121
|
ast (~> 2.4.0)
|
122
|
-
power_assert (1.1.
|
122
|
+
power_assert (1.1.7)
|
123
123
|
powerpack (0.1.2)
|
124
124
|
prometheus-client (0.9.0)
|
125
125
|
quantile (~> 0.2.1)
|
@@ -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.13.
|
148
|
+
signet (0.13.2)
|
149
149
|
addressable (~> 2.3)
|
150
150
|
faraday (>= 0.17.3, < 2.0)
|
151
151
|
jwt (>= 1.5, < 3.0)
|
@@ -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.4'
|
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')
|
@@ -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.4
|
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-03-
|
11
|
+
date: 2020-03-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fluentd
|