google-cloud-debugger 0.35.0 → 0.36.2

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: 4f19d2b92211bb241ec80586ebba95707b5fcedd6d1be32394ed91e06aae1adf
4
- data.tar.gz: 910b0bbf8d50d8a4554c6082b1eea6bf280c28c267d35b969abea656f636bc06
3
+ metadata.gz: 4c6fdba2f188ed5e9eebd6f70800a3fb2c309eff8a413cbef41c50819a6e270a
4
+ data.tar.gz: b14634126ba9ce25bf73decc35542dc44e6d186b52dd298a9779ad7201df156e
5
5
  SHA512:
6
- metadata.gz: 89febdbe594b902e2ab96889c3783bf2d0ece1ff235a723780951ce78a954a04bc50815d2c23966cfcb4adc43f5cefd6cd58d1366d608bac2fdc6c2ebe1316d2
7
- data.tar.gz: 4b65fdc445112e6cc75fb3fa72b5151f0a39b487d2801c7e38d060bcaaa053dec8321b99c66434f1acc25d378553221b86f74da2154799ca4c302ca2a2be98d5
6
+ metadata.gz: 18b9857fe5a8a4ad2eb7883c132e6d7b72548800f562c82471f30093c7d84193b5d6d2d8b700c85291fef6157ba5af0dc9844a1751004618f0d72bf708f4a3b2
7
+ data.tar.gz: 9fa5a8acb902ef5d93be54e66a4dfedde25d562e8103b6f77d849abe33bb45ec3dc0619e921e4ea3d3aa6e44a338a40c41639ac027a027153b7886b4d315cd46
@@ -1,5 +1,35 @@
1
1
  # Release History
2
2
 
3
+ ### 0.36.2 / 2020-05-28
4
+
5
+ #### Documentation
6
+
7
+ * Fix a few broken links
8
+
9
+ ### 0.36.1 / 2020-05-19
10
+
11
+ #### Bug Fixes
12
+
13
+ * Adjusted some default timeout and retry settings
14
+
15
+ ### 0.36.0 / 2020-03-11
16
+
17
+ #### Features
18
+
19
+ * Support separate project setting for quota/billing
20
+
21
+ ### 0.35.2 / 2020-01-23
22
+
23
+ #### Documentation
24
+
25
+ * Update copyright year
26
+
27
+ ### 0.35.1 / 2019-11-06
28
+
29
+ #### Bug Fixes
30
+
31
+ * Update minimum runtime dependencies
32
+
3
33
  ### 0.35.0 / 2019-10-29
4
34
 
5
35
  This release requires Ruby 2.4 or later.
@@ -24,14 +24,8 @@ improved, *please* create a new issue on GitHub so we can talk about it.
24
24
 
25
25
  - [New issue][gh-ruby]
26
26
 
27
- Or, you can ask questions on the [Google Cloud Platform Slack][slack-ruby]. You
28
- can use the "ruby" channel for general Ruby questions, or use the
29
- "google-cloud-ruby" channel if you have questions about this gem in particular.
30
-
31
27
  [so-ruby]: http://stackoverflow.com/questions/tagged/google-cloud-platform+ruby+debugger
32
28
 
33
- [gh-search-ruby]: https://github.com/googlecloudplatform/google-cloud-ruby/issues?q=label%3A%22api%3A+debugger%22
34
-
35
- [gh-ruby]: https://github.com/googlecloudplatform/google-cloud-ruby/issues/new
29
+ [gh-search-ruby]: https://github.com/googleapis/google-cloud-ruby/issues?q=label%3A%22api%3A+debugger%22
36
30
 
37
- [slack-ruby]: https://gcp-slack.appspot.com/
31
+ [gh-ruby]: https://github.com/googleapis/google-cloud-ruby/issues/new
@@ -123,9 +123,7 @@ module Google
123
123
  Comparable,
124
124
  Enumerable,
125
125
  Math
126
- ].concat(
127
- RUBY_VERSION.to_f >= 2.4 ? [] : [Bignum, Fixnum]
128
- ).freeze
126
+ ].freeze
129
127
 
130
128
  ##
131
129
  # @private helper method to hashify an array
@@ -1,4 +1,4 @@
1
- # Copyright 2019 Google LLC
1
+ # Copyright 2020 Google LLC
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
@@ -22,7 +22,7 @@ module Google
22
22
  # rubocop:disable LineLength
23
23
 
24
24
  ##
25
- # # Ruby Client for Stackdriver Debugger API ([Alpha](https://github.com/googleapis/google-cloud-ruby#versioning))
25
+ # # Ruby Client for Stackdriver Debugger API
26
26
  #
27
27
  # [Stackdriver Debugger API][Product Documentation]:
28
28
  # Examines the call stack and variables of a running application without
@@ -1,4 +1,4 @@
1
- # Copyright 2019 Google LLC
1
+ # Copyright 2020 Google LLC
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
@@ -156,6 +156,9 @@ module Google
156
156
  google_api_client.freeze
157
157
 
158
158
  headers = { :"x-goog-api-client" => google_api_client }
159
+ if credentials.respond_to?(:quota_project_id) && credentials.quota_project_id
160
+ headers[:"x-goog-user-project"] = credentials.quota_project_id
161
+ end
159
162
  headers.merge!(metadata) unless metadata.nil?
