fluent-plugin-google-cloud 0.7.27 → 0.7.28

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: 37a15b69632e88f095c0261707b9074675b7dba26e545c35b46a737d6bd00f1d
4
- data.tar.gz: c68901e6fe15c6643645973d5aa17599cd1e145d58b12291def185a56b96307e
3
+ metadata.gz: 6557bd45ff7ce7fffe52375ece31a52e871c139465f799701fc2ce493cf1e0a7
4
+ data.tar.gz: 25441416896fd09d2e3e8fd2ed95228772d2ee10a6ba5976c07b6499e0df67b5
5
5
  SHA512:
6
- metadata.gz: bdd1ddd5fa65ed9a0095199be048898cc7a0cf7707fd2f5e66c66e3b46a28e7f07a1a3cf6a05998081ba95e76a8a71fd8ee7009c7ff4e7e654ff2cbb2fcd6293
7
- data.tar.gz: 6c1cd3ecffa2098aa4e07dec099a55a1b482fcb7287d7e734ead42447d766ddc8f555099e9470ba13cc43dab23b91d785f5f92731679d241954733c453ae058b
6
+ metadata.gz: ec86b91be90466150a1f7e2bdc21bdf64481586a7e860bf7dafdc1a5e0b1e7c6be085b2268ac33dfffc966ecd5e301ee073369086594493f1b4d121821ed2a2c
7
+ data.tar.gz: ea9d2c7a0afbba9450f41759b1d371a39d63b1660a0e2a9d1186dded1d9a885fb00693dcb341ff705d26a0d09086c654c590ab4a3db33e61f57358dd4a30c632
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- fluent-plugin-google-cloud (0.7.27)
4
+ fluent-plugin-google-cloud (0.7.28)
5
5
  fluentd (= 1.6.3)
6
6
  google-api-client (= 0.30.8)
7
7
  google-cloud-logging (= 1.6.6)
@@ -19,12 +19,19 @@ GEM
19
19
  ast (2.4.0)
20
20
  concurrent-ruby (1.1.5)
21
21
  cool.io (1.5.4)
22
+ coveralls (0.8.23)
23
+ json (>= 1.8, < 3)
24
+ simplecov (~> 0.16.1)
25
+ term-ansicolor (~> 1.3)
26
+ thor (>= 0.19.4, < 2.0)
27
+ tins (~> 1.6)
22
28
  crack (0.4.3)
23
29
  safe_yaml (~> 1.0.0)
24
30
  declarative (0.0.10)
25
31
  declarative-option (0.1.0)
26
32
  dig_rb (1.0.1)
27
- faraday (0.17.1)
33
+ docile (1.3.2)
34
+ faraday (0.17.3)
28
35
  multipart-post (>= 1.2, < 3)
29
36
  fluentd (1.6.3)
30
37
  cool.io (>= 1.4.5, < 2.0.0)
@@ -106,13 +113,13 @@ GEM
106
113
  google-cloud-trace (~> 0.33)
107
114
  opencensus (~> 0.5)
108
115
  os (1.0.1)
109
- parser (2.6.5.0)
116
+ parser (2.7.0.1)
110
117
  ast (~> 2.4.0)
111
118
  power_assert (1.1.5)
112
119
  powerpack (0.1.2)
113
120
  prometheus-client (0.9.0)
114
121
  quantile (~> 0.2.1)
115
- public_suffix (4.0.1)
122
+ public_suffix (4.0.3)
116
123
  quantile (0.2.1)
117
124
  rainbow (2.2.2)
118
125
  rake
@@ -139,13 +146,24 @@ GEM
139
146
  faraday (~> 0.9)
140
147
  jwt (>= 1.5, < 3.0)
141
148
  multi_json (~> 1.10)
149
+ simplecov (0.16.1)
150
+ docile (~> 1.1)
151
+ json (>= 1.8, < 3)
152
+ simplecov-html (~> 0.10.0)
153
+ simplecov-html (0.10.2)
142
154
  stackdriver-core (1.4.0)
