fluent-plugin-google-cloud 0.12.7 → 0.12.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a167140da3b2b1512403e00ec5ad364025f45e9d2b4f58653bf6900d36115fc1
4
- data.tar.gz: dc50c3175bbb42aac535c6974abc2a71a824f2ab2466636318ac8a452f77adde
3
+ metadata.gz: 0d71f34aa46a35b53a1b70ffcb23c4506ee1ea1a62dc12d10e83464574f74f6c
4
+ data.tar.gz: ed2e7a53dd72691aa911af44632a39597e806114231fd9241b650e0ba41412e9
5
5
  SHA512:
6
- metadata.gz: a9fc42fe75dcbba7737397de041eb10b8b086148811e6ab1b870caa349dabff60fc3a48a4c3aca614874a88f7fef51f1e70e854bc8bc7f27c96aeb3651b10bf6
7
- data.tar.gz: 3b4c609daa0b4426f297923fdb9adf9cb1a33a06f2357191b552d8c06a56eb730dfea1cb3308b9a34d2f2380d74e7e94de4b79db06f51b1dfce62d29f4ad0891
6
+ metadata.gz: f3b95463000305ab29c08264e3b3f254048b40ab960c807fe37cab88065963edcf7970f0d14600989f2430ab592908276a76ed950985d137d26be640e62c9186
7
+ data.tar.gz: 45eafacb0a796654a22913f8883b5328dc63c5551b1a55e0cd1f88b707c1493fa84939f2d8b88f685b3454d0a93271fa874db72cd9c3b2f1bfcaa598d841030d
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- fluent-plugin-google-cloud (0.12.7)
4
+ fluent-plugin-google-cloud (0.12.9)
5
5
  fluentd (= 1.13.3)
6
6
  google-api-client (= 0.30.8)
7
7
  google-cloud-logging (= 1.6.6)
@@ -16,8 +16,8 @@ PATH
16
16
  GEM
17
17
  remote: https://rubygems.org/
18
18
  specs:
19
- addressable (2.8.0)
20
- public_suffix (>= 2.0.2, < 5.0)
19
+ addressable (2.8.1)
20
+ public_suffix (>= 2.0.2, < 6.0)
21
21
  ast (2.4.2)
22
22
  concurrent-ruby (1.1.10)
23
23
  cool.io (1.7.1)
@@ -31,7 +31,7 @@ GEM
31
31
  rexml
32
32
  declarative (0.0.20)
33
33
  docile (1.4.0)
34
- faraday (0.17.5)
34
+ faraday (0.17.6)
35
35
  multipart-post (>= 1.2, < 3)
36
36
  fluentd (1.13.3)
37
37
  bundler
@@ -64,7 +64,7 @@ GEM
64
64
  google-cloud-errors (~> 1.0)
65
65
  google-cloud-env (1.6.0)
66
66
  faraday (>= 0.17.3, < 3.0)
67
- google-cloud-errors (1.2.0)
67
+ google-cloud-errors (1.3.0)
68
68
  google-cloud-logging (1.6.6)
69
69
  concurrent-ruby (~> 1.1)
70
70
  google-cloud-core (~> 1.2)
@@ -89,7 +89,7 @@ GEM
89
89
  google-protobuf (~> 3.11)
90
90
  googleapis-common-protos-types (>= 1.0.5, < 2.0)
91
91
  grpc (~> 1.27)
92
- googleapis-common-protos-types (1.3.2)
92
+ googleapis-common-protos-types (1.5.0)
93
93
  google-protobuf (~> 3.14)
94
94
  googleauth (0.9.0)
95
95
  faraday (~> 0.12)
@@ -105,13 +105,13 @@ GEM
105
105
  http_parser.rb (0.7.0)
106
106
  httpclient (2.8.3)
107
107
  json (2.2.0)
108
- jwt (2.4.1)
108
+ jwt (2.6.0)
109
109
  memoist (0.16.2)
110
110
  metaclass (0.0.4)
111
111
  mini_mime (1.1.2)
112
112
  mocha (1.9.0)
113
113
  metaclass (~> 0.0.1)
114
- msgpack (1.5.4)
114
+ msgpack (1.6.0)
115
115
  multi_json (1.15.0)
116
116
  multipart-post (2.2.3)
117
117
  opencensus (0.5.0)
@@ -124,11 +124,11 @@ GEM
124
124
  os (1.1.4)
125
125
  parser (2.7.2.0)
126
126
  ast (~> 2.4.1)
127
- power_assert (2.0.1)
127
+ power_assert (2.0.3)
128
128
  powerpack (0.1.3)
129
129
  prometheus-client (0.9.0)
