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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 407d5845a0cefd1c49a376709df1e8d2258afb6088186ef52ca7557320d00506
4
- data.tar.gz: e7c62ed960335efcc97b389fd6c51b45097a4d7a5daf0cb86382f7ae92572756
3
+ metadata.gz: eb0b416356143a700e7abeb68072df8423e44183cc370dea070c591f47ab5d2d
4
+ data.tar.gz: 36764f53fea714492770ac0d93152c5ad96a53c0ac58f79a645bccb8bdb20269
5
5
  SHA512:
6
- metadata.gz: 2e709eb1df97551efd7c0ffe318dffb377275d1064297f66b5cd18099eef589469d30edb1abd79817563e432aba51a17cf9045baa02fab3c6be47ec76e72a4a7
7
- data.tar.gz: c3846e24cb9f781c2bebd8c3632db5c30fa9e1e4fc796cd56bd51fd329fc83b575840ed10864a884c4858a207764fa8a75e59981526fa6c549a35a90f1b5241e
6
+ metadata.gz: 53ee7847c4b048a4d11b812f012587744be59f7abf3dbc039762d786306a740450267b762f1d4a7f0b1e317e6d6c12b31a9a59324c126ec144cae4a19959e312
7
+ data.tar.gz: 221ad4d3d2955d81c484aeaf3dcbcaadd83bd04271df4b3ddc9b491e000feb9efb08f831912bd60dce3883902d60f855f8a921aff2188f34e0024d41daa5640f
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- fluent-plugin-google-cloud (0.8.3)
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.6)
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.0)
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.3'
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
- # 270694816269-1l1r2hb813leuppurdeik0apglbs80sv.apps.googleusercontent.com
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::Engine.msgpack_factory.packer.write([tag, time, record]).to_s
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.3
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-21 00:00:00.000000000 Z
11
+ date: 2020-03-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fluentd