opencensus-stackdriver 0.3.2 → 0.4.0

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: 3a4b99ffafcd195ad6f1e10fa9957dc71e99af29a49fdc333e804426b1311f2a
4
- data.tar.gz: 47f8a94bb41ea9bd68f7bcb8c40abfb752333bb61b473f8e7389d2d211b9e636
3
+ metadata.gz: 0c38340ddaa943b074e93623040737f17eacbd06d93f2adf0568fa2f4653776e
4
+ data.tar.gz: fd1589264c08774869166ff8a249e7e35e0a42e30f17048f09a60c859bc71539
5
5
  SHA512:
6
- metadata.gz: 501f0cd5aab282baadbb2183a6bbfd03afb1ef72aee2a20a2ed2c52ef0cece43d5a945b9babbb94a52384e22a4177cd6f4cc2b8f08780126ab344c0cbb1eb314
7
- data.tar.gz: 33d165acd0a0d36d8ab7afa82a61daba8951a5d5cb822c80bc8d8e08cd1274a2121e1b68ca7c189211b48e99694a11a7663950c099ebd95a7cbcf911c86c1e54
6
+ metadata.gz: f7404e1915c08587c91fcc6c25664b4419e600dbc5456639c5eff53a07811660b64e610ad45aa0e993b792ca1b5bd24b11915b385661cad9f25aefa0618a1a94
7
+ data.tar.gz: 584e5a22a969028271fcec0021baa1b24349e461029d2b41bef42cc1bbd5fb3ef3d6abbfbfd93362368b0d60dada4c6648b35484c71a3fd3306fa0015169303c
@@ -1,5 +1,10 @@
1
1
  # Release History
2
2
 
3
+ ### 0.4.0 / 2020-07-23
4
+
5
+ * Update for compatibility with changes to the google-cloud-trace and google-cloud-monitoring library structure.
6
+ * Requires Ruby 2.4 or later.
7
+
3
8
  ### 0.3.2 / 2020-02-24
4
9
 
5
10
  * Update the google-cloud-trace and google-cloud-monitoring dependencies to versions that support service address override.
@@ -16,6 +16,6 @@
16
16
  module OpenCensus
17
17
  module Stackdriver
18
18
  ## Current OpenCensus Stackdriver plugin version
19
- VERSION = "0.3.2".freeze
19
+ VERSION = "0.4.0".freeze
20
20
  end
21
21
  end
@@ -15,11 +15,11 @@
15
15
  # limitations under the License.
16
16
 
17
17
 
18
- gem "google-cloud-monitoring"
18
+ gem "google-cloud-monitoring-v3"
19
19
  gem "concurrent-ruby"
20
20
 
21
21
  require "concurrent"
22
- require "google/cloud/monitoring"
22
+ require "google/cloud/env"
23
23
  require "google/cloud/monitoring/v3"
24
24
 
25
25
  module OpenCensus
@@ -112,7 +112,7 @@ module OpenCensus
112
112
  credentials: nil,
113
113
  scope: nil,
114
114
  timeout: nil,
115
- client_config: nil,
115
+ client_config: nil, # rubocop:disable Lint/UnusedMethodArgument
116
116
  max_queue: 1000,
117
117
  max_threads: 1,
118
118
  auto_terminate_time: 10,
@@ -121,7 +121,9 @@ module OpenCensus
121
121
  resource_type: nil,
122
122
  resource_labels: nil,
123
123
  gcm_service_address: nil
124
- @project_id = final_project_id project_id
124
+ @project_id = project_id ||
125
+ ENV["GOOGLE_CLOUD_PROJECT"] ||
126
+ Google::Cloud.env.project_id
125
127
  @metric_prefix = metric_prefix || CUSTOM_OPENCENSUS_DOMAIN
126
128
  @resource_type = resource_type || GLOBAL_RESOURCE_TYPE
