fluent-plugin-google-cloud 0.7.0.pre.4 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/fluent-plugin-google-cloud.gemspec +11 -11
- data/lib/fluent/plugin/out_google_cloud.rb +16 -8
- metadata +52 -71
- data/fluent-plugin-google-cloud-0.7.0.gem +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '05629ca0c7bd8bbf7a89676983ec9a4e009c4e3d'
|
4
|
+
data.tar.gz: 0fa156f9ed36e1dc612f51e39a5a800a3fb0be4d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc7e3e2bb6443cb987c395f4140c8fa941711ec58060e6247b13c3400d220e57df03efc0e8309eaea13b58e9e6531aef2b54990b8486c92d672affc2bbc286a7
|
7
|
+
data.tar.gz: 4215112f753570d4f4bea4e26b37446a60730e7dbca69980c4835bf9c96eb68c012e8bf9ccb2e2b1137009b910424d1cfc6128f718b8d2873a36159c71b780e3
|
@@ -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.0
|
13
|
+
gem.version = '0.7.0'
|
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')
|
@@ -19,19 +19,19 @@ eos
|
|
19
19
|
gem.test_files = gem.files.grep(/^(test)/)
|
20
20
|
gem.require_paths = ['lib']
|
21
21
|
|
22
|
-
gem.add_runtime_dependency 'fluentd', '
|
23
|
-
gem.add_runtime_dependency 'googleapis-common-protos', '
|
24
|
-
gem.add_runtime_dependency '
|
25
|
-
gem.add_runtime_dependency 'google-
|
26
|
-
gem.add_runtime_dependency '
|
27
|
-
gem.add_runtime_dependency '
|
28
|
-
gem.add_runtime_dependency '
|
29
|
-
gem.add_runtime_dependency '
|
22
|
+
gem.add_runtime_dependency 'fluentd', '1.2.5'
|
23
|
+
gem.add_runtime_dependency 'googleapis-common-protos', '1.3.7'
|
24
|
+
gem.add_runtime_dependency 'googleauth', '0.6.6'
|
25
|
+
gem.add_runtime_dependency 'google-api-client', '0.23.9'
|
26
|
+
gem.add_runtime_dependency 'google-cloud-logging', '1.5.4'
|
27
|
+
gem.add_runtime_dependency 'google-protobuf', '3.6.1'
|
28
|
+
gem.add_runtime_dependency 'grpc', '1.8.3'
|
29
|
+
gem.add_runtime_dependency 'json', '2.1.0'
|
30
30
|
|
31
31
|
gem.add_development_dependency 'mocha', '~> 1.1'
|
32
|
+
gem.add_development_dependency 'prometheus-client', '~> 0.7.1'
|
32
33
|
gem.add_development_dependency 'rake', '~> 10.3'
|
33
34
|
gem.add_development_dependency 'rubocop', '~> 0.39.0'
|
34
|
-
gem.add_development_dependency 'webmock', '~> 2.3.1'
|
35
35
|
gem.add_development_dependency 'test-unit', '~> 3.0'
|
36
|
-
gem.add_development_dependency '
|
36
|
+
gem.add_development_dependency 'webmock', '~> 2.3.1'
|
37
37
|
end
|
@@ -233,15 +233,23 @@ module Fluent
|
|
233
233
|
Fluent::Plugin.register_output('google_cloud', self)
|
234
234
|
|
235
235
|
PLUGIN_NAME = 'Fluentd Google Cloud Logging plugin'.freeze
|
236
|
-
|
236
|
+
|
237
237
|
PLUGIN_VERSION = begin
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
238
|
+
# Extract plugin version from file path.
|
239
|
+
match_data = __FILE__.match(
|
240
|
+
%r{fluent-plugin-google-cloud-(?<version>[0-9a-zA-Z\.]*)/})
|
241
|
+
if match_data
|
242
|
+
match_data['version']
|
243
|
+
else
|
244
|
+
# Extract plugin version by finding the spec this file was loaded from.
|
245
|
+
dependency = Gem::Dependency.new('fluent-plugin-google-cloud')
|
246
|
+
all_specs, = Gem::SpecFetcher.fetcher.spec_for_dependency(dependency)
|
247
|
+
matching_version, = all_specs.grep(
|
248
|
+
proc { |spec,| __FILE__.include?(spec.full_gem_path) }) do |spec,|
|
249
|
+
spec.version.to_s
|
250
|
+
end
|
251
|
+
matching_version
|
252
|
+
end
|
245
253
|
end.freeze
|
246
254
|
|
247
255
|
# Name of the the Google cloud logging write scope.
|
metadata
CHANGED
@@ -1,145 +1,127 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent-plugin-google-cloud
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.0
|
4
|
+
version: 0.7.0
|
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-10-
|
11
|
+
date: 2018-10-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fluentd
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '1.2'
|
20
|
-
- - ">="
|
17
|
+
- - '='
|
21
18
|
- !ruby/object:Gem::Version
|
22
19
|
version: 1.2.5
|
23
20
|
type: :runtime
|
24
21
|
prerelease: false
|
25
22
|
version_requirements: !ruby/object:Gem::Requirement
|
26
23
|
requirements:
|
27
|
-
- -
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: '1.2'
|
30
|
-
- - ">="
|
24
|
+
- - '='
|
31
25
|
- !ruby/object:Gem::Version
|
32
26
|
version: 1.2.5
|
33
27
|
- !ruby/object:Gem::Dependency
|
34
28
|
name: googleapis-common-protos
|
35
29
|
requirement: !ruby/object:Gem::Requirement
|
36
30
|
requirements:
|
37
|
-
- -
|
31
|
+
- - '='
|
38
32
|
- !ruby/object:Gem::Version
|
39
|
-
version:
|
33
|
+
version: 1.3.7
|
40
34
|
type: :runtime
|
41
35
|
prerelease: false
|
42
36
|
version_requirements: !ruby/object:Gem::Requirement
|
43
37
|
requirements:
|
44
|
-
- -
|
38
|
+
- - '='
|
45
39
|
- !ruby/object:Gem::Version
|
46
|
-
version:
|
40
|
+
version: 1.3.7
|
47
41
|
- !ruby/object:Gem::Dependency
|
48
|
-
name:
|
42
|
+
name: googleauth
|
49
43
|
requirement: !ruby/object:Gem::Requirement
|
50
44
|
requirements:
|
51
|
-
- -
|
45
|
+
- - '='
|
52
46
|
- !ruby/object:Gem::Version
|
53
|
-
version:
|
47
|
+
version: 0.6.6
|
54
48
|
type: :runtime
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
51
|
requirements:
|
58
|
-
- -
|
52
|
+
- - '='
|
59
53
|
- !ruby/object:Gem::Version
|
60
|
-
version:
|
54
|
+
version: 0.6.6
|
61
55
|
- !ruby/object:Gem::Dependency
|
62
|
-
name: google-
|
56
|
+
name: google-api-client
|
63
57
|
requirement: !ruby/object:Gem::Requirement
|
64
58
|
requirements:
|
65
|
-
- -
|
66
|
-
- !ruby/object:Gem::Version
|
67
|
-
version: '1.3'
|
68
|
-
- - ">="
|
59
|
+
- - '='
|
69
60
|
- !ruby/object:Gem::Version
|
70
|
-
version:
|
61
|
+
version: 0.23.9
|
71
62
|
type: :runtime
|
72
63
|
prerelease: false
|
73
64
|
version_requirements: !ruby/object:Gem::Requirement
|
74
65
|
requirements:
|
75
|
-
- -
|
76
|
-
- !ruby/object:Gem::Version
|
77
|
-
version: '1.3'
|
78
|
-
- - ">="
|
66
|
+
- - '='
|
79
67
|
- !ruby/object:Gem::Version
|
80
|
-
version:
|
68
|
+
version: 0.23.9
|
81
69
|
- !ruby/object:Gem::Dependency
|
82
|
-
name:
|
70
|
+
name: google-cloud-logging
|
83
71
|
requirement: !ruby/object:Gem::Requirement
|
84
72
|
requirements:
|
85
|
-
- -
|
73
|
+
- - '='
|
86
74
|
- !ruby/object:Gem::Version
|
87
|
-
version:
|
75
|
+
version: 1.5.4
|
88
76
|
type: :runtime
|
89
77
|
prerelease: false
|
90
78
|
version_requirements: !ruby/object:Gem::Requirement
|
91
79
|
requirements:
|
92
|
-
- -
|
80
|
+
- - '='
|
93
81
|
- !ruby/object:Gem::Version
|
94
|
-
version:
|
82
|
+
version: 1.5.4
|
95
83
|
- !ruby/object:Gem::Dependency
|
96
|
-
name:
|
84
|
+
name: google-protobuf
|
97
85
|
requirement: !ruby/object:Gem::Requirement
|
98
86
|
requirements:
|
99
|
-
- -
|
87
|
+
- - '='
|
100
88
|
- !ruby/object:Gem::Version
|
101
|
-
version:
|
89
|
+
version: 3.6.1
|
102
90
|
type: :runtime
|
103
91
|
prerelease: false
|
104
92
|
version_requirements: !ruby/object:Gem::Requirement
|
105
93
|
requirements:
|
106
|
-
- -
|
94
|
+
- - '='
|
107
95
|
- !ruby/object:Gem::Version
|
108
|
-
version:
|
96
|
+
version: 3.6.1
|
109
97
|
- !ruby/object:Gem::Dependency
|
110
|
-
name:
|
98
|
+
name: grpc
|
111
99
|
requirement: !ruby/object:Gem::Requirement
|
112
100
|
requirements:
|
113
|
-
- -
|
101
|
+
- - '='
|
114
102
|
- !ruby/object:Gem::Version
|
115
|
-
version:
|
103
|
+
version: 1.8.3
|
116
104
|
type: :runtime
|
117
105
|
prerelease: false
|
118
106
|
version_requirements: !ruby/object:Gem::Requirement
|
119
107
|
requirements:
|
120
|
-
- -
|
108
|
+
- - '='
|
121
109
|
- !ruby/object:Gem::Version
|
122
|
-
version:
|
110
|
+
version: 1.8.3
|
123
111
|
- !ruby/object:Gem::Dependency
|
124
|
-
name:
|
112
|
+
name: json
|
125
113
|
requirement: !ruby/object:Gem::Requirement
|
126
114
|
requirements:
|
127
|
-
- -
|
128
|
-
- !ruby/object:Gem::Version
|
129
|
-
version: '3.6'
|
130
|
-
- - ">="
|
115
|
+
- - '='
|
131
116
|
- !ruby/object:Gem::Version
|
132
|
-
version:
|
117
|
+
version: 2.1.0
|
133
118
|
type: :runtime
|
134
119
|
prerelease: false
|
135
120
|
version_requirements: !ruby/object:Gem::Requirement
|
136
121
|
requirements:
|
137
|
-
- -
|
122
|
+
- - '='
|
138
123
|
- !ruby/object:Gem::Version
|
139
|
-
version:
|
140
|
-
- - ">="
|
141
|
-
- !ruby/object:Gem::Version
|
142
|
-
version: 3.6.1
|
124
|
+
version: 2.1.0
|
143
125
|
- !ruby/object:Gem::Dependency
|
144
126
|
name: mocha
|
145
127
|
requirement: !ruby/object:Gem::Requirement
|
@@ -155,47 +137,47 @@ dependencies:
|
|
155
137
|
- !ruby/object:Gem::Version
|
156
138
|
version: '1.1'
|
157
139
|
- !ruby/object:Gem::Dependency
|
158
|
-
name:
|
140
|
+
name: prometheus-client
|
159
141
|
requirement: !ruby/object:Gem::Requirement
|
160
142
|
requirements:
|
161
143
|
- - "~>"
|
162
144
|
- !ruby/object:Gem::Version
|
163
|
-
version:
|
145
|
+
version: 0.7.1
|
164
146
|
type: :development
|
165
147
|
prerelease: false
|
166
148
|
version_requirements: !ruby/object:Gem::Requirement
|
167
149
|
requirements:
|
168
150
|
- - "~>"
|
169
151
|
- !ruby/object:Gem::Version
|
170
|
-
version:
|
152
|
+
version: 0.7.1
|
171
153
|
- !ruby/object:Gem::Dependency
|
172
|
-
name:
|
154
|
+
name: rake
|
173
155
|
requirement: !ruby/object:Gem::Requirement
|
174
156
|
requirements:
|
175
157
|
- - "~>"
|
176
158
|
- !ruby/object:Gem::Version
|
177
|
-
version:
|
159
|
+
version: '10.3'
|
178
160
|
type: :development
|
179
161
|
prerelease: false
|
180
162
|
version_requirements: !ruby/object:Gem::Requirement
|
181
163
|
requirements:
|
182
164
|
- - "~>"
|
183
165
|
- !ruby/object:Gem::Version
|
184
|
-
version:
|
166
|
+
version: '10.3'
|
185
167
|
- !ruby/object:Gem::Dependency
|
186
|
-
name:
|
168
|
+
name: rubocop
|
187
169
|
requirement: !ruby/object:Gem::Requirement
|
188
170
|
requirements:
|
189
171
|
- - "~>"
|
190
172
|
- !ruby/object:Gem::Version
|
191
|
-
version:
|
173
|
+
version: 0.39.0
|
192
174
|
type: :development
|
193
175
|
prerelease: false
|
194
176
|
version_requirements: !ruby/object:Gem::Requirement
|
195
177
|
requirements:
|
196
178
|
- - "~>"
|
197
179
|
- !ruby/object:Gem::Version
|
198
|
-
version:
|
180
|
+
version: 0.39.0
|
199
181
|
- !ruby/object:Gem::Dependency
|
200
182
|
name: test-unit
|
201
183
|
requirement: !ruby/object:Gem::Requirement
|
@@ -211,19 +193,19 @@ dependencies:
|
|
211
193
|
- !ruby/object:Gem::Version
|
212
194
|
version: '3.0'
|
213
195
|
- !ruby/object:Gem::Dependency
|
214
|
-
name:
|
196
|
+
name: webmock
|
215
197
|
requirement: !ruby/object:Gem::Requirement
|
216
198
|
requirements:
|
217
199
|
- - "~>"
|
218
200
|
- !ruby/object:Gem::Version
|
219
|
-
version:
|
201
|
+
version: 2.3.1
|
220
202
|
type: :development
|
221
203
|
prerelease: false
|
222
204
|
version_requirements: !ruby/object:Gem::Requirement
|
223
205
|
requirements:
|
224
206
|
- - "~>"
|
225
207
|
- !ruby/object:Gem::Version
|
226
|
-
version:
|
208
|
+
version: 2.3.1
|
227
209
|
description: |2
|
228
210
|
Fluentd plugins for the Stackdriver Logging API, which will make logs
|
229
211
|
viewable in the Stackdriver Logs Viewer and can optionally store them
|
@@ -240,7 +222,6 @@ files:
|
|
240
222
|
- LICENSE
|
241
223
|
- README.rdoc
|
242
224
|
- Rakefile
|
243
|
-
- fluent-plugin-google-cloud-0.7.0.gem
|
244
225
|
- fluent-plugin-google-cloud.gemspec
|
245
226
|
- lib/fluent/plugin/filter_add_insert_ids.rb
|
246
227
|
- lib/fluent/plugin/monitoring.rb
|
@@ -272,9 +253,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
272
253
|
version: '2.2'
|
273
254
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
274
255
|
requirements:
|
275
|
-
- - "
|
256
|
+
- - ">="
|
276
257
|
- !ruby/object:Gem::Version
|
277
|
-
version:
|
258
|
+
version: '0'
|
278
259
|
requirements: []
|
279
260
|
rubyforge_project:
|
280
261
|
rubygems_version: 2.6.14
|
Binary file
|