google-cloud-trace 0.41.4 → 0.42.0

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: e5e76ca34605bc5bce0f235e5c07d9c269b78066a50ec6b1fa7f193db7eb499a
4
- data.tar.gz: 8a4595b72e419d627a5c3a3a75932e79980f88e264c707bcb02b6b73911ed9f9
3
+ metadata.gz: c6c2274b4c8665a434234d263c9c7a547ad397fc5c31e1316ddf004abadcff1c
4
+ data.tar.gz: 52642c3d24df65b62ba39835a10d114082431565fdf6cc7c1689a977fbeb5291
5
5
  SHA512:
6
- metadata.gz: 7d485174652b1af1d5050ac9f4948348f2ba035dd6864075c59164bdab09419a79b10d789c7d55788446fbfd3190c8fef626bc1ce3fd8860b7a7a5f3121f9717
7
- data.tar.gz: f05faeee499e0f9e2e590884e5df8c85741fdfe008f51520b9cc25c246c2f73da78d01bf8a39d0b02fd01c2790d6da17f049a3b163f80dfa85a9b2aa27e030ec
6
+ metadata.gz: 4c4c0491334bde7d9725cfcfed4ce58c45622e6d26d9aef6c45a330af08d06d665fe59cb32700c095530f14ea4078a13a57ea57fb3e0d9069d6d44b2c4a5de59
7
+ data.tar.gz: 87a957fb8e121b43c5977ae334e1a696c75d1cfcf3363a43ebce53af30a93c8e3233e36aae27afd068e29c3049ba451cbcc8dd53851e54328258da5efa0876d1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Release History
2
2
 
3
+ ### 0.42.0 (2022-07-08)
4
+
5
+ #### Features
6
+
7
+ * Updated minimum Ruby version to 2.6 ([#18455](https://github.com/googleapis/google-cloud-ruby/issues/18455))
8
+
3
9
  ### 0.41.4 (2022-05-27)
4
10
 
5
11
  #### Bug Fixes
@@ -54,9 +54,9 @@ module GRPC
54
54
  ##
55
55
  # @private Reverse lookup from numeric status code to readable string.
56
56
  def self.status_code_to_label code
57
- @lookup ||= Hash[GRPC::Core::StatusCodes.constants.map do |c|
57
+ @lookup ||= GRPC::Core::StatusCodes.constants.to_h do |c|
58
58
  [GRPC::Core::StatusCodes.const_get(c), c.to_s]
59
- end]
59
+ end
60
60
 
61
61
  @lookup[code]
62
62
  end
@@ -192,13 +192,13 @@ module Google
192
192
  end
193
193
  rescue Exception => e
194
194
  $stdout.puts "Note: Google::Cloud::Trace is disabled because " \
195
- "it failed to authorize with the service. (#{e.message})"
195
+ "it failed to authorize with the service. (#{e.message})"
196
196
  return false
197
197
  end
198
198
 
199
199
  if project_id.to_s.empty?
200
200
  $stdout.puts "Note: Google::Cloud::Trace is disabled because " \
201
- "the project ID could not be determined."
201
+ "the project ID could not be determined."
202
202
  return false
203
203
  end
204
204
 
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module Trace
19
- VERSION = "0.41.4".freeze
19
+ VERSION = "0.42.0".freeze
20
20
  end
21
21
  end
22
22
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-trace
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.41.4
4
+ version: 0.42.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: 2022-05-27 00:00:00.000000000 Z
11
+ date: 2022-07-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-cloud-core
@@ -86,28 +86,28 @@ dependencies:
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: 1.25.1
89
+ version: 1.26.1
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: 1.25.1
96
+ version: 1.26.1
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: minitest
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: '5.14'
103
+ version: '5.16'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: '5.14'
110
+ version: '5.16'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: minitest-autotest
113
113
  requirement: !ruby/object:Gem::Requirement
@@ -312,7 +312,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
312
312
  requirements:
313
313
  - - ">="
314
314
  - !ruby/object:Gem::Version
315
- version: '2.5'
315
+ version: '2.6'
316
316
  required_rubygems_version: !ruby/object:Gem::Requirement
317
317
  requirements:
318
318
  - - ">="