127
129
  @resource_labels = resource_labels || {
@@ -137,15 +139,13 @@ module OpenCensus
137
139
  @client_promise =
138
140
  Concurrent::Promise.fulfill mock_client, executor: @executor
139
141
  else
140
- credentials = final_credentials credentials, scope
141
142
  @client_promise = create_client_promise \
142
- @executor, credentials, scope, client_config, timeout,
143
- gcm_service_address
143
+ @executor, credentials, scope, timeout, gcm_service_address
144
144
  end
145
145
 
146
146
  @converter = Converter.new @project_id
147
- @project_path = Google::Cloud::Monitoring::V3:: \
148
- MetricServiceClient.project_path @project_id
147
+ paths = Google::Cloud::Monitoring::V3::MetricService::Paths
148
+ @project_path = paths.project_path project: @project_id
149
149
  end
150
150
 
151
151
  # Export stats to Monitoring service asynchronously.
@@ -247,15 +247,16 @@ module OpenCensus
247
247
  view,
248
248
  metric_prefix
249
249
  )
250
- metric_name = Google::Cloud::Monitoring::V3:: \
251
- MetricServiceClient.metric_descriptor_path(
252
- project_id,
253
- metric_descriptor.type
254
- )
250
+ paths = Google::Cloud::Monitoring::V3::MetricService::Paths
251
+ metric_name = paths.metric_descriptor_path(
252
+ project: project_id,
253
+ metric_descriptor: metric_descriptor.type
254
+ )
255
255
 
256
256
  @client_promise.execute
257
257
  descriptor_create_promise = @client_promise.then do |client|
258
- client.create_metric_descriptor metric_name, metric_descriptor
258
+ client.create_metric_descriptor name: metric_name,
259
+ metric_descriptor: metric_descriptor
259
260
  end
260
261
  descriptor_create_promise.value!
261
262
  end
@@ -278,18 +279,17 @@ module OpenCensus
278
279
  # We create the client lazily so grpc doesn't get initialized until
279
280
  # we actually need it. This is important because if it is intialized
280
281
  # too early, before a fork, it can go into a bad state.
281
- def create_client_promise executor, credentials, scopes, client_config,
282
+ def create_client_promise executor, credentials, scopes,
282
283
  timeout, service_address
283
284
  Concurrent::Promise.new executor: executor do
284
- Google::Cloud::Monitoring::Metric.new(
285
- credentials: credentials,
286
- scopes: scopes,
287
- client_config: client_config,
288
- timeout: timeout,
289
- lib_name: "opencensus",
290
- lib_version: OpenCensus::Stackdriver::VERSION,
291
- service_address: service_address
292
- )
285
+ Google::Cloud::Monitoring::V3::MetricService::Client.new do |config|
286
+ config.credentials = credentials if credentials
287
+ config.scope = scopes if scopes
288
+ config.timeout = timeout if timeout
289
+ config.endpoint = service_address if service_address
290
+ config.lib_name = "opencensus"
291
+ config.lib_version = OpenCensus::Stackdriver::VERSION
292
+ end
293
293
  end
294
294
  end
295
295
 
@@ -304,27 +304,6 @@ module OpenCensus
304
304
  end
305
305
  end
306
306
 
307
- # Fall back to default project ID
308
- def final_project_id project_id
309
- project_id ||
310
- Google::Cloud.configure.project_id ||
311
- Google::Cloud.env.project_id
312
- end
313
-
314
- # Fall back to default credentials, and wrap in a creds object
315
- def final_credentials credentials, scope
316
- credentials ||=
317
- Google::Cloud.configure.credentials ||
318
- Google::Cloud::Monitoring::V3::Credentials.default(scope: scope)
319
- unless credentials.is_a? Google::Auth::Credentials
320
- credentials = Google::Cloud::Monitoring::V3::Credentials.new(
321
- credentials,
322
- scope: scope
323
- )
324
- end
325
- credentials
326
- end
327
-
328
307
  # Export a list of stats in the current thread
329
308
  def export_as_batch client, views_data
330
309
  time_series = views_data.map do |view_data|
@@ -336,7 +315,8 @@ module OpenCensus
336
315
  )
337
316
  end
338
317
 
339
- client.create_time_series @project_path, time_series.flatten!
318
+ client.create_time_series name: @project_path,
319
+ time_series: time_series.flatten
340
320
  end
341
321
  end
342
322
  end
@@ -114,14 +114,14 @@ module OpenCensus
114
114
  # @param [String] resource_type Metric resource type
115
115
  # @param [Hash<String,String>] resource_labels Metric resource labels
116
116
  # @param [OpenCensus::Stats::ViewData] view_data Stats view data