143
155
  google-cloud-core (~> 1.2)
144
156
  strptime (0.2.3)
157
+ sync (0.5.0)
158
+ term-ansicolor (1.7.1)
159
+ tins (~> 1.0)
145
160
  test-unit (3.3.3)
146
161
  power_assert
162
+ thor (1.0.1)
147
163
  thread_safe (0.3.6)
148
- tzinfo (1.2.5)
164
+ tins (1.23.0)
165
+ sync
166
+ tzinfo (1.2.6)
149
167
  thread_safe (~> 0.1)
150
168
  tzinfo-data (1.2019.3)
151
169
  tzinfo (>= 1.0.0)
@@ -161,6 +179,7 @@ PLATFORMS
161
179
  ruby
162
180
 
163
181
  DEPENDENCIES
182
+ coveralls (= 0.8.23)
164
183
  fluent-plugin-google-cloud!
165
184
  mocha (= 1.9.0)
166
185
  opencensus (= 0.5.0)
@@ -172,4 +191,4 @@ DEPENDENCIES
172
191
  webmock (= 3.6.2)
173
192
 
174
193
  BUNDLED WITH
175
- 1.16.6
194
+ 2.1.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.27'
13
+ gem.version = '0.7.28'
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')
@@ -43,4 +43,5 @@ eos
43
43
  gem.add_development_dependency 'rubocop', '0.39.0'
44
44
  gem.add_development_dependency 'test-unit', '3.3.3'
45
45
  gem.add_development_dependency 'webmock', '3.6.2'
46
+ gem.add_development_dependency 'coveralls', '0.8.23'
46
47
  end
@@ -76,6 +76,17 @@ module GRPC
76
76
  extend FluentLogger
77
77
  end
78
78
 
79
+ # Disable the nurse/strptime gem used by FluentD's TimeParser class in
80
+ # lib/fluent/time.rb. We found this gem to be slower than the builtin Ruby
81
+ # parser in recent versions of Ruby. Fortunately FluentD will fall back to the
82
+ # builtin parser.
83
+ require 'strptime'
84
+ # Dummy Strptime class.
85
+ class Strptime
86
+ def self.new(_)
87
+ end
88
+ end
89
+
79
90
  module Fluent
80
91
  # fluentd output plugin for the Stackdriver Logging API
81
92
  class GoogleCloudOutput < BufferedOutput
@@ -12,6 +12,10 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
+ # Enable coveralls for plugin test coverage analysis.
16
+ require 'coveralls'
17
+ Coveralls.wear!
18
+
15
19
  require 'google/apis'
16
20
  require 'helper'
17
21
  require 'mocha/test_unit'
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.27
4
+ version: 0.7.28
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: 2019-12-11 00:00:00.000000000 Z
11
+ date: 2020-01-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fluentd
@@ -234,6 +234,20 @@ dependencies:
234
234
  - - '='
235
235
  - !ruby/object:Gem::Version
236
236
  version: 3.6.2
237
+ - !ruby/object:Gem::Dependency
238
+ name: coveralls
239
+ requirement: !ruby/object:Gem::Requirement
240
+ requirements:
241
+ - - '='
242
+ - !ruby/object:Gem::Version
243
+ version: 0.8.23
244
+ type: :development
245
+ prerelease: false
246
+ version_requirements: !ruby/object:Gem::Requirement
247
+ requirements:
248
+ - - '='
249
+ - !ruby/object:Gem::Version
250
+ version: 0.8.23
237
251
  description: |2
238
252
  Fluentd plugins for the Stackdriver Logging API, which will make logs
239
253
  viewable in the Stackdriver Logs Viewer and can optionally store them
@@ -288,8 +302,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
288
302
  - !ruby/object:Gem::Version
289
303
  version: '0'
290
304
  requirements: []
291
- rubyforge_project:
292
- rubygems_version: 2.7.10
305
+ rubygems_version: 3.0.6
293
306
  signing_key:
294
307
  specification_version: 4
295
308
  summary: fluentd plugins for the Stackdriver Logging API