160
163
  client_config_file = Pathname.new(__dir__).join(
161
164
  "controller2_client_config.json"
@@ -13,9 +13,9 @@
13
13
  "initial_retry_delay_millis": 100,
14
14
  "retry_delay_multiplier": 1.3,
15
15
  "max_retry_delay_millis": 60000,
16
- "initial_rpc_timeout_millis": 20000,
16
+ "initial_rpc_timeout_millis": 60000,
17
17
  "rpc_timeout_multiplier": 1.0,
18
- "max_rpc_timeout_millis": 20000,
18
+ "max_rpc_timeout_millis": 60000,
19
19
  "total_timeout_millis": 600000
20
20
  }
21
21
  },
@@ -1,4 +1,4 @@
1
- # Copyright 2019 Google LLC
1
+ # Copyright 2020 Google LLC
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
@@ -1,4 +1,4 @@
1
- # Copyright 2019 Google LLC
1
+ # Copyright 2020 Google LLC
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
@@ -148,6 +148,9 @@ module Google
148
148
  google_api_client.freeze
149
149
 
150
150
  headers = { :"x-goog-api-client" => google_api_client }
151
+ if credentials.respond_to?(:quota_project_id) && credentials.quota_project_id
152
+ headers[:"x-goog-user-project"] = credentials.quota_project_id
153
+ end
151
154
  headers.merge!(metadata) unless metadata.nil?
152
155
  client_config_file = Pathname.new(__dir__).join(
153
156
  "debugger2_client_config.json"
@@ -13,9 +13,9 @@
13
13
  "initial_retry_delay_millis": 100,
14
14
  "retry_delay_multiplier": 1.3,
15
15
  "max_retry_delay_millis": 60000,
16
- "initial_rpc_timeout_millis": 20000,
16
+ "initial_rpc_timeout_millis": 60000,
17
17
  "rpc_timeout_multiplier": 1.0,
18
- "max_rpc_timeout_millis": 20000,
18
+ "max_rpc_timeout_millis": 60000,
19
19
  "total_timeout_millis": 600000
20
20
  }
21
21
  },
@@ -1,4 +1,4 @@
1
- # Copyright 2019 Google LLC
1
+ # Copyright 2020 Google LLC
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
@@ -1,4 +1,4 @@
1
- # Copyright 2019 Google LLC
1
+ # Copyright 2020 Google LLC
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
@@ -1,4 +1,4 @@
1
- # Copyright 2019 Google LLC
1
+ # Copyright 2020 Google LLC
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
@@ -1,4 +1,4 @@
1
- # Copyright 2019 Google LLC
1
+ # Copyright 2020 Google LLC
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
@@ -1,4 +1,4 @@
1
- # Copyright 2019 Google LLC
1
+ # Copyright 2020 Google LLC
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
@@ -1,4 +1,4 @@
1
- # Copyright 2019 Google LLC
1
+ # Copyright 2020 Google LLC
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module Debugger
19
- VERSION = "0.35.0".freeze
19
+ VERSION = "0.36.2".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-debugger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.35.0
4
+ version: 0.36.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Heng Xiong
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-10-30 00:00:00.000000000 Z
11
+ date: 2020-05-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: binding_of_caller
@@ -66,6 +66,46 @@ dependencies:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: '1.8'
69
+ - !ruby/object:Gem::Dependency
70
+ name: googleapis-common-protos
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: 1.3.9
76
+ - - "<"
77
+ - !ruby/object:Gem::Version
78
+ version: '2.0'
79
+ type: :runtime
80
+ prerelease: false
81
+ version_requirements: !ruby/object:Gem::Requirement
82
+ requirements:
83
+ - - ">="
84
+ - !ruby/object:Gem::Version
85
+ version: 1.3.9
86
+ - - "<"
87
+ - !ruby/object:Gem::Version
88
+ version: '2.0'
89
+ - !ruby/object:Gem::Dependency
90
+ name: googleapis-common-protos-types
91
+ requirement: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - ">="
94
+ - !ruby/object:Gem::Version
95
+ version: 1.0.4
96
+ - - "<"
97
+ - !ruby/object:Gem::Version
98
+ version: '2.0'
99
+ type: :runtime
100
+ prerelease: false
101
+ version_requirements: !ruby/object:Gem::Requirement
102
+ requirements:
103
+ - - ">="
104
+ - !ruby/object:Gem::Version
105
+ version: 1.0.4
106
+ - - "<"
107
+ - !ruby/object:Gem::Version
108
+ version: '2.0'
69
109
  - !ruby/object:Gem::Dependency
70
110
  name: stackdriver-core
71
111
  requirement: !ruby/object:Gem::Requirement
@@ -114,14 +154,14 @@ dependencies:
114
154
  requirements:
115
155
  - - "~>"
116
156
  - !ruby/object:Gem::Version
117
- version: '5.10'
157
+ version: '5.14'
118
158
  type: :development
119
159
  prerelease: false
120
160
  version_requirements: !ruby/object:Gem::Requirement
121
161
  requirements:
122
162
  - - "~>"
123
163
  - !ruby/object:Gem::Version
124
- version: '5.10'
164
+ version: '5.14'
125
165
  - !ruby/object:Gem::Dependency
126
166
  name: minitest-autotest
127
167
  requirement: !ruby/object:Gem::Requirement