google-cloud-dns 0.22.0 → 0.23.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/dns/change/list.rb +6 -6
- data/lib/google/cloud/dns/project.rb +2 -2
- data/lib/google/cloud/dns/record/list.rb +6 -6
- data/lib/google/cloud/dns/service.rb +3 -0
- data/lib/google/cloud/dns/version.rb +1 -1
- data/lib/google/cloud/dns/zone/list.rb +6 -6
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 10cf8b157f296d8bdec7f70342a7902e617eb9ba
|
4
|
+
data.tar.gz: f03f208f7df1a9a50086d93bfb21b9f62841b475
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d4ab9b0c8c77904d5d965102184f8ea3e1fbee0287dde43c9f1d152b5ccc13209efde9a68ffc2bde5a2bfaf276dd9eb4ca63a2021de1115feb1137106abdfb5
|
7
|
+
data.tar.gz: 8d08ee47dde594ed30bda2682fb18cdab58a821c0741a20654618145b40e9a615522df40d40d8606af2c4a72f71009c6bdd0cd1439e90efd8cc58a0716e85cc7
|
data/README.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
[Google Cloud DNS](https://cloud.google.com/dns/) ([docs](https://cloud.google.com/dns/docs)) is a high-performance, resilient, global DNS service that provides a cost-effective way to make your applications and services available to your users. This programmable, authoritative DNS service can be used to easily publish and manage DNS records using the same infrastructure relied upon by Google. To learn more, read [What is Google Cloud DNS?](https://cloud.google.com/dns/what-is-cloud-dns).
|
4
4
|
|
5
|
-
- [google-cloud-dns API documentation](http://googlecloudplatform.github.io/google-cloud-ruby/#/docs/google-cloud-dns/
|
5
|
+
- [google-cloud-dns API documentation](http://googlecloudplatform.github.io/google-cloud-ruby/#/docs/google-cloud-dns/latest)
|
6
6
|
- [google-cloud-dns on RubyGems](https://rubygems.org/gems/google-cloud-dns)
|
7
7
|
- [Google Cloud DNS documentation](https://cloud.google.com/dns/docs)
|
8
8
|
|
@@ -77,15 +77,15 @@ module Google
|
|
77
77
|
end
|
78
78
|
|
79
79
|
##
|
80
|
-
# Retrieves
|
81
|
-
# returns `false`. Calls the given block once for each
|
82
|
-
# is passed as the
|
80
|
+
# Retrieves remaining results by repeatedly invoking {#next} until
|
81
|
+
# {#next?} returns `false`. Calls the given block once for each
|
82
|
+
# result, which is passed as the argument to the block.
|
83
83
|
#
|
84
84
|
# An Enumerator is returned if no block is given.
|
85
85
|
#
|
86
|
-
# This method
|
87
|
-
# retrieved.
|
88
|
-
#
|
86
|
+
# This method will make repeated API calls until all remaining results
|
87
|
+
# are retrieved. (Unlike `#each`, for example, which merely iterates
|
88
|
+
# over the results returned by a single API call.) Use with caution.
|
89
89
|
#
|
90
90
|
# @param [Integer] request_limit The upper limit of API requests to
|
91
91
|
# make to load all changes. Default is no limit.
|
@@ -14,7 +14,7 @@
|
|
14
14
|
|
15
15
|
|
16
16
|
require "google/cloud/errors"
|
17
|
-
require "google/cloud/
|
17
|
+
require "google/cloud/env"
|
18
18
|
require "google/cloud/dns/service"
|
19
19
|
require "google/cloud/dns/credentials"
|
20
20
|
require "google/cloud/dns/zone"
|
@@ -131,7 +131,7 @@ module Google
|
|
131
131
|
ENV["DNS_PROJECT"] ||
|
132
132
|
ENV["GOOGLE_CLOUD_PROJECT"] ||
|
133
133
|
ENV["GCLOUD_PROJECT"] ||
|
134
|
-
Google::Cloud
|
134
|
+
Google::Cloud.env.project_id
|
135
135
|
end
|
136
136
|
|
137
137
|
##
|
@@ -77,15 +77,15 @@ module Google
|
|
77
77
|
end
|
78
78
|
|
79
79
|
##
|
80
|
-
# Retrieves
|
81
|
-
# returns `false`. Calls the given block once for each
|
82
|
-
# is passed as the
|
80
|
+
# Retrieves remaining results by repeatedly invoking {#next} until
|
81
|
+
# {#next?} returns `false`. Calls the given block once for each
|
82
|
+
# result, which is passed as the argument to the block.
|
83
83
|
#
|
84
84
|
# An Enumerator is returned if no block is given.
|
85
85
|
#
|
86
|
-
# This method
|
87
|
-
# retrieved.
|
88
|
-
#
|
86
|
+
# This method will make repeated API calls until all remaining results
|
87
|
+
# are retrieved. (Unlike `#each`, for example, which merely iterates
|
88
|
+
# over the results returned by a single API call.) Use with caution.
|
89
89
|
#
|
90
90
|
# @param [Integer] request_limit The upper limit of API requests to
|
91
91
|
# make to load all records. Default is no limit.
|
@@ -43,6 +43,9 @@ module Google
|
|
43
43
|
@service.request_options.retries = retries || 3
|
44
44
|
@service.request_options.timeout_sec = timeout
|
45
45
|
@service.request_options.open_timeout_sec = timeout
|
46
|
+
@service.request_options.header ||= {}
|
47
|
+
@service.request_options.header["x-goog-api-client"] = \
|
48
|
+
"gl-ruby/#{RUBY_VERSION} gccl/#{Google::Cloud::Dns::VERSION}"
|
46
49
|
@service.authorization = @credentials.client
|
47
50
|
end
|
48
51
|
|
@@ -75,15 +75,15 @@ module Google
|
|
75
75
|
end
|
76
76
|
|
77
77
|
##
|
78
|
-
# Retrieves
|
79
|
-
# returns `false`. Calls the given block once for each
|
80
|
-
# passed as the
|
78
|
+
# Retrieves remaining results by repeatedly invoking {#next} until
|
79
|
+
# {#next?} returns `false`. Calls the given block once for each
|
80
|
+
# result, which is passed as the argument to the block.
|
81
81
|
#
|
82
82
|
# An Enumerator is returned if no block is given.
|
83
83
|
#
|
84
|
-
# This method
|
85
|
-
# retrieved.
|
86
|
-
#
|
84
|
+
# This method will make repeated API calls until all remaining results
|
85
|
+
# are retrieved. (Unlike `#each`, for example, which merely iterates
|
86
|
+
# over the results returned by a single API call.) Use with caution.
|
87
87
|
#
|
88
88
|
# @param [Integer] request_limit The upper limit of API requests to
|
89
89
|
# make to load all zones. Default is no limit.
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-dns
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.23.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: 2017-
|
12
|
+
date: 2017-04-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: google-cloud-core
|
@@ -17,14 +17,14 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - "~>"
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version:
|
20
|
+
version: '1.0'
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
25
|
- - "~>"
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version:
|
27
|
+
version: '1.0'
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: google-api-client
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
@@ -224,7 +224,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
224
224
|
version: '0'
|
225
225
|
requirements: []
|
226
226
|
rubyforge_project:
|
227
|
-
rubygems_version: 2.6.
|
227
|
+
rubygems_version: 2.6.11
|
228
228
|
signing_key:
|
229
229
|
specification_version: 4
|
230
230
|
summary: API Client library for Google Cloud DNS
|