fluent-plugin-google-cloud 0.7.3 → 0.7.4

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: fbcd8e43170062fe787c54619c5ad959f0a8d1603fb7dfc2a1c2be5ac7997d4e
4
- data.tar.gz: d22989b9d59f470ecc3e184bff6bd1bc049f66f0d0e3918a649f36e2cbbd0424
3
+ metadata.gz: 06aaf110596026347ea18bcd75c92554fd538e72f780efd7752e4624a08ae41c
4
+ data.tar.gz: 8e6bcbbb5894193776d91121afb143a6de3da72000c544446ec9ae21c040109a
5
5
  SHA512:
6
- metadata.gz: b5b5e63ddf4cc5bffcc92ae9a89dc47b25570c4108c5fde3a34a9c3a77b8b15dbeb2832e55295a5b44505fb2b7b3919a521ab89f847642427728f8c698537a1e
7
- data.tar.gz: 19554fb0fc748dc0a246850053874dcc53dbc7264d4d75d321e0a64c812f2beb887616945d73f104090aae92656386dde464f87b52ffc9e6c745ad72c10d2bf3
6
+ metadata.gz: c19342019d92d4724a0d8f4b9dd8d0e0248b4e95b94394657d1c2be0b985d5a6b7c4787856164711112c51bbbe311b0495031412acbcae655519ed318bd3f2a5
7
+ data.tar.gz: 8a18fbca8b05b67fa49f8dfa2b840a629ed55903a2079c9c27a39a31d78a25e1ddca8d7f347d9abae5f1cdb939603c67ff393a72db43cb0fb5a33d577b4cff12
File without changes
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- fluent-plugin-google-cloud (0.7.3)
4
+ fluent-plugin-google-cloud (0.7.4)
5
5
  fluentd (= 1.2.5)
6
6
  google-api-client (= 0.23.9)
7
7
  google-cloud-logging (= 1.5.4)
@@ -14,7 +14,7 @@ PATH
14
14
  GEM
15
15
  remote: https://rubygems.org/
16
16
  specs:
17
- addressable (2.5.2)
17
+ addressable (2.6.0)
18
18
  public_suffix (>= 2.0.2, < 4.0)
19
19
  ast (2.4.0)
20
20
  cool.io (1.5.3)
@@ -44,7 +44,7 @@ GEM
44
44
  representable (~> 3.0)
45
45
  retriable (>= 2.0, < 4.0)
46
46
  signet (~> 0.9)
47
- google-cloud-core (1.2.7)
47
+ google-cloud-core (1.3.0)
48
48
  google-cloud-env (~> 1.0)
49
49
  google-cloud-env (1.0.5)
50
50
  faraday (~> 0.11)
@@ -53,10 +53,10 @@ GEM
53
53
  google-gax (~> 1.3)
54
54
  googleapis-common-protos-types (>= 1.0.2)
55
55
  stackdriver-core (~> 1.3)
56
- google-gax (1.4.0)
56
+ google-gax (1.5.0)
57
57
  google-protobuf (~> 3.2)
58
58
  googleapis-common-protos (>= 1.3.5, < 2.0)
59
- googleauth (~> 0.6.2)
59
+ googleauth (>= 0.6.2, < 0.10.0)
60
60
  grpc (>= 1.7.2, < 2.0)
61
61
  rly (~> 0.2.3)
62
62
  google-protobuf (3.6.1)
@@ -77,7 +77,7 @@ GEM
77
77
  google-protobuf (~> 3.1)
78
78
  googleapis-common-protos-types (~> 1.0.0)
79
79
  googleauth (>= 0.5.1, < 0.7)
80
- hashdiff (0.3.7)
80
+ hashdiff (0.3.8)
81
81
  http_parser.rb (0.6.0)
82
82
  httpclient (2.8.3)
83
83
  json (2.1.0)
@@ -87,13 +87,13 @@ GEM
87
87
  mime-types (3.2.2)
88
88
  mime-types-data (~> 3.2015)
89
89
  mime-types-data (3.2018.0812)
90
- mocha (1.7.0)
90
+ mocha (1.8.0)
91
91
  metaclass (~> 0.0.1)
92
- msgpack (1.2.4)
92
+ msgpack (1.2.6)
93
93
  multi_json (1.13.1)
94
94
  multipart-post (2.0.0)
95
95
  os (1.0.0)
96
- parser (2.5.3.0)
96
+ parser (2.6.0.0)
97
97
  ast (~> 2.4.0)
98
98
  power_assert (1.1.3)
99
99
  powerpack (0.1.2)
@@ -129,12 +129,12 @@ GEM
129
129
  stackdriver-core (1.3.3)
130
130
  google-cloud-core (~> 1.2)
131
131
  strptime (0.2.3)