130
130
  quantile (~> 0.2.1)
131
- public_suffix (4.0.7)
131
+ public_suffix (5.0.1)
132
132
  quantile (0.2.1)
133
133
  rainbow (2.2.2)
134
134
  rake
@@ -147,12 +147,12 @@ GEM
147
147
  ruby-progressbar (~> 1.7)
148
148
  unicode-display_width (~> 1.0, >= 1.0.1)
149
149
  ruby-progressbar (1.11.0)
150
- serverengine (2.3.0)
150
+ serverengine (2.3.1)
151
151
  sigdump (~> 0.2.2)
152
152
  sigdump (0.2.4)
153
- signet (0.16.1)
153
+ signet (0.17.0)
154
154
  addressable (~> 2.8)
155
- faraday (>= 0.17.5, < 3.0)
155
+ faraday (>= 0.17.5, < 3.a)
156
156
  jwt (>= 1.5, < 3.0)
157
157
  multi_json (~> 1.10)
158
158
  simplecov (0.16.1)
@@ -169,12 +169,12 @@ GEM
169
169
  test-unit (3.3.3)
170
170
  power_assert
171
171
  thor (1.2.1)
172
- tins (1.31.1)
172
+ tins (1.32.1)
173
173
  sync
174
174
  trailblazer-option (0.1.2)
175
175
  tzinfo (2.0.5)
176
176
  concurrent-ruby (~> 1.0)
177
- tzinfo-data (1.2022.1)
177
+ tzinfo-data (1.2022.7)
178
178
  tzinfo (>= 1.0.0)
179
179
  uber (0.1.0)
180
180
  unicode-display_width (1.8.0)
@@ -183,7 +183,7 @@ GEM
183
183
  crack (>= 0.3.2)
184
184
  hashdiff (>= 0.4.0, < 2.0.0)
185
185
  webrick (1.7.0)
186
- yajl-ruby (1.4.1)
186
+ yajl-ruby (1.4.3)
187
187
 
188
188
  PLATFORMS
189
189
  x86_64-linux
@@ -199,4 +199,4 @@ DEPENDENCIES
199
199
  webmock (= 3.6.2)
200
200
 
201
201
  BUNDLED WITH
202
- 2.2.28
202
+ 2.4.1
@@ -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.12.7'
13
+ gem.version = '0.12.9'
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')
@@ -1526,6 +1526,7 @@ module Fluent
1526
1526
  'C' => 'CRITICAL',
1527
1527
  'A' => 'ALERT',
1528
1528
  # other misc. translations.
1529
+ 'INFORMATION' => 'INFO',
1529
1530
  'ERR' => 'ERROR',
1530
1531
  'F' => 'CRITICAL'
1531
1532
  }.freeze
@@ -21,6 +21,7 @@ require 'helper'
21
21
  require 'mocha/test_unit'
22
22
  require 'prometheus/client'
23
23
  require 'webmock/test_unit'
24
+ require 'cgi'
24
25
 
25
26
  require_relative 'asserts'
26
27
  require_relative 'constants'
@@ -823,7 +824,7 @@ module BaseTest
823
824
  params = CONTAINER_FROM_METADATA_PARAMS.merge(
824
825
  labels: CONTAINER_FROM_METADATA_PARAMS[:labels].merge(
825
826
  "#{GKE_CONSTANTS[:service]}/container_name" =>
826
- URI.decode(encoded_name)),
827
+ CGI.unescape(encoded_name)),
827
828
  log_name: encoded_name)
828
829
  verify_log_entries(0, params, 'textPayload')
829
830
  end
@@ -906,7 +907,7 @@ module BaseTest
906
907
  params = CONTAINER_FROM_METADATA_PARAMS.merge(
907
908
  resource: CONTAINER_FROM_METADATA_PARAMS[:resource].merge(
908
909
  labels: CONTAINER_FROM_METADATA_PARAMS[:resource][:labels].merge(
909
- 'container_name' => URI.decode(encoded_container_name))),
910
+ 'container_name' => CGI.unescape(encoded_container_name))),
910
911
  log_name: encoded_container_name)
911
912
  verify_log_entries(1, params, 'textPayload')
912
913
  end
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.12.7
4
+ version: 0.12.9
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: 2022-08-07 00:00:00.000000000 Z
11
+ date: 2023-01-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fluentd
@@ -309,7 +309,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
309
309
  - !ruby/object:Gem::Version
310
310
  version: '0'
311
311
  requirements: []
312
- rubygems_version: 3.0.8
312
+ rubygems_version: 3.1.6
313
313
  signing_key:
314
314
  specification_version: 4
315
315
  summary: fluentd plugins for the Stackdriver Logging API