google-cloud-datastore 1.6.0 → 1.7.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 +4 -4
- data/AUTHENTICATION.md +4 -26
- data/CHANGELOG.md +8 -0
- data/CONTRIBUTING.md +1 -1
- data/OVERVIEW.md +5 -5
- data/lib/google/cloud/datastore/version.rb +1 -1
- metadata +20 -20
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2a68c439365e76b87fddecf9f3e86507192c1a5d28276c18838d3d9253e0ea4f
|
|
4
|
+
data.tar.gz: ba78c23b7aab4ae8b09bb796b1e78dd05317aaf8f29db756b11368b34c502114
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7d6d484352f83b9c95cd8dde299640d4c9f41b6e70aa29252f56a63f433d5f8a347bbfe7ab767c6bcea6678314d7130245d9c1c2f91ce4bace2fe5d71ad4bc39
|
|
7
|
+
data.tar.gz: 808662173eb2733fd8bf02d6770d7e9ad7c5c922e9a8479d9348c913dfd8b893d3f74027de7b10e0272ad74dbb35e8c4a93071de608747367c1895f0fac1dbf3
|
data/AUTHENTICATION.md
CHANGED
|
@@ -55,32 +55,10 @@ code.
|
|
|
55
55
|
|
|
56
56
|
### Google Cloud Platform environments
|
|
57
57
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
should be written as if already authenticated.
|
|
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
|
|
data/CHANGELOG.md
CHANGED
data/CONTRIBUTING.md
CHANGED
|
@@ -24,7 +24,7 @@ be able to accept your pull requests.
|
|
|
24
24
|
In order to use the google-cloud-datastore console and run the project's tests,
|
|
25
25
|
there is a small amount of setup:
|
|
26
26
|
|
|
27
|
-
1. Install Ruby. google-cloud-datastore requires Ruby 2.
|
|
27
|
+
1. Install Ruby. google-cloud-datastore 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).
|
data/OVERVIEW.md
CHANGED
|
@@ -7,11 +7,11 @@ using Datastore.
|
|
|
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
|
|
11
|
-
Google
|
|
12
|
-
|
|
13
|
-
|
|
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/datastore"
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-datastore
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.7.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-
|
|
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.
|
|
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.
|
|
41
|
+
version: '1.8'
|
|
42
42
|
- !ruby/object:Gem::Dependency
|
|
43
43
|
name: google-protobuf
|
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -53,6 +53,20 @@ dependencies:
|
|
|
53
53
|
- - "~>"
|
|
54
54
|
- !ruby/object:Gem::Version
|
|
55
55
|
version: '3.3'
|
|
56
|
+
- !ruby/object:Gem::Dependency
|
|
57
|
+
name: google-style
|
|
58
|
+
requirement: !ruby/object:Gem::Requirement
|
|
59
|
+
requirements:
|
|
60
|
+
- - "~>"
|
|
61
|
+
- !ruby/object:Gem::Version
|
|
62
|
+
version: 1.24.0
|
|
63
|
+
type: :development
|
|
64
|
+
prerelease: false
|
|
65
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
66
|
+
requirements:
|
|
67
|
+
- - "~>"
|
|
68
|
+
- !ruby/object:Gem::Version
|
|
69
|
+
version: 1.24.0
|
|
56
70
|
- !ruby/object:Gem::Dependency
|
|
57
71
|
name: minitest
|
|
58
72
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -137,20 +151,6 @@ dependencies:
|
|
|
137
151
|
- - "~>"
|
|
138
152
|
- !ruby/object:Gem::Version
|
|
139
153
|
version: '3.0'
|
|
140
|
-
- !ruby/object:Gem::Dependency
|
|
141
|
-
name: rubocop
|
|
142
|
-
requirement: !ruby/object:Gem::Requirement
|
|
143
|
-
requirements:
|
|
144
|
-
- - "~>"
|
|
145
|
-
- !ruby/object:Gem::Version
|
|
146
|
-
version: 0.64.0
|
|
147
|
-
type: :development
|
|
148
|
-
prerelease: false
|
|
149
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
150
|
-
requirements:
|
|
151
|
-
- - "~>"
|
|
152
|
-
- !ruby/object:Gem::Version
|
|
153
|
-
version: 0.64.0
|
|
154
154
|
- !ruby/object:Gem::Dependency
|
|
155
155
|
name: simplecov
|
|
156
156
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -257,14 +257,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
257
257
|
requirements:
|
|
258
258
|
- - ">="
|
|
259
259
|
- !ruby/object:Gem::Version
|
|
260
|
-
version: 2.
|
|
260
|
+
version: '2.4'
|
|
261
261
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
262
262
|
requirements:
|
|
263
263
|
- - ">="
|
|
264
264
|
- !ruby/object:Gem::Version
|
|
265
265
|
version: '0'
|
|
266
266
|
requirements: []
|
|
267
|
-
rubygems_version: 3.0.
|
|
267
|
+
rubygems_version: 3.0.6
|
|
268
268
|
signing_key:
|
|
269
269
|
specification_version: 4
|
|
270
270
|
summary: API Client library for Google Cloud Datastore
|