google-cloud-logging 1.8.0 → 1.9.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: ee004a9efbc88d8ced69bdde05d9e4521d0cc9f1a006bbd6fdcb539f853e5582
4
- data.tar.gz: 43343b033df5a5bd66aa8a9f7417ab6e7332da0ea9430b6855bdb52d6f88e834
3
+ metadata.gz: c3ea5f76b31e702d19ab72c645a7d045124193d683c15bfe1b059b8f6d165c41
4
+ data.tar.gz: 6f479e36b48820383fb1adee8c0fde5e58b16ed31d2084b3a1bbdc22149570c0
5
5
  SHA512:
6
- metadata.gz: 47cb8309e35749c7ba29f543d71e8b669ace098e685d549e6f535199d0cb773ce079fae304151270cf2fb1f38c5e5160e1029c32aba913659ec80e344a7fc99a
7
- data.tar.gz: 8cc34860166a40a49b94c5605ae96443cf5c2d7030eea726ffd17b7f431aa36a6f03855cb71bc3e9e2b6f3a3d615162c61ae283d12eb96d998e0c46d2b75ec5c
6
+ metadata.gz: 6b3aa6dfeb6d0751fdfe8e51a6e338548cc4c9249709848d47fe44a094ed1b2587dc8c40031045097e14a9a5a5f9043f99aec09d2182802e3d54462132e8f4d1
7
+ data.tar.gz: f4e335f120ac259bbec387d6a4cb61e4bc6a17fd64b87a67bdd8c1343fbdb3c492186bf6493ba10013a4bae6776d3bbc567b7b12b84577ea2b47659b7a0280f0
@@ -55,32 +55,10 @@ code.
55
55
 
56
56
  ### Google Cloud Platform environments
57
57
 
58
- While running on Google Cloud Platform environments such as Google Compute
59
- Engine, Google App Engine and Google Kubernetes Engine, no extra work is needed.
60
- The **Project ID** and **Credentials** and are discovered automatically. Code
61
- should be written as if already authenticated. Just be sure when you [set up the
62
- GCE instance][gce-how-to], you add the correct scopes for the APIs you want to
63
- access. For example:
64
-
65
- * **All APIs**
66
- * `https://www.googleapis.com/auth/cloud-platform`
67
- * `https://www.googleapis.com/auth/cloud-platform.read-only`
68
- * **BigQuery**
69
- * `https://www.googleapis.com/auth/bigquery`
70
- * `https://www.googleapis.com/auth/bigquery.insertdata`
71
- * **Compute Engine**
72
- * `https://www.googleapis.com/auth/compute`
73
- * **Datastore**
74
- * `https://www.googleapis.com/auth/datastore`
75
- * `https://www.googleapis.com/auth/userinfo.email`
76
- * **DNS**
77
- * `https://www.googleapis.com/auth/ndev.clouddns.readwrite`
78
- * **Pub/Sub**
79
- * `https://www.googleapis.com/auth/pubsub`
80
- * **Storage**
81
- * `https://www.googleapis.com/auth/devstorage.full_control`
82
- * `https://www.googleapis.com/auth/devstorage.read_only`
83
- * `https://www.googleapis.com/auth/devstorage.read_write`
58
+ When running on Google Cloud Platform (GCP), including Google Compute Engine (GCE),
59
+ Google Kubernetes Engine (GKE), Google App Engine (GAE), Google Cloud Functions
60
+ (GCF) and Cloud Run, the **Project ID** and **Credentials** and are discovered
61
+ automatically. Code should be written as if already authenticated.
84
62
 
85
63
  ### Environment Variables
86
64
 
@@ -1,5 +1,13 @@
1
1
  # Release History
2
2
 
3
+ ### 1.9.0 / 2019-10-29
4
+
5
+ This release requires Ruby 2.4 or later.
6
+
7
+ #### Documentation
8
+
9
+ * Clarify which Google Cloud Platform environments support automatic authentication
10
+
3
11
  ### 1.8.0 / 2019-10-03
4
12
 
5
13
  #### Features
@@ -24,7 +24,7 @@ be able to accept your pull requests.
24
24
  In order to use the google-cloud-logging console and run the project's tests,
25
25
  there is a small amount of setup:
26
26
 
