google-cloud-logging 2.2.0 → 2.2.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 -3
- data/OVERVIEW.md +1 -2
- data/lib/google/cloud/logging/middleware.rb +1 -3
- data/lib/google/cloud/logging/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: 452b43b8ed4bf36f7df5058920f99eefd06978661388e083c5c44438895074d8
|
|
4
|
+
data.tar.gz: 51144e1b89a09fa84f8b5f414e2753cff9dd2e0063f3e1440873af1176757d85
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4a0e137ad75408c8c439982470b86384c3d74fc2e2c15a21a0ded9901b1f06b95294ab13af432dc6ae97638a5a5fa37cfffcbc476f5a499a4711b08af5ae4b0a
|
|
7
|
+
data.tar.gz: a51c965c7c1c975fde5e4052b0a34cf6093fff0f5d4c942ec4a067af7e850a223705e72be3cafc3b047bbc35acdb7838f390745268999b130a8801e5d38fc926
|
data/AUTHENTICATION.md
CHANGED
|
@@ -96,7 +96,8 @@ client = Google::Cloud::Logging.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/logging"
|
data/CHANGELOG.md
CHANGED
data/CONTRIBUTING.md
CHANGED
|
@@ -119,15 +119,14 @@ If you alter an example's title, you may encounter breaking tests.
|
|
|
119
119
|
### Logging Acceptance Tests
|
|
120
120
|
|
|
121
121
|
The Logging acceptance tests interact with the live service API. Follow the
|
|
122
|
-
instructions in the {file:AUTHENTICATION.md Authentication
|
|
122
|
+
instructions in the {file:AUTHENTICATION.md Authentication Guide} for enabling
|
|
123
123
|
the Logging API. Occasionally, some API features may not yet be generally
|
|
124
124
|
available, making it difficult for some contributors to successfully run the
|
|
125
125
|
entire acceptance test suite. However, please ensure that you do successfully
|
|
126
126
|
run acceptance tests for any code areas covered by your pull request.
|
|
127
127
|
|
|
128
128
|
To run the acceptance tests, first create and configure a project in the Google
|
|
129
|
-
Developers Console, as described in the {file:AUTHENTICATION.md Authentication
|
|
130
|
-
guide}. Be sure to download the JSON KEY file. Make note of the PROJECT_ID and
|
|
129
|
+
Developers Console, as described in the {file:AUTHENTICATION.md Authentication Guide}. Be sure to download the JSON KEY file. Make note of the PROJECT_ID and
|
|
131
130
|
the KEYFILE location on your system.
|
|
132
131
|
|
|
133
132
|
Before you can run the Logging acceptance tests, you must first create indexes
|
data/OVERVIEW.md
CHANGED
|
@@ -317,5 +317,4 @@ logging = Google::Cloud::Logging.new timeout: 120
|
|
|
317
317
|
## Additional information
|
|
318
318
|
|
|
319
319
|
Stackdriver Logging can be configured to be used in Rack applications or to use
|
|
320
|
-
gRPC's logging. To learn more, see the {file:INSTRUMENTATION.md Instrumentation
|
|
321
|
-
Guide} and {file:LOGGING.md Logging guide}.
|
|
320
|
+
gRPC's logging. To learn more, see the {file:INSTRUMENTATION.md Instrumentation Guide} and {file:LOGGING.md Logging guide}.
|
|
@@ -288,9 +288,7 @@ module Google
|
|
|
288
288
|
##
|
|
289
289
|
# Fallback to default configuration values if not defined already
|
|
290
290
|
def init_default_config
|
|
291
|
-
configuration.project_id ||=
|
|
292
|
-
(Cloud.configure.project_id || Logging.default_project_id)
|
|
293
|
-
end
|
|
291
|
+
configuration.project_id ||= (Cloud.configure.project_id || Logging.default_project_id)
|
|
294
292
|
configuration.credentials ||= Cloud.configure.credentials
|
|
295
293
|
configuration.log_name ||= DEFAULT_LOG_NAME
|
|
296
294
|
configuration.log_name_map ||= DEFAULT_LOG_NAME_MAP
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-logging
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.2.
|
|
4
|
+
version: 2.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Mike Moore
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2021-
|
|
12
|
+
date: 2021-07-08 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: google-cloud-core
|
|
@@ -297,7 +297,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
297
297
|
- !ruby/object:Gem::Version
|
|
298
298
|
version: '0'
|
|
299
299
|
requirements: []
|
|
300
|
-
rubygems_version: 3.2.
|
|
300
|
+
rubygems_version: 3.2.17
|
|
301
301
|
signing_key:
|
|
302
302
|
specification_version: 4
|
|
303
303
|
summary: API Client library for Stackdriver Logging
|