google-cloud-error_reporting 0.42.0 → 0.42.1
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 +4 -4
- data/AUTHENTICATION.md +2 -1
- data/CHANGELOG.md +6 -0
- data/CONTRIBUTING.md +2 -5
- data/OVERVIEW.md +1 -2
- data/lib/google/cloud/error_reporting/middleware.rb +3 -8
- data/lib/google/cloud/error_reporting/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 957342da4923bb845176e5ac341ffe375eff6c6fa8ccb6f7d19af8f30dce0170
|
|
4
|
+
data.tar.gz: cca90ec0d9c27d14252c863a3e8ae401b3e9e0c22db1f8036c240ff394ab2daa
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 98bf8f3898e2f5326cc3f5b1aa1997442bd7514f9a47d40abeb6602ac80cc638841fa90be67e3169492ef31990d352dcd4883d07725aac62ae4975ca23218a88
|
|
7
|
+
data.tar.gz: a7af81a8f51b5c183715a132a390023c1d4dc683c9547a22ad7b7d079495cf433739e78ca921b799911f50eb1749dd4098a8bb3e441871e58efa006c78d9ebb7
|
data/AUTHENTICATION.md
CHANGED
|
@@ -96,7 +96,8 @@ client = Google::Cloud::ErrorReporting.new
|
|
|
96
96
|
|
|
97
97
|
### Configuration
|
|
98
98
|
|
|
99
|
-
The **Project ID** and **Credentials JSON** can be configured
|
|
99
|
+
The **Project ID** and the path to the **Credentials JSON** file can be configured
|
|
100
|
+
instead of placing them in environment variables or providing them as arguments.
|
|
100
101
|
|
|
101
102
|
```ruby
|
|
102
103
|
require "google/cloud/error_reporting"
|
data/CHANGELOG.md
CHANGED
data/CONTRIBUTING.md
CHANGED
|
@@ -126,9 +126,7 @@ run the entire acceptance test suite. However, please ensure that you do
|
|
|
126
126
|
successfully run acceptance tests for any code areas covered by your pull
|
|
127
127
|
request.
|
|
128
128
|
|
|
129
|
-
To run the acceptance tests, first
|
|
130
|
-
Developers Console, as described in the {file:AUTHENTICATION.md Authentication
|
|
131
|
-
guide}. Be sure to download the JSON KEY file. Make note of the PROJECT_ID and
|
|
129
|
+
To run the acceptance tests, first creat{file:AUTHENTICATION.md Authentication Guide}. Be sure to download the JSON KEY file. Make note of the PROJECT_ID and
|
|
132
130
|
the KEYFILE location on your system.
|
|
133
131
|
|
|
134
132
|
Before you can run the Error Reporting acceptance tests, you must first create
|
|
@@ -185,5 +183,4 @@ $ bundle exec rake rubocop
|
|
|
185
183
|
## Code of Conduct
|
|
186
184
|
|
|
187
185
|
Please note that this project is released with a Contributor Code of Conduct. By
|
|
188
|
-
participating in this project you agree to abide by its terms. See
|
|
189
|
-
{file:CODE_OF_CONDUCT.md Code of Conduct} for more information.
|
|
186
|
+
participating in this project you agree to abide by its terms. See {file:CODE_OF_CONDUCT.md Code of Conduct} for more information.
|
data/OVERVIEW.md
CHANGED
|
@@ -44,5 +44,4 @@ See the {file:INSTRUMENTATION.md Instrumentation Guide} for more examples.
|
|
|
44
44
|
|
|
45
45
|
## Additional information
|
|
46
46
|
|
|
47
|
-
Stackdriver Error Reporting can be configured to use gRPC's logging. To learn more, see the
|
|
48
|
-
{file:LOGGING.md Logging guide}.
|
|
47
|
+
Stackdriver Error Reporting can be configured to use gRPC's logging. To learn more, see the{file:LOGGING.md Logging guide}.
|
|
@@ -180,15 +180,10 @@ module Google
|
|
|
180
180
|
##
|
|
181
181
|
# Fallback to default configuration values if not defined already
|
|
182
182
|
def init_default_config
|
|
183
|
-
configuration.project_id ||=
|
|
184
|
-
(Cloud.configure.project_id ||
|
|
185
|
-
ErrorReporting::Project.default_project_id)
|
|
186
|
-
end
|
|
183
|
+
configuration.project_id ||= (Cloud.configure.project_id || ErrorReporting::Project.default_project_id)
|
|
187
184
|
configuration.credentials ||= Cloud.configure.credentials
|
|
188
|
-
configuration.service_name ||=
|
|
189
|
-
|
|
190
|
-
configuration.service_version ||=
|
|
191
|
-
ErrorReporting::Project.default_service_version
|
|
185
|
+
configuration.service_name ||= ErrorReporting::Project.default_service_name
|
|
186
|
+
configuration.service_version ||= ErrorReporting::Project.default_service_version
|
|
192
187
|
configuration.ignore_classes = Array(configuration.ignore_classes)
|
|
193
188
|
end
|
|
194
189
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-error_reporting
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.42.
|
|
4
|
+
version: 0.42.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google Inc
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-
|
|
11
|
+
date: 2021-07-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: google-cloud-core
|
|
@@ -267,7 +267,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
267
267
|
- !ruby/object:Gem::Version
|
|
268
268
|
version: '0'
|
|
269
269
|
requirements: []
|
|
270
|
-
rubygems_version: 3.2.
|
|
270
|
+
rubygems_version: 3.2.17
|
|
271
271
|
signing_key:
|
|
272
272
|
specification_version: 4
|
|
273
273
|
summary: API Client library for Stackdriver Error Reporting
|