27
- 1. Install Ruby. google-cloud-logging requires Ruby 2.3+. You may choose to
27
+ 1. Install Ruby. google-cloud-logging requires Ruby 2.4+. You may choose to
28
28
  manage your Ruby and gem installations with [RVM](https://rvm.io/),
29
29
  [rbenv](https://github.com/rbenv/rbenv), or
30
30
  [chruby](https://github.com/postmodern/chruby).
@@ -16,11 +16,11 @@ Documentation](https://cloud.google.com/logging/docs/).
16
16
 
17
17
  The goal of google-cloud is to provide an API that is comfortable to Rubyists.
18
18
  Your authentication credentials are detected automatically in Google Cloud
19
- Platform environments such as Google Compute Engine, Google App Engine and
20
- Google Kubernetes Engine. In other environments you can configure authentication
21
- easily, either directly in your code or via environment variables. Read more
22
- about the options for connecting in the {file:AUTHENTICATION.md Authentication
23
- Guide}.
19
+ Platform (GCP), including Google Compute Engine (GCE), Google Kubernetes Engine
20
+ (GKE), Google App Engine (GAE), Google Cloud Functions (GCF) and Cloud Run. In
21
+ other environments you can configure authentication easily, either directly in
22
+ your code or via environment variables. Read more about the options for
23
+ connecting in the {file:AUTHENTICATION.md Authentication Guide}.
24
24
 
25
25
  ## Listing log entries
26
26
 
@@ -615,9 +615,6 @@ module Google
615
615
  end
616
616
  alias find_sinks sinks
617
617
 
618
- # rubocop:disable Metrics/LineLength
619
- # overload is too long...
620
-
621
618
  ##
622
619
  # Creates a new project sink. When you create a sink, only new log
623
620
  # entries that match the sink's filter are exported. Stackdriver Logging
@@ -701,8 +698,6 @@ module Google
701
698
  end
702
699
  alias new_sink create_sink
703
700
 
704
- # rubocop:enable Metrics/LineLength
705
-
706
701
  ##
707
702
  # Retrieves a sink by name.
708
703
  #
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module Logging
19
- VERSION = "1.8.0".freeze
19
+ VERSION = "1.9.0".freeze
20
20
  end
21
21
  end
22
22
  end
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: 1.8.0
4
+ version: 1.9.0
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: 2019-10-03 00:00:00.000000000 Z
12
+ date: 2019-10-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: google-cloud-core
@@ -45,14 +45,14 @@ dependencies:
45
45
  requirements:
46
46
  - - "~>"
47
47
  - !ruby/object:Gem::Version
48
- version: '1.7'
48
+ version: '1.8'
49
49
  type: :runtime
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
53
  - - "~>"
54
54
  - !ruby/object:Gem::Version
55
- version: '1.7'
55
+ version: '1.8'
56
56
  - !ruby/object:Gem::Dependency
57
57
  name: googleapis-common-protos-types
58
58
  requirement: !ruby/object:Gem::Requirement
@@ -81,6 +81,20 @@ dependencies:
81
81
  - - "~>"
82
82
  - !ruby/object:Gem::Version
83
83
  version: '1.1'
84
+ - !ruby/object:Gem::Dependency
85
+ name: google-style
86
+ requirement: !ruby/object:Gem::Requirement
87
+ requirements:
88
+ - - "~>"
89
+ - !ruby/object:Gem::Version
90
+ version: 1.24.0
91
+ type: :development
92
+ prerelease: false
93
+ version_requirements: !ruby/object:Gem::Requirement
94
+ requirements:
95
+ - - "~>"
96
+ - !ruby/object:Gem::Version
97
+ version: 1.24.0
84
98
  - !ruby/object:Gem::Dependency
85
99
  name: minitest
86
100
  requirement: !ruby/object:Gem::Requirement
@@ -165,20 +179,6 @@ dependencies:
165
179
  - - "~>"
166
180
  - !ruby/object:Gem::Version
167
181
  version: '3.0'
168
- - !ruby/object:Gem::Dependency
169
- name: rubocop
170
- requirement: !ruby/object:Gem::Requirement
171
- requirements:
172
- - - "~>"
173
- - !ruby/object:Gem::Version
174
- version: 0.64.0
175
- type: :development
176
- prerelease: false
177
- version_requirements: !ruby/object:Gem::Requirement
178
- requirements:
179
- - - "~>"
180
- - !ruby/object:Gem::Version
181
- version: 0.64.0
182
182
  - !ruby/object:Gem::Dependency
183
183
  name: simplecov
184
184
  requirement: !ruby/object:Gem::Requirement
@@ -227,14 +227,14 @@ dependencies:
227
227
  requirements:
228
228
  - - "~>"
229
229
  - !ruby/object:Gem::Version
230
- version: '4.0'
230
+ version: '5.0'
231
231
  type: :development
232
232
  prerelease: false
233
233
  version_requirements: !ruby/object:Gem::Requirement
234
234
  requirements:
235
235
  - - "~>"
236
236
  - !ruby/object:Gem::Version
237
- version: '4.0'
237
+ version: '5.0'
238
238
  - !ruby/object:Gem::Dependency
239
239
  name: rack
240
240
  requirement: !ruby/object:Gem::Requirement
@@ -334,14 +334,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
334
334
  requirements:
335
335
  - - ">="
336
336
  - !ruby/object:Gem::Version
337
- version: 2.0.0
337
+ version: '2.4'
338
338
  required_rubygems_version: !ruby/object:Gem::Requirement
339
339
  requirements:
340
340
  - - ">="
341
341
  - !ruby/object:Gem::Version
342
342
  version: '0'
343
343
  requirements: []
344
- rubygems_version: 3.0.4
344
+ rubygems_version: 3.0.6
345
345
  signing_key:
346
346
  specification_version: 4
347
347
  summary: API Client library for Stackdriver Logging