google-cloud-storage 1.21.1 → 1.22.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: 7e68a3b15256830be64042fef841099b37ed778f2d51c9add4a3edef4a977444
4
- data.tar.gz: 5e314fd21d1c94e5fb4fe24ed18609e3bbc25dc9d476cd1d09d3b7e16b699970
3
+ metadata.gz: a67ef9bc41b662092abd0586681372ace9f9e55f8343d60d06309f2fd8f83616
4
+ data.tar.gz: 4123df331b12abbe88a9d205233bb6c217f1a193dd6e224cf97c61d8d65f109d
5
5
  SHA512:
6
- metadata.gz: 0b90bb5d2aa76c4832654a438973e91021a5e21fa6bd73ff3b64a411d784d6a58eb25ba0e4c809833a50130d4f67cde869e920ca9c46861807d508d3d0376125
7
- data.tar.gz: 01ee93d59b023e4eafa6db13fc9ee329280e43131821dfcc8c8c83d897b88abdd6dc5d0479c9a34da624f82200691ccc51263fe9c2d7d2d8d1ed75eea697792d
6
+ metadata.gz: 2a7ca08ea73ed40b9fb36ff17c3402711366874651ef18f51da42d67232d153fa9067741a0dfe4cd7ea7200a730be992b3125b979c5490b99f42906b6398553f
7
+ data.tar.gz: 290c14694bd1c37996a182ff8295434410c2efdc4ce41f5f3ef5f99cfc819a2d649380ed75f22aa9adfd6c8fea65e8318731403f8272e40ca269e975c971d3ca
@@ -2,7 +2,9 @@
2
2
 
