google-cloud-spanner 1.11.0 → 1.12.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: e23be8bb214edae828f3b6722eb184b92410f81d450f80e20a7da77ec4500c65
4
- data.tar.gz: b058d7928f61b7a56bb07eb7d0363ee35d01c328f6724fdb4600db889bc12d83
3
+ metadata.gz: 77c43b9e9a22d239c163e14d195be8047d33e504b5ce51c355c81756d35671b3
4
+ data.tar.gz: 2bccb6e48fec612be8c5b5238940d1279e172cca04909add370e4a2369a328fa
5
5
  SHA512:
6
- metadata.gz: 32be60bc2a9dd90922069e6026469386a067e840c655964d1b922c9c6fca619b01aa71fd4fd0b280fc923bcb640730035d1bb1e33755a82f7806e56c8fbc6aed
7
- data.tar.gz: 29747283465fa90babaa936b5579499167c3c27b4f5d2de9da2e83e4f6eaf0699d2b807c856172838a7abd563fd7122b73c1f0fb7b9a35331b3054d8dc420ea4
6
+ metadata.gz: c93a67b2af771dda520193926b31e411c4c16b4ecb7cb77ec28282cec5eabeb44f20381b6e2701b2f6696835888a3c7a73920ab26bcb072285f3f377c8aa854c
7
+ data.tar.gz: a21857fc35d438151589eab2ca73cc7284968eadd33ddf9a3052ba5864466f366ac4a911a0da44bd3da802f872bd98c8751780c5ae1d691f6ed4294d6491af43
@@ -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.12.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.11.0 / 2019-10-07
4
12
 
5
13
  #### BREAKING CHANGES (LOWER-LEVEL API ONLY)
@@ -24,7 +24,7 @@ be able to accept your pull requests.
24
24
  In order to use the google-cloud-spanner console and run the project's tests,
25
25
  there is a small amount of setup:
26
26
 
27
- 1. Install Ruby. google-cloud-spanner requires Ruby 2.3+. You may choose to
27
+ 1. Install Ruby. google-cloud-spanner 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).
@@ -9,11 +9,11 @@ Documentation](https://cloud.google.com/spanner/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
  ## Creating instances
19
19
 
@@ -83,8 +83,6 @@ module Google
83
83
  @grpc.name.split("/")[5]
84
84
  end
85
85
 
86
- # rubocop:disable LineLength
87
-
88
86
  ##
89
87
  # The full path for the database resource. Values are of the form
90
88
  # `projects/<project_id>/instances/<instance_id>/databases/<database_id>`.
@@ -93,8 +91,6 @@ module Google
93
91
  @grpc.name
94
92
  end
95
93
 
96
- # rubocop:enable LineLength
97
-
98
94
  ##
99
95
  # The current database state. Possible values are `:CREATING` and
100
96
  # `:READY`.
@@ -79,8 +79,6 @@ module Google
79
79
  @grpc.name.split("/")[7]
80
80
  end
81
81
 
82
- # rubocop:disable LineLength
83
-
84
82
  ##
85
83
  # The full path for the session resource. Values are of the form
86
84
  # `projects/<project_id>/instances/<instance_id>/databases/<database_id>/sessions/<session_id>`.
@@ -89,8 +87,6 @@ module Google
89
87
  @grpc.name
90
88
  end
91
89
 
92
- # rubocop:enable LineLength
93
-
94
90
  ##
95
91
  # Executes a SQL query.
96
92
  #
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module Spanner
19
- VERSION = "1.11.0".freeze
19
+ VERSION = "1.12.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-spanner
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.11.0
4
+ version: 1.12.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-07 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
@@ -31,14 +31,14 @@ dependencies:
31
31
  requirements:
32
32
  - - "~>"
33
33
  - !ruby/object:Gem::Version
34
- version: '1.7'
34
+ version: '1.8'
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: '1.7'
41
+ version: '1.8'
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: grpc-google-iam-v1
44
44
  requirement: !ruby/object:Gem::Requirement
@@ -67,6 +67,20 @@ dependencies:
67
67
  - - "~>"
68
68
  - !ruby/object:Gem::Version
69
69
  version: '1.0'
70
+ - !ruby/object:Gem::Dependency
71
+ name: google-style
72
+ requirement: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - "~>"
75
+ - !ruby/object:Gem::Version
76
+ version: 1.24.0
77
+ type: :development
78
+ prerelease: false
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - "~>"
82
+ - !ruby/object:Gem::Version
83
+ version: 1.24.0
70
84
  - !ruby/object:Gem::Dependency
71
85
  name: minitest
72
86
  requirement: !ruby/object:Gem::Requirement
@@ -151,20 +165,6 @@ dependencies:
151
165
  - - "~>"
152
166
  - !ruby/object:Gem::Version
153
167
  version: '3.0'
154
- - !ruby/object:Gem::Dependency
155
- name: rubocop
156
- requirement: !ruby/object:Gem::Requirement
157
- requirements:
158
- - - "~>"
159
- - !ruby/object:Gem::Version
160
- version: 0.64.0
161
- type: :development
162
- prerelease: false
163
- version_requirements: !ruby/object:Gem::Requirement
164
- requirements:
165
- - - "~>"
166
- - !ruby/object:Gem::Version
167
- version: 0.64.0
168
168
  - !ruby/object:Gem::Dependency
169
169
  name: simplecov
170
170
  requirement: !ruby/object:Gem::Requirement
@@ -330,14 +330,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
330
330
  requirements:
331
331
  - - ">="
332
332
  - !ruby/object:Gem::Version
333
- version: 2.0.0
333
+ version: '2.4'
334
334
  required_rubygems_version: !ruby/object:Gem::Requirement
335
335
  requirements:
336
336
  - - ">="
337
337
  - !ruby/object:Gem::Version
338
338
  version: '0'
339
339
  requirements: []
340
- rubygems_version: 3.0.4
340
+ rubygems_version: 3.0.6
341
341
  signing_key:
342
342
  specification_version: 4
343
343
  summary: API Client library for Google Cloud Spanner API