132
- test-unit (3.2.9)
132
+ test-unit (3.3.0)
133
133
  power_assert
134
134
  thread_safe (0.3.6)
135
135
  tzinfo (1.2.5)
136
136
  thread_safe (~> 0.1)
137
- tzinfo-data (1.2018.7)
137
+ tzinfo-data (1.2018.9)
138
138
  tzinfo (>= 1.0.0)
139
139
  uber (0.1.0)
140
140
  unicode-display_width (1.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.7.3'
13
+ gem.version = '0.7.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')
@@ -179,19 +179,22 @@ module Fluent
179
179
  # Map from subfields' names to their types.
180
180
  [
181
181
  # subfield key in the payload, destination key, cast lambda (opt)
182
- %w(requestMethod request_method parse_string),
183
- %w(requestUrl request_url parse_string),
184
- %w(requestSize request_size parse_int),
185
- %w(status status parse_int),
186
- %w(responseSize response_size parse_int),
187
- %w(userAgent user_agent parse_string),
188
- %w(remoteIp remote_ip parse_string),
189
- %w(serverIp server_ip parse_string),
190
- %w(referer referer parse_string),
182
+ %w(cacheFillBytes cache_fill_bytes parse_int),
191
183
  %w(cacheHit cache_hit parse_bool),
184
+ %w(cacheLookup cache_lookup parse_bool),
192
185
  %w(cacheValidatedWithOriginServer
193
186
  cache_validated_with_origin_server parse_bool),
194
- %w(latency latency parse_latency)
187
+ %w(latency latency parse_latency),
188
+ %w(protocol protocol parse_string),
189
+ %w(referer referer parse_string),
190
+ %w(remoteIp remote_ip parse_string),
191
+ %w(responseSize response_size parse_int),
192
+ %w(requestMethod request_method parse_string),
193
+ %w(requestSize request_size parse_int),
194
+ %w(requestUrl request_url parse_string),
195
+ %w(serverIp server_ip parse_string),
196
+ %w(status status parse_int),
197
+ %w(userAgent user_agent parse_string)
195
198
  ],
196
199
  # The grpc version class name.
197
200
  'Google::Logging::Type::HttpRequest',
@@ -741,17 +741,20 @@ module Constants
741
741
  ).freeze
742
742
 
743
743
  HTTP_REQUEST_MESSAGE = {
744
+ 'cacheFillBytes' => 6653,
745
+ 'cacheHit' => true,
746
+ 'cacheLookup' => true,
747
+ 'cacheValidatedWithOriginServer' => true,
748
+ 'protocol' => 'HTTP/1.1',
749
+ 'referer' => 'http://referer/',
750
+ 'remoteIp' => '55.55.55.55',
751
+ 'responseSize' => 65,
744
752
  'requestMethod' => 'POST',
745
- 'requestUrl' => 'http://example/',
746
753
  'requestSize' => 210,
747
- 'status' => 200,
748
- 'responseSize' => 65,
749
- 'userAgent' => 'USER AGENT 1.0',
750
- 'remoteIp' => '55.55.55.55',
754
+ 'requestUrl' => 'http://example/',
751
755
  'serverIp' => '66.66.66.66',
752
- 'referer' => 'http://referer/',
753
- 'cacheHit' => true,
754
- 'cacheValidatedWithOriginServer' => true
756
+ 'status' => 200,
757
+ 'userAgent' => 'USER AGENT 1.0'
755
758
  }.freeze
756
759
 
757
760
  SOURCE_LOCATION_MESSAGE = {
@@ -418,11 +418,11 @@ class GoogleCloudOutputTest < Test::Unit::TestCase
418
418
  ])
419
419
  end
420
420
 
421
- # 'responseSize' and 'requestSize' are Integers in the gRPC protos, yet
422
- # Strings in REST API client libraries.
421
+ # 'responseSize', 'requestSize', and 'cacheFillBytes' are Integers in the gRPC
422
+ # protos, yet Strings in REST API client libraries.
423
423
  def http_request_message
424
424
  convert_subfields_to_strings(
425
- HTTP_REQUEST_MESSAGE, %w(responseSize requestSize))
425
+ HTTP_REQUEST_MESSAGE, %w(cacheFillBytes responseSize requestSize))
426
426
  end
427
427
 
428
428
  # 'line' is an Integer in the gRPC proto, yet a String in the REST API client.
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.7.3
4
+ version: 0.7.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: 2018-12-29 00:00:00.000000000 Z
11
+ date: 2019-02-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fluentd
@@ -218,6 +218,7 @@ extensions: []
218
218
  extra_rdoc_files: []
219
219
  files:
220
220
  - CONTRIBUTING
221
+ - CUSTOM_SPONGE_CONFIG
221
222
  - Gemfile
222
223
  - Gemfile.lock
223
224
  - LICENSE