3
3
  In general, the google-cloud-storage library uses [Service
4
4
  Account](https://cloud.google.com/iam/docs/creating-managing-service-accounts)
5
- credentials to connect to Google Cloud services. When running on Compute Engine
5
+ credentials to connect to Google Cloud services. When running on Google Cloud
6
+ Platform (GCP), including Google Compute Engine (GCE), Google Kubernetes Engine
7
+ (GKE), Google App Engine (GAE), Google Cloud Functions (GCF) and Cloud Run,
6
8
  the credentials will be discovered automatically. When running on other
7
9
  environments, the Service Account credentials can be specified by providing the
8
10
  path to the [JSON
@@ -35,32 +37,10 @@ providing **Project ID** and **Service Account Credentials** directly in code.
35
37
 
36
38
  ### Google Cloud Platform environments
37
39
 
38
- While running on Google Cloud Platform environments such as Google Compute
39
- Engine, Google App Engine and Google Kubernetes Engine, no extra work is needed.
40
- The **Project ID** and **Credentials** and are discovered automatically. Code
41
- should be written as if already authenticated. Just be sure when you [set up the
42
- GCE instance][gce-how-to], you add the correct scopes for the APIs you want to
43
- access. For example:
44
-
45
- * **All APIs**
46
- * `https://www.googleapis.com/auth/cloud-platform`
47
- * `https://www.googleapis.com/auth/cloud-platform.read-only`
48
- * **BigQuery**
49
- * `https://www.googleapis.com/auth/bigquery`
50
- * `https://www.googleapis.com/auth/bigquery.insertdata`
51
- * **Compute Engine**
52
- * `https://www.googleapis.com/auth/compute`
53
- * **Datastore**
54
- * `https://www.googleapis.com/auth/datastore`
55
- * `https://www.googleapis.com/auth/userinfo.email`
56
- * **DNS**
57
- * `https://www.googleapis.com/auth/ndev.clouddns.readwrite`
58
- * **Pub/Sub**
59
- * `https://www.googleapis.com/auth/pubsub`
60
- * **Storage**
61
- * `https://www.googleapis.com/auth/devstorage.full_control`
62
- * `https://www.googleapis.com/auth/devstorage.read_only`
63
- * `https://www.googleapis.com/auth/devstorage.read_write`
40
+ When running on Google Cloud Platform (GCP), including Google Compute Engine (GCE),
41
+ Google Kubernetes Engine (GKE), Google App Engine (GAE), Google Cloud Functions
42
+ (GCF) and Cloud Run, the **Project ID** and **Credentials** and are discovered
43
+ automatically. Code should be written as if already authenticated.
64
44
 
65
45
  ### Environment Variables
66
46
 
@@ -1,5 +1,10 @@
1
1
  # Release History
2
2
 
3
+ ### 1.22.0 / 2019-10-28
4
+
5
+ * Now requires Ruby 2.4 or later.
6
+ * This release uses the updated default endpoint for Cloud Storage.
7
+
3
8
  ### 1.21.1 / 2019-09-30
4
9
 
5
10
  #### Documentation
@@ -24,7 +24,7 @@ be able to accept your pull requests.
24
24
  In order to use the google-cloud-storage console and run the project's tests,
25
25
  there is a small amount of setup:
26
26
 
27
- 1. Install Ruby. google-cloud-storage requires Ruby 2.3+. You may choose to
27
+ 1. Install Ruby. google-cloud-storage 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).
@@ -7,11 +7,11 @@ perform data operations in a cost effective manner.
7
7
 
8
8
  The goal of google-cloud is to provide an API that is comfortable to Rubyists.
9
9
  Your authentication credentials are detected automatically in Google Cloud
10
- Platform environments such as Google Compute Engine, Google App Engine and
11
- Google Kubernetes Engine. In other environments you can configure authentication
12
- easily, either directly in your code or via environment variables. Read more
13
- about the options for connecting in the {file:AUTHENTICATION.md Authentication
14
- Guide}.
10
+ Platform (GCP), including Google Compute Engine (GCE), Google Kubernetes Engine
11
+ (GKE), Google App Engine (GAE), Google Cloud Functions (GCF) and Cloud Run. In
12
+ other environments you can configure authentication easily, either directly in
13
+ your code or via environment variables. Read more about the options for
14
+ connecting in the {file:AUTHENTICATION.md Authentication Guide}.
15
15
 
16
16
  ```ruby
17
17
  require "google/cloud/storage"
@@ -138,5 +138,6 @@ Google::Cloud.configure.add_config! :storage do |config|
138
138
  config.add_field! :scope, nil, match: [String, Array]
139
139
  config.add_field! :retries, nil, match: Integer
140
140
  config.add_field! :timeout, nil, match: Integer
141
- config.add_field! :endpoint, nil, match: String
141
+ # TODO: Remove once discovery document is updated.
142
+ config.add_field! :endpoint, "https://storage.googleapis.com/", match: String
142
143
  end
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module Storage
19
- VERSION = "1.21.1".freeze
19
+ VERSION = "1.22.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-storage
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.21.1
4
+ version: 1.22.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-09-30 00:00:00.000000000 Z
12
+ date: 2019-10-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: google-cloud-core
@@ -31,34 +31,28 @@ dependencies:
31
31
  requirements:
32
32
  - - "~>"
33
33
  - !ruby/object:Gem::Version
34
- version: '0.26'
34
+ version: '0.33'
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
39
  - - "~>"
40
40
  - !ruby/object:Gem::Version
41
- version: '0.26'
41
+ version: '0.33'
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: googleauth
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
- - - ">="
47
- - !ruby/object:Gem::Version
48
- version: 0.6.2
49
- - - "<"
46
+ - - "~>"
50
47
  - !ruby/object:Gem::Version
51
- version: 0.10.0
48
+ version: '0.9'
52
49
  type: :runtime
53
50
  prerelease: false
54
51
  version_requirements: !ruby/object:Gem::Requirement
55
52
  requirements:
56
- - - ">="
57
- - !ruby/object:Gem::Version
58
- version: 0.6.2
59
- - - "<"
53
+ - - "~>"
60
54
  - !ruby/object:Gem::Version
61
- version: 0.10.0
55
+ version: '0.9'
62
56
  - !ruby/object:Gem::Dependency
63
57
  name: digest-crc
64
58
  requirement: !ruby/object:Gem::Requirement
@@ -101,6 +95,20 @@ dependencies:
101
95
  - - "~>"
102
96
  - !ruby/object:Gem::Version
103
97
  version: '1.0'
98
+ - !ruby/object:Gem::Dependency
99
+ name: google-style
100
+ requirement: !ruby/object:Gem::Requirement
101
+ requirements:
102
+ - - "~>"
103
+ - !ruby/object:Gem::Version
104
+ version: 1.24.0
105
+ type: :development
106
+ prerelease: false
107
+ version_requirements: !ruby/object:Gem::Requirement
108
+ requirements:
109
+ - - "~>"
110
+ - !ruby/object:Gem::Version
111
+ version: 1.24.0
104
112
  - !ruby/object:Gem::Dependency
105
113
  name: minitest
106
114
  requirement: !ruby/object:Gem::Requirement
@@ -185,20 +193,6 @@ dependencies:
185
193
  - - "~>"
186
194
  - !ruby/object:Gem::Version
187
195
  version: '3.0'
188
- - !ruby/object:Gem::Dependency
189
- name: rubocop
190
- requirement: !ruby/object:Gem::Requirement
191
- requirements:
192
- - - "~>"
193
- - !ruby/object:Gem::Version
194
- version: 0.64.0
195
- type: :development
196
- prerelease: false
197
- version_requirements: !ruby/object:Gem::Requirement
198
- requirements:
199
- - - "~>"
200
- - !ruby/object:Gem::Version
201
- version: 0.64.0
202
196
  - !ruby/object:Gem::Dependency
203
197
  name: simplecov
204
198
  requirement: !ruby/object:Gem::Requirement
@@ -294,14 +288,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
294
288
  requirements:
295
289
  - - ">="
296
290
  - !ruby/object:Gem::Version
297
- version: 2.0.0
291
+ version: '2.4'
298
292
  required_rubygems_version: !ruby/object:Gem::Requirement
299
293
  requirements:
300
294
  - - ">="
301
295
  - !ruby/object:Gem::Version
302
296
  version: '0'
303
297
  requirements: []
304
- rubygems_version: 3.0.4
298
+ rubygems_version: 3.0.6
305
299
  signing_key:
306
300
  specification_version: 4
307
301
  summary: API Client library for Google Cloud Storage