google-cloud-error_reporting 0.32.1 → 0.33.0

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: c9979f9f2835f10dddb6e0176470af18c3365f327c08b738986327efffab2408
4
- data.tar.gz: 68c69be359657054041e9c8a81948c16750245a9ecc211679f610eab74931004
3
+ metadata.gz: 57b35b9b50743af0d908676d8d52a835c8917fa147e09873f0fd5fd529969630
4
+ data.tar.gz: 1da9411bae1fd9a86426bc10eb5877658c889a2a780f64b78eafa0b66bfdc997
5
5
  SHA512:
6
- metadata.gz: ae9b9ea77ab3cf2119c798d82cdf3060903fa2bff1797d112c33e1e3dadda94143e580cfa644aca7ee44e707633300df58d38daa72386320799120d90f196967
7
- data.tar.gz: a89bb5a4d117fc776db3f55d12b0f127bd8742ad4b82414a8f4ff1c6dd269dfcd7dff2494fbea8b9a70f2f2ca127cea2b66d1a3230a7d637c6160d2676b38881
6
+ metadata.gz: b3f2084c0d53f3a10cd7547c8144bd4a73ca847ce6a3fa7b3043103f07f98287a16494ab61cee0c9393f143f68c778d07431e77306d70cdf27eb4d72331c59d7
7
+ data.tar.gz: 2ad93b9e5e0826c52ca89d77671adaa5050c0aed9d3552fb17eb1b3c6731c95807db4281df5388affe2ce84b59f0ad14ea36392c7e2ec1dff55259383abc7317
@@ -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
+ ### 0.33.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
  ### 0.32.1 / 2019-10-10
4
12
 
5
13
  #### Bug Fixes
@@ -24,7 +24,7 @@ be able to accept your pull requests.
24
24
  In order to use the google-cloud-error_reporting console and run the project's
25
25
  tests, there is a small amount of setup:
26
26
 
27
- 1. Install Ruby. google-cloud-error_reporting requires Ruby 2.3+. You may choose
27
+ 1. Install Ruby. google-cloud-error_reporting requires Ruby 2.4+. You may choose
28
28
  to 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).
@@ -9,11 +9,11 @@ Error Reporting Documentation](https://cloud.google.com/error-reporting/docs/).
9
9
 
10
10
  The goal of google-cloud is to provide an API that is comfortable to Rubyists.
11
11
  Your authentication credentials are detected automatically in Google Cloud
12
- Platform environments such as Google Compute Engine, Google App Engine and
13
- Google Kubernetes Engine. In other environments you can configure authentication
14
- easily, either directly in your code or via environment variables. Read more
15
- about the options for connecting in the {file:AUTHENTICATION.md Authentication
16
- Guide}.
12
+ Platform (GCP), including Google Compute Engine (GCE), Google Kubernetes Engine
13
+ (GKE), Google App Engine (GAE), Google Cloud Functions (GCF) and Cloud Run. In
14
+ other environments you can configure authentication easily, either directly in
15
+ your code or via environment variables. Read more about the options for
16
+ connecting in the {file:AUTHENTICATION.md Authentication Guide}.
17
17
 
18
18
  ## How to report errors
19
19
 
@@ -271,8 +271,6 @@ module Google
271
271
  )
272
272
  end
273
273
 
274
- # rubocop:disable Metrics/AbcSize
275
-
276
274
  ##
277
275
  # @private Formats the http request context as a
278
276
  # Google::Devtools::Clouderrorreporting::V1beta1::HttpRequestContext
@@ -290,8 +288,6 @@ module Google
290
288
  )
291
289
  end
292
290
 
293
- # rubocop:enable Metrics/AbcSize
294
-
295
291
  ##
296
292
  # @private Formats the source location as a
297
293
  # Google::Devtools::Clouderrorreporting::V1beta1::SourceLocation
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module ErrorReporting
19
- VERSION = "0.32.1".freeze
19
+ VERSION = "0.33.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-error_reporting
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.32.1
4
+ version: 0.33.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google Inc
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-10-11 00:00:00.000000000 Z
11
+ date: 2019-10-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-cloud-core
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '1.7'
47
+ version: '1.8'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '1.7'
54
+ version: '1.8'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: concurrent-ruby
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -66,6 +66,20 @@ dependencies:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: '1.1'
69
+ - !ruby/object:Gem::Dependency
70
+ name: google-style
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: 1.24.0
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: 1.24.0
69
83
  - !ruby/object:Gem::Dependency
70
84
  name: minitest
71
85
  requirement: !ruby/object:Gem::Requirement
@@ -136,34 +150,20 @@ dependencies:
136
150
  - - "~>"
137
151
  - !ruby/object:Gem::Version
138
152
  version: '3.0'
139
- - !ruby/object:Gem::Dependency
140
- name: rubocop
141
- requirement: !ruby/object:Gem::Requirement
142
- requirements:
143
- - - "~>"
144
- - !ruby/object:Gem::Version
145
- version: 0.64.0
146
- type: :development
147
- prerelease: false
148
- version_requirements: !ruby/object:Gem::Requirement
149
- requirements:
150
- - - "~>"
151
- - !ruby/object:Gem::Version
152
- version: 0.64.0
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: railties
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
157
  - - "~>"
158
158
  - !ruby/object:Gem::Version
159
- version: '4.0'
159
+ version: '5.0'
160
160
  type: :development
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
164
  - - "~>"
165
165
  - !ruby/object:Gem::Version
166
- version: '4.0'
166
+ version: '5.0'
167
167
  - !ruby/object:Gem::Dependency
168
168
  name: rack
169
169
  requirement: !ruby/object:Gem::Requirement
@@ -281,14 +281,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
281
281
  requirements:
282
282
  - - ">="
283
283
  - !ruby/object:Gem::Version
284
- version: 2.0.0
284
+ version: '2.4'
285
285
  required_rubygems_version: !ruby/object:Gem::Requirement
286
286
  requirements:
287
287
  - - ">="
288
288
  - !ruby/object:Gem::Version
289
289
  version: '0'
290
290
  requirements: []
291
- rubygems_version: 3.0.4
291
+ rubygems_version: 3.0.6
292
292
  signing_key:
293
293
  specification_version: 4
294
294
  summary: API Client library for Stackdriver Error Reporting