117
- # @return [Array[Google::Monitoring::V3::TimeSeries]]
117
+ # @return [Array[Google::Cloud::Monitoring::V3::TimeSeries]]
118
118
  #
119
119
  def convert_time_series metric_prefix, resource_type, resource_labels,
120
120
  view_data
121
121
  view = view_data.view
122
122
 
123
123
  view_data.data.map do |tag_values, aggr_data|
124
- series = Google::Monitoring::V3::TimeSeries.new(
124
+ series = Google::Cloud::Monitoring::V3::TimeSeries.new(
125
125
  metric: {
126
126
  type: make_metric_type(metric_prefix, view.name),
127
127
  labels: Hash[view.columns.zip tag_values]
@@ -152,7 +152,7 @@ module OpenCensus
152
152
  # @param [OpenCensus::Stats:Measure] measure Measure details
153
153
  # @param [OpenCensus::Stats:AggregationData] aggr_data Aggregated data
154
154
  # @raise [TypeError] If invalid aggr data type.
155
- # @return [Google::Monitoring::V3::Point]
155
+ # @return [Google::Cloud::Monitoring::V3::Point]
156
156
  def convert_point start_time, end_time, measure, aggr_data
157
157
  case aggr_data
158
158
  when OpenCensus::Stats::AggregationData::Distribution
@@ -181,7 +181,7 @@ module OpenCensus
181
181
  # @param [Time] start_time Start time
182
182
  # @param [Time] end_time Start time
183
183
  # @param [OpenCensus::Stats::AggregationData::Distribution] aggr_data
184
- # @return [Google::Monitoring::V3::Point]
184
+ # @return [Google::Cloud::Monitoring::V3::Point]
185
185
  #
186
186
  def create_distribution_point start_time, end_time, aggr_data
187
187
  value = {
@@ -196,7 +196,7 @@ module OpenCensus
196
196
  bucket_counts: [0].concat(aggr_data.bucket_counts)
197
197
  }
198
198
 
199
- Google::Monitoring::V3::Point.new(
199
+ Google::Cloud::Monitoring::V3::Point.new(
200
200
  interval: {
201
201
  start_time: convert_time(start_time),
202
202
  end_time: convert_time(end_time)
@@ -212,7 +212,7 @@ module OpenCensus
212
212
  # @param [Time] end_time Start time
213
213
  # @param [Integer, Float] value
214
214
  # @param [OpenCensus::Stats::Measure] measure Measure defination
215
- # @return [Google::Monitoring::V3::Point]
215
+ # @return [Google::Cloud::Monitoring::V3::Point]
216
216
  #
217
217
  def create_number_point start_time, end_time, value, measure
218
218
  value = if measure.int64?
@@ -221,7 +221,7 @@ module OpenCensus
221
221
  { double_value: value }
222
222
  end
223
223
 
224
- Google::Monitoring::V3::Point.new(
224
+ Google::Cloud::Monitoring::V3::Point.new(
225
225
  interval: {
226
226
  start_time: convert_time(start_time),
227
227
  end_time: convert_time(end_time)
@@ -13,11 +13,11 @@
13
13
  # limitations under the License.
14
14
 
15
15
 
16
- gem "google-cloud-trace"
16
+ gem "google-cloud-trace-v2"
17
17
  gem "concurrent-ruby"
18
18
 
19
19
  require "concurrent"
20
- require "google/cloud/trace"
20
+ require "google/cloud/env"
21
21
  require "google/cloud/trace/v2"
22
22
 
23
23
  module OpenCensus
@@ -56,8 +56,7 @@ module OpenCensus
56
56
  # Optional. Most applications can leave this set to the default.
57
57
  # @param [Integer] timeout The default timeout for API requests, in
58
58
  # seconds. Optional.
59
- # @param [Hash] client_config An optional set of additional
60
- # configuration values for the API connection.
59
+ # @param [Hash] client_config Unused.
61
60
  # @param [Integer] max_queue The maximum number of API requests that
62
61
  # can be queued for background operation. If the queue exceeds this
63
62
  # value, additional requests will be run in the calling thread
@@ -75,13 +74,14 @@ module OpenCensus
75
74
  credentials: nil,
76
75
  scope: nil,
77
76
  timeout: nil,
78
- client_config: nil,
77
+ client_config: nil, # rubocop:disable Lint/UnusedMethodArgument
79
78
  max_queue: 1000,
80
79
  max_threads: 1,
81
80
  auto_terminate_time: 10,
82
81
  mock_client: nil
83
- @project_id = final_project_id project_id
84
-
82
+ @project_id = project_id ||
83
+ ENV["GOOGLE_CLOUD_PROJECT"] ||
84
+ Google::Cloud.env.project_id
85
85
  @executor = create_executor max_threads, max_queue
86
86
  if auto_terminate_time
87
87
  terminate_at_exit! @executor, auto_terminate_time
@@ -91,12 +91,8 @@ module OpenCensus
91
91
  @client_promise =
92
92
  Concurrent::Promise.fulfill mock_client, executor: @executor
93
93
  else
94
- credentials = final_credentials credentials, scope
95
- scope ||= Google::Cloud.configure.trace.scope
96
- timeout ||= Google::Cloud.configure.trace.timeout
97
- client_config ||= Google::Cloud.configure.trace.client_config
98
94
  @client_promise = create_client_promise \
99
- @executor, credentials, scope, client_config, timeout
95
+ @executor, credentials, scope, timeout
100
96
  end
101
97
  end
102
98
 
@@ -210,17 +206,15 @@ module OpenCensus
210
206
  # We create the client lazily so grpc doesn't get initialized until
211
207
  # we actually need it. This is important because if it is intialized
212
208
  # too early, before a fork, it can go into a bad state.
213
- def create_client_promise executor, credentials, scopes, client_config,
214
- timeout
209
+ def create_client_promise executor, credentials, scopes, timeout
215
210
  Concurrent::Promise.new executor: executor do
216
- Google::Cloud::Trace::V2.new(
217
- credentials: credentials,
218
- scopes: scopes,
219
- client_config: client_config,
220
- timeout: timeout,
221
- lib_name: "opencensus",
222
- lib_version: OpenCensus::Stackdriver::VERSION
223
- )
211
+ Google::Cloud::Trace::V2::TraceService::Client.new do |config|
212
+ config.credentials = credentials if credentials
213
+ config.scope = scopes if scopes
214
+ config.timeout = timeout if timeout
215
+ config.lib_name = "opencensus"
216
+ config.lib_version = OpenCensus::Stackdriver::VERSION
217
+ end
224
218
  end
225
219
  end
226
220
 
@@ -235,32 +229,12 @@ module OpenCensus
235
229
  end
236
230
  end
237
231
 
238
- # Fall back to default project ID
239
- def final_project_id project_id
240
- project_id ||
241
- Google::Cloud.configure.trace.project_id ||
242
- Google::Cloud.configure.project_id ||
243
- Google::Cloud.env.project_id
244
- end
245
-
246
- # Fall back to default credentials, and wrap in a creds object
247
- def final_credentials credentials, scope
248
- credentials ||=
249
- Google::Cloud.configure.trace.credentials ||
250
- Google::Cloud.configure.credentials ||
251
- Google::Cloud::Trace::Credentials.default(scope: scope)
252
- unless credentials.is_a? Google::Auth::Credentials
253
- credentials =
254
- Google::Cloud::Trace::Credentials.new credentials, scope: scope
255
- end
256
- credentials
257
- end
258
-
259
232
  # Export a list of spans in a single batch write, in the current thread
260
233
  def export_as_batch client, spans
261
234
  converter = Converter.new project_id
262
235
  span_protos = Array(spans).map { |span| converter.convert_span span }
263
- client.batch_write_spans "projects/#{project_id}", span_protos
236
+ client.batch_write_spans name: "projects/#{project_id}",
237
+ spans: span_protos
264
238
  end
265
239
  end
266
240
  end
@@ -36,7 +36,7 @@ module OpenCensus
36
36
  # @private
37
37
  # Alias for the V2 Cloudtrace protos namespace
38
38
  #
39
- TraceProtos = Google::Devtools::Cloudtrace::V2
39
+ TraceProtos = Google::Cloud::Trace::V2
40
40
 
41
41
  ##
42
42
  # @private
@@ -83,7 +83,7 @@ module OpenCensus
83
83
  # Convert a span object.
84
84
  #
85
85
  # @param [OpenCensus::Trace::Span] obj OpenCensus span object
86
- # @return [Google::Devtools::Cloudtrace::V2::Span] The generated
86
+ # @return [Google::Cloud::Trace::V2::Span] The generated
87
87
  # proto
88
88
  #
89
89
  def convert_span obj
@@ -132,7 +132,7 @@ module OpenCensus
132
132
  # @param [String] str The string
133
133
  # @param [Integer] truncated_byte_count The number of bytes omitted.
134
134
  # Defaults to 0.
135
- # @return [Google::Devtools::Cloudtrace::V2::TruncatableString] The
135
+ # @return [Google::Cloud::Trace::V2::TruncatableString] The
136
136
  # generated proto
137
137
  #
138
138
  def make_truncatable_string str, truncated_byte_count = 0
@@ -146,7 +146,7 @@ module OpenCensus
146
146
  #
147
147
  # @param [OpenCensus::Trace::TruncatableString] obj OpenCensus
148
148
  # truncatable string object
149
- # @return [Google::Devtools::Cloudtrace::V2::TruncatableString] The
149
+ # @return [Google::Cloud::Trace::V2::TruncatableString] The
150
150
  # generated proto
151
151
  #
152
152
  def convert_truncatable_string obj
@@ -170,7 +170,7 @@ module OpenCensus
170
170
  #
171
171
  # @param [OpenCensus::Trace::TruncatableString, Integer, boolean]
172
172
  # obj Object to convert
173
- # @return [Google::Devtools::Cloudtrace::V2::AttributeValue] The
173
+ # @return [Google::Cloud::Trace::V2::AttributeValue] The
174
174
  # generated proto
175
175
  #
176
176
  def convert_attribute_value obj
@@ -202,7 +202,7 @@ module OpenCensus
202
202
  # @param [Integer] dropped_attributes_count Number of dropped
203
203
  # @param [Boolean] include_agent_attribute Include the `g.co/agent`
204
204
  # attribute in the result. Default is false.
205
- # @return [Google::Devtools::Cloudtrace::V2::Attributes] The
205
+ # @return [Google::Cloud::Trace::V2::Attributes] The
206
206
  # generated proto
207
207
  #
208
208
  def convert_attributes attributes, dropped_attributes_count,
@@ -225,7 +225,7 @@ module OpenCensus
225
225
  #
226
226
  # @param [Thread::Backtrace::Location] frame The backtrace element to
227
227
  # convert
228
- # @return [Google::Devtools::Cloudtrace::V2::StackTrace::StackFrame]
228
+ # @return [Google::Cloud::Trace::V2::StackTrace::StackFrame]
229
229
  # The generated proto
230
230
  #
231
231
  def convert_stack_frame frame
@@ -242,7 +242,7 @@ module OpenCensus
242
242
  # element array to convert
243
243
  # @param [Integer] dropped_frames_count Frames that were dropped
244
244
  # @param [Integer] stack_trace_hash_id Hash of the data
245
- # @return [Google::Devtools::Cloudtrace::V2::StackTrace] The
245
+ # @return [Google::Cloud::Trace::V2::StackTrace] The
246
246
  # generated proto
247
247
  #
248
248
  def convert_stack_trace backtrace, dropped_frames_count,
@@ -267,7 +267,7 @@ module OpenCensus
267
267
  # @param [OpenCensus::Trace::Annotation] annotation The annotation
268
268
  # object to convert
269
269
  # @return
270
- # [Google::Devtools::Cloudtrace::V2::Span::TimeEvent::Annotation]
270
+ # [Google::Cloud::Trace::V2::Span::TimeEvent::Annotation]
271
271
  # The generated proto
272
272
  #
273
273
  def convert_annotation annotation
@@ -287,7 +287,7 @@ module OpenCensus
287
287
  # @param [OpenCensus::Trace::MessageEvent] message_event The message
288
288
  # event object to convert
289
289
  # @return
290
- # [Google::Devtools::Cloudtrace::V2::Span::TimeEvent::MessageEvent]
290
+ # [Google::Cloud::Trace::V2::Span::TimeEvent::MessageEvent]
291
291
  # The generated proto
292
292
  #
293
293
  def convert_message_event message_event
@@ -297,7 +297,7 @@ module OpenCensus
297
297
  id: message_event.id,
298
298
  uncompressed_size_bytes: message_event.uncompressed_size,
299
299
  compressed_size_bytes: message_event.compressed_size
300
- Google::Devtools::Cloudtrace::V2::Span::TimeEvent.new \
300
+ TraceProtos::Span::TimeEvent.new \
301
301
  time: convert_time(message_event.time),
302
302
  message_event: message_event_proto
303
303
  end
@@ -311,7 +311,7 @@ module OpenCensus
311
311
  # annotations
312
312
  # @param [Integer] dropped_message_events_count Number of dropped
313
313
  # message events
314
- # @return [Google::Devtools::Cloudtrace::V2::Span::TimeEvents] The
314
+ # @return [Google::Cloud::Trace::V2::Span::TimeEvents] The
315
315
  # generated proto
316
316
  #
317
317
  def convert_time_events time_events, dropped_annotations_count,
@@ -336,7 +336,7 @@ module OpenCensus
336
336
  # Convert a link object
337
337
  #
338
338
  # @param [OpenCensus::Trace::Link] link The link object to convert
339
- # @return [Google::Devtools::Cloudtrace::V2::Span::Link] The
339
+ # @return [Google::Cloud::Trace::V2::Span::Link] The
340
340
  # generated proto
341
341
  #
342
342
  def convert_link link
@@ -355,7 +355,7 @@ module OpenCensus
355
355
  # @param [Array<OpenCensus::Trace::Link>] links The link objects to
356
356
  # convert
357
357
  # @param [Integer] dropped_links_count Number of dropped links
358
- # @return [Google::Devtools::Cloudtrace::V2::Span::Links] The
358
+ # @return [Google::Cloud::Trace::V2::Span::Links] The
359
359
  # generated proto
360
360
  #
361
361
  def convert_links links, dropped_links_count
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opencensus-stackdriver
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Azuma
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-02-24 00:00:00.000000000 Z
11
+ date: 2020-07-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby
@@ -25,47 +25,61 @@ dependencies:
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.0'
27
27
  - !ruby/object:Gem::Dependency
28
- name: google-cloud-trace
28
+ name: google-cloud-env
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '0.35'
33
+ version: '1.3'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '0.35'
40
+ version: '1.3'
41
41
  - !ruby/object:Gem::Dependency
42
- name: opencensus
42
+ name: google-cloud-monitoring-v3
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '0.5'
47
+ version: '0.1'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '0.5'
54
+ version: '0.1'
55
55
  - !ruby/object:Gem::Dependency
56
- name: google-cloud-monitoring
56
+ name: google-cloud-trace-v2
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '0.32'
61
+ version: '0.1'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '0.32'
68
+ version: '0.1'
69
+ - !ruby/object:Gem::Dependency
70
+ name: opencensus
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '0.5'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '0.5'
69
83
  - !ruby/object:Gem::Dependency
70
84
  name: bundler
71
85
  requirement: !ruby/object:Gem::Requirement
@@ -100,14 +114,14 @@ dependencies:
100
114
  requirements:
101
115
  - - "~>"
102
116
  - !ruby/object:Gem::Version
103
- version: '5.0'
117
+ version: '5.14'
104
118
  type: :development
105
119
  prerelease: false
106
120
  version_requirements: !ruby/object:Gem::Requirement
107
121
  requirements:
108
122
  - - "~>"
109
123
  - !ruby/object:Gem::Version
110
- version: '5.0'
124
+ version: '5.14'
111
125
  - !ruby/object:Gem::Dependency
112
126
  name: minitest-focus
113
127
  requirement: !ruby/object:Gem::Requirement
@@ -225,14 +239,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
225
239
  requirements:
226
240
  - - ">="
227
241
  - !ruby/object:Gem::Version
228
- version: 2.2.0
242
+ version: 2.4.0
229
243
  required_rubygems_version: !ruby/object:Gem::Requirement
230
244
  requirements:
231
245
  - - ">="
232
246
  - !ruby/object:Gem::Version
233
247
  version: '0'
234
248
  requirements: []
235
- rubygems_version: 3.1.2
249
+ rubygems_version: 3.0.3
236
250
  signing_key:
237
251
  specification_version: 4
238
252
  summary: Stackdriver exporter for OpenCensus