google-cloud-dns 0.31.0 → 0.35.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +7 -27
- data/CHANGELOG.md +32 -0
- data/CONTRIBUTING.md +2 -2
- data/OVERVIEW.md +7 -7
- data/TROUBLESHOOTING.md +2 -8
- data/lib/google-cloud-dns.rb +1 -0
- data/lib/google/cloud/dns.rb +1 -1
- data/lib/google/cloud/dns/change.rb +1 -1
- data/lib/google/cloud/dns/change/list.rb +4 -4
- data/lib/google/cloud/dns/credentials.rb +12 -14
- data/lib/google/cloud/dns/importer.rb +3 -3
- data/lib/google/cloud/dns/project.rb +6 -6
- data/lib/google/cloud/dns/record/list.rb +4 -4
- data/lib/google/cloud/dns/service.rb +2 -1
- data/lib/google/cloud/dns/version.rb +1 -1
- data/lib/google/cloud/dns/zone.rb +8 -8
- data/lib/google/cloud/dns/zone/list.rb +4 -4
- data/lib/google/cloud/dns/zone/transaction.rb +2 -2
- metadata +29 -41
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 697c4c37fec5ebcde48f127d92630d4ffe3921d2ac3e319ce2f0642778c4d5af
|
4
|
+
data.tar.gz: 41782ce61019a4a5ae4888db7a547609c6018cb69ce6d6a209aef82e47830646
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d990f8b29bc5d7ac84a9f1b9e96aa48ab24af1c70b73ec15fdb395027abe41b5fa8b5f56d7ad5ce47e4e2735088d8c193e3d2c43c837126a0e581454464a4fb9
|
7
|
+
data.tar.gz: 3556c5a65e31579aafe4d909013c77b3e616f3cb64ae5f7e1a62f5c60781f9bc83dffd48f748fbcd088f0ec17481bd706ecc044adb2f5afbebe3cfc6a60a6d78
|
data/AUTHENTICATION.md
CHANGED
@@ -2,7 +2,9 @@
|
|
2
2
|
|
3
3
|
In general, the google-cloud-dns 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
|
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
|
-
|
39
|
-
|
40
|
-
|
41
|
-
should be written as if already authenticated.
|
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
|
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,37 @@
|
|
1
1
|
# Release History
|
2
2
|
|
3
|
+
### 0.35.0 / 2021-03-10
|
4
|
+
|
5
|
+
#### Features
|
6
|
+
|
7
|
+
* Drop support for Ruby 2.4 and add support for Ruby 3.0
|
8
|
+
|
9
|
+
### 0.34.0 / 2021-01-13
|
10
|
+
|
11
|
+
#### Features
|
12
|
+
|
13
|
+
* Replace google-api-client with google-apis-dns_v1
|
14
|
+
|
15
|
+
### 0.33.0 / 2020-09-16
|
16
|
+
|
17
|
+
#### Features
|
18
|
+
|
19
|
+
* quota_project can be set via library configuration ([#7628](https://www.github.com/googleapis/google-cloud-ruby/issues/7628))
|
20
|
+
|
21
|
+
### 0.32.1 / 2020-05-28
|
22
|
+
|
23
|
+
#### Documentation
|
24
|
+
|
25
|
+
* Fix a few broken links
|
26
|
+
|
27
|
+
### 0.32.0 / 2019-10-29
|
28
|
+
|
29
|
+
This release requires Ruby 2.4 or later.
|
30
|
+
|
31
|
+
#### Documentation
|
32
|
+
|
33
|
+
* Clarify which Google Cloud Platform products support automatic authentication
|
34
|
+
|
3
35
|
### 0.31.0 / 2019-10-01
|
4
36
|
|
5
37
|
#### Features
|
data/CONTRIBUTING.md
CHANGED
@@ -24,7 +24,7 @@ be able to accept your pull requests.
|
|
24
24
|
In order to use the google-cloud-dns console and run the project's tests,
|
25
25
|
there is a small amount of setup:
|
26
26
|
|
27
|
-
1. Install Ruby. google-cloud-dns requires Ruby 2.
|
27
|
+
1. Install Ruby. google-cloud-dns requires Ruby 2.5+. 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).
|
@@ -45,7 +45,7 @@ there is a small amount of setup:
|
|
45
45
|
|
46
46
|
```sh
|
47
47
|
$ cd google-cloud-dns/
|
48
|
-
$ bundle
|
48
|
+
$ bundle install
|
49
49
|
```
|
50
50
|
|
51
51
|
## Console
|
data/OVERVIEW.md
CHANGED
@@ -7,13 +7,13 @@ be used to easily publish and manage DNS records using the same
|
|
7
7
|
infrastructure relied upon by Google. To learn more, read [What is Google
|
8
8
|
Cloud DNS?](https://cloud.google.com/dns/what-is-cloud-dns).
|
9
9
|
|
10
|
-
The goal of google-cloud is to provide an API that is comfortable to
|
11
|
-
|
12
|
-
|
13
|
-
App Engine
|
14
|
-
configure authentication easily, either directly in
|
15
|
-
environment variables. Read more about the options for
|
16
|
-
{file:AUTHENTICATION.md Authentication Guide}.
|
10
|
+
The goal of google-cloud is to provide an API that is comfortable to Rubyists.
|
11
|
+
Your authentication credentials are detected automatically in Google Cloud
|
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 Zones
|
19
19
|
|
data/TROUBLESHOOTING.md
CHANGED
@@ -24,14 +24,8 @@ improved, *please* create a new issue on GitHub so we can talk about it.
|
|
24
24
|
|
25
25
|
- [New issue][gh-ruby]
|
26
26
|
|
27
|
-
Or, you can ask questions on the [Google Cloud Platform Slack][slack-ruby]. You
|
28
|
-
can use the "ruby" channel for general Ruby questions, or use the
|
29
|
-
"google-cloud-ruby" channel if you have questions about this gem in particular.
|
30
|
-
|
31
27
|
[so-ruby]: http://stackoverflow.com/questions/tagged/google-cloud-platform+ruby+dns
|
32
28
|
|
33
|
-
[gh-search-ruby]: https://github.com/
|
34
|
-
|
35
|
-
[gh-ruby]: https://github.com/googlecloudplatform/google-cloud-ruby/issues/new
|
29
|
+
[gh-search-ruby]: https://github.com/googleapis/google-cloud-ruby/issues?q=label%3A%22api%3A+dns%22
|
36
30
|
|
37
|
-
[
|
31
|
+
[gh-ruby]: https://github.com/googleapis/google-cloud-ruby/issues/new
|
data/lib/google-cloud-dns.rb
CHANGED
@@ -130,6 +130,7 @@ Google::Cloud.configure.add_config! :dns do |config|
|
|
130
130
|
allow_nil: true
|
131
131
|
config.add_alias! :keyfile, :credentials
|
132
132
|
config.add_field! :scope, nil, match: [String, Array]
|
133
|
+
config.add_field! :quota_project, nil, match: String
|
133
134
|
config.add_field! :retries, nil, match: Integer
|
134
135
|
config.add_field! :timeout, nil, match: Integer
|
135
136
|
config.add_field! :endpoint, nil, match: String
|
data/lib/google/cloud/dns.rb
CHANGED
@@ -150,7 +150,7 @@ module Google
|
|
150
150
|
##
|
151
151
|
# Raise an error unless an active service is available.
|
152
152
|
def ensure_service!
|
153
|
-
raise "Must have active connection" unless zone
|
153
|
+
raise "Must have active connection" unless zone&.service
|
154
154
|
end
|
155
155
|
end
|
156
156
|
end
|
@@ -127,17 +127,17 @@ module Google
|
|
127
127
|
# puts change.id
|
128
128
|
# end
|
129
129
|
#
|
130
|
-
def all request_limit: nil
|
130
|
+
def all request_limit: nil, &block
|
131
131
|
request_limit = request_limit.to_i if request_limit
|
132
132
|
unless block_given?
|
133
|
-
return enum_for
|
133
|
+
return enum_for :all, request_limit: request_limit
|
134
134
|
end
|
135
135
|
results = self
|
136
136
|
loop do
|
137
|
-
results.each
|
137
|
+
results.each(&block)
|
138
138
|
if request_limit
|
139
139
|
request_limit -= 1
|
140
|
-
break if request_limit
|
140
|
+
break if request_limit.negative?
|
141
141
|
end
|
142
142
|
break unless results.next?
|
143
143
|
results = results.next
|
@@ -38,20 +38,18 @@ module Google
|
|
38
38
|
# dns.project_id #=> "my-project"
|
39
39
|
#
|
40
40
|
class Credentials < Google::Auth::Credentials
|
41
|
-
SCOPE =
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
DEFAULT_PATHS = \
|
54
|
-
["~/.config/gcloud/application_default_credentials.json"].freeze
|
41
|
+
SCOPE = ["https://www.googleapis.com/auth/ndev.clouddns.readwrite"].freeze
|
42
|
+
PATH_ENV_VARS = ["DNS_CREDENTIALS",
|
43
|
+
"DNS_KEYFILE",
|
44
|
+
"GOOGLE_CLOUD_CREDENTIALS",
|
45
|
+
"GOOGLE_CLOUD_KEYFILE",
|
46
|
+
"GCLOUD_KEYFILE"].freeze
|
47
|
+
JSON_ENV_VARS = ["DNS_CREDENTIALS_JSON",
|
48
|
+
"DNS_KEYFILE_JSON",
|
49
|
+
"GOOGLE_CLOUD_CREDENTIALS_JSON",
|
50
|
+
"GOOGLE_CLOUD_KEYFILE_JSON",
|
51
|
+
"GCLOUD_KEYFILE_JSON"].freeze
|
52
|
+
DEFAULT_PATHS = ["~/.config/gcloud/application_default_credentials.json"].freeze
|
55
53
|
end
|
56
54
|
end
|
57
55
|
end
|
@@ -84,7 +84,7 @@ module Google
|
|
84
84
|
type = r.first
|
85
85
|
type = :aaaa if type == :a4
|
86
86
|
r.last.each do |zf_record|
|
87
|
-
name = Service.fqdn
|
87
|
+
name = Service.fqdn zf_record[:name], @zonefile.origin
|
88
88
|
key = [name, type]
|
89
89
|
(@merged_zf_records[key] ||= []) << zf_record
|
90
90
|
end
|
@@ -99,7 +99,7 @@ module Google
|
|
99
99
|
@records = @merged_zf_records.map do |key, zf_records|
|
100
100
|
ttl = ttl_from_zonefile_records zf_records
|
101
101
|
data = zf_records.map do |zf_record|
|
102
|
-
data_from_zonefile_record
|
102
|
+
data_from_zonefile_record key[1], zf_record
|
103
103
|
end
|
104
104
|
@zone.record key[0], key[1], ttl, data
|
105
105
|
end
|
@@ -116,7 +116,7 @@ module Google
|
|
116
116
|
# From a collection of records, take the lowest ttl
|
117
117
|
def ttl_from_zonefile_records zf_records
|
118
118
|
ttls = zf_records.map do |zf_record|
|
119
|
-
ttl_to_i
|
119
|
+
ttl_to_i zf_record[:ttl]
|
120
120
|
end
|
121
121
|
min_ttl = ttls.compact.min
|
122
122
|
min_ttl || ttl_to_i(@zonefile.ttl)
|
@@ -86,42 +86,42 @@ module Google
|
|
86
86
|
# Maximum allowed number of zones in the project.
|
87
87
|
def zones_quota
|
88
88
|
reload! if @gapi.nil?
|
89
|
-
@gapi.quota
|
89
|
+
@gapi.quota&.managed_zones
|
90
90
|
end
|
91
91
|
|
92
92
|
##
|
93
93
|
# Maximum allowed number of data entries per record.
|
94
94
|
def data_per_record
|
95
95
|
reload! if @gapi.nil?
|
96
|
-
@gapi.quota
|
96
|
+
@gapi.quota&.resource_records_per_rrset
|
97
97
|
end
|
98
98
|
|
99
99
|
##
|
100
100
|
# Maximum allowed number of records to add per change.
|
101
101
|
def additions_per_change
|
102
102
|
reload! if @gapi.nil?
|
103
|
-
@gapi.quota
|
103
|
+
@gapi.quota&.rrset_additions_per_change
|
104
104
|
end
|
105
105
|
|
106
106
|
##
|
107
107
|
# Maximum allowed number of records to delete per change.
|
108
108
|
def deletions_per_change
|
109
109
|
reload! if @gapi.nil?
|
110
|
-
@gapi.quota
|
110
|
+
@gapi.quota&.rrset_deletions_per_change
|
111
111
|
end
|
112
112
|
|
113
113
|
##
|
114
114
|
# Maximum allowed number of records per zone in the project.
|
115
115
|
def records_per_zone
|
116
116
|
reload! if @gapi.nil?
|
117
|
-
@gapi.quota
|
117
|
+
@gapi.quota&.rrsets_per_managed_zone
|
118
118
|
end
|
119
119
|
|
120
120
|
##
|
121
121
|
# Maximum allowed total bytes size for all the data in one change.
|
122
122
|
def total_data_per_change
|
123
123
|
reload! if @gapi.nil?
|
124
|
-
@gapi.quota
|
124
|
+
@gapi.quota&.total_rrdata_size_per_change
|
125
125
|
end
|
126
126
|
|
127
127
|
##
|
@@ -127,17 +127,17 @@ module Google
|
|
127
127
|
# puts record.name
|
128
128
|
# end
|
129
129
|
#
|
130
|
-
def all request_limit: nil
|
130
|
+
def all request_limit: nil, &block
|
131
131
|
request_limit = request_limit.to_i if request_limit
|
132
132
|
unless block_given?
|
133
|
-
return enum_for
|
133
|
+
return enum_for :all, request_limit: request_limit
|
134
134
|
end
|
135
135
|
results = self
|
136
136
|
loop do
|
137
|
-
results.each
|
137
|
+
results.each(&block)
|
138
138
|
if request_limit
|
139
139
|
request_limit -= 1
|
140
|
-
break if request_limit
|
140
|
+
break if request_limit.negative?
|
141
141
|
end
|
142
142
|
break unless results.next?
|
143
143
|
results = results.next
|
@@ -34,7 +34,7 @@ module Google
|
|
34
34
|
##
|
35
35
|
# Creates a new Service instance.
|
36
36
|
def initialize project, credentials,
|
37
|
-
retries: nil, timeout: nil, host: nil
|
37
|
+
retries: nil, timeout: nil, host: nil, quota_project: nil
|
38
38
|
@project = project
|
39
39
|
@credentials = credentials
|
40
40
|
@service = API::DnsService.new
|
@@ -48,6 +48,7 @@ module Google
|
|
48
48
|
@service.request_options.header ||= {}
|
49
49
|
@service.request_options.header["x-goog-api-client"] = \
|
50
50
|
"gl-ruby/#{RUBY_VERSION} gccl/#{Google::Cloud::Dns::VERSION}"
|
51
|
+
@service.request_options.quota_project = quota_project if quota_project
|
51
52
|
@service.authorization = @credentials.client
|
52
53
|
@service.root_url = host if host
|
53
54
|
end
|
@@ -159,9 +159,9 @@ module Google
|
|
159
159
|
# zone.clear!
|
160
160
|
#
|
161
161
|
def clear!
|
162
|
-
non_essential = records.all.reject { |r|
|
162
|
+
non_essential = records.all.reject { |r| ["SOA", "NS"].include? r.type }
|
163
163
|
change = update [], non_essential
|
164
|
-
change
|
164
|
+
change&.wait_until_done!
|
165
165
|
end
|
166
166
|
|
167
167
|
##
|
@@ -297,7 +297,7 @@ module Google
|
|
297
297
|
def records name = nil, type = nil, token: nil, max: nil
|
298
298
|
ensure_service!
|
299
299
|
|
300
|
-
name = fqdn
|
300
|
+
name = fqdn name if name
|
301
301
|
|
302
302
|
gapi = service.list_records id, name, type, token: token, max: max
|
303
303
|
Record::List.from_gapi gapi, self, name, type, max
|
@@ -368,7 +368,7 @@ module Google
|
|
368
368
|
#
|
369
369
|
# The Google Cloud DNS service requires that record names and data use
|
370
370
|
# fully-qualified addresses. The @ symbol is not accepted, nor are
|
371
|
-
# unqualified subdomain addresses like www
|
371
|
+
# unqualified subdomain addresses like `www`. If your zone file contains
|
372
372
|
# such values, you may need to pre-process it in order for the import
|
373
373
|
# operation to succeed.
|
374
374
|
#
|
@@ -396,7 +396,7 @@ module Google
|
|
396
396
|
#
|
397
397
|
def import path_or_io, only: nil, except: nil,
|
398
398
|
skip_soa: nil, soa_serial: nil
|
399
|
-
except = (Array(except).map(&:to_s).map(&:upcase) +
|
399
|
+
except = (Array(except).map(&:to_s).map(&:upcase) + ["SOA", "NS"]).uniq
|
400
400
|
importer = Google::Cloud::Dns::Importer.new self, path_or_io
|
401
401
|
additions = importer.records only: only, except: except
|
402
402
|
update additions, [], skip_soa: skip_soa, soa_serial: soa_serial
|
@@ -650,10 +650,10 @@ module Google
|
|
650
650
|
# mx.ttl = 3600 # change only the TTL
|
651
651
|
# end
|
652
652
|
#
|
653
|
-
def modify name, type, skip_soa: nil, soa_serial: nil
|
653
|
+
def modify name, type, skip_soa: nil, soa_serial: nil, &block
|
654
654
|
existing = records(name, type).all.to_a
|
655
655
|
updated = existing.map(&:dup)
|
656
|
-
updated.each
|
656
|
+
updated.each(&block)
|
657
657
|
update updated, existing, skip_soa: skip_soa, soa_serial: soa_serial
|
658
658
|
end
|
659
659
|
|
@@ -721,7 +721,7 @@ module Google
|
|
721
721
|
end
|
722
722
|
|
723
723
|
def replace_soa_serial soa_data, soa_serial
|
724
|
-
soa_data = soa_data.split
|
724
|
+
soa_data = soa_data.split
|
725
725
|
current_serial = soa_data[2].to_i
|
726
726
|
soa_data[2] = if soa_serial && soa_serial.respond_to?(:call)
|
727
727
|
soa_serial.call current_serial
|
@@ -122,17 +122,17 @@ module Google
|
|
122
122
|
# puts zone.name
|
123
123
|
# end
|
124
124
|
#
|
125
|
-
def all request_limit: nil
|
125
|
+
def all request_limit: nil, &block
|
126
126
|
request_limit = request_limit.to_i if request_limit
|
127
127
|
unless block_given?
|
128
|
-
return enum_for
|
128
|
+
return enum_for :all, request_limit: request_limit
|
129
129
|
end
|
130
130
|
results = self
|
131
131
|
loop do
|
132
|
-
results.each
|
132
|
+
results.each(&block)
|
133
133
|
if request_limit
|
134
134
|
request_limit -= 1
|
135
|
-
break if request_limit
|
135
|
+
break if request_limit.negative?
|
136
136
|
end
|
137
137
|
break unless results.next?
|
138
138
|
results = results.next
|
@@ -162,10 +162,10 @@ module Google
|
|
162
162
|
# end
|
163
163
|
# end
|
164
164
|
#
|
165
|
-
def modify name, type
|
165
|
+
def modify name, type, &block
|
166
166
|
existing = @zone.records(name, type).all.to_a
|
167
167
|
updated = existing.map(&:dup)
|
168
|
-
updated.each
|
168
|
+
updated.each(&block)
|
169
169
|
@additions += updated
|
170
170
|
@deletions += existing
|
171
171
|
end
|
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.35.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:
|
12
|
+
date: 2021-03-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: google-cloud-core
|
@@ -26,45 +26,33 @@ dependencies:
|
|
26
26
|
- !ruby/object:Gem::Version
|
27
27
|
version: '1.2'
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
|
-
name: google-
|
29
|
+
name: google-apis-dns_v1
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
|
-
- - "
|
33
|
-
- !ruby/object:Gem::Version
|
34
|
-
version: 0.30.4
|
35
|
-
- - "<"
|
32
|
+
- - "~>"
|
36
33
|
- !ruby/object:Gem::Version
|
37
|
-
version: '1
|
34
|
+
version: '0.1'
|
38
35
|
type: :runtime
|
39
36
|
prerelease: false
|
40
37
|
version_requirements: !ruby/object:Gem::Requirement
|
41
38
|
requirements:
|
42
|
-
- - "
|
43
|
-
- !ruby/object:Gem::Version
|
44
|
-
version: 0.30.4
|
45
|
-
- - "<"
|
39
|
+
- - "~>"
|
46
40
|
- !ruby/object:Gem::Version
|
47
|
-
version: '1
|
41
|
+
version: '0.1'
|
48
42
|
- !ruby/object:Gem::Dependency
|
49
43
|
name: googleauth
|
50
44
|
requirement: !ruby/object:Gem::Requirement
|
51
45
|
requirements:
|
52
|
-
- - "
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: 0.6.2
|
55
|
-
- - "<"
|
46
|
+
- - "~>"
|
56
47
|
- !ruby/object:Gem::Version
|
57
|
-
version: 0.
|
48
|
+
version: '0.9'
|
58
49
|
type: :runtime
|
59
50
|
prerelease: false
|
60
51
|
version_requirements: !ruby/object:Gem::Requirement
|
61
52
|
requirements:
|
62
|
-
- - "
|
63
|
-
- !ruby/object:Gem::Version
|
64
|
-
version: 0.6.2
|
65
|
-
- - "<"
|
53
|
+
- - "~>"
|
66
54
|
- !ruby/object:Gem::Version
|
67
|
-
version: 0.
|
55
|
+
version: '0.9'
|
68
56
|
- !ruby/object:Gem::Dependency
|
69
57
|
name: zonefile
|
70
58
|
requirement: !ruby/object:Gem::Requirement
|
@@ -79,20 +67,34 @@ dependencies:
|
|
79
67
|
- - "~>"
|
80
68
|
- !ruby/object:Gem::Version
|
81
69
|
version: '1.04'
|
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.25.1
|
77
|
+
type: :development
|
78
|
+
prerelease: false
|
79
|
+
version_requirements: !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - "~>"
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: 1.25.1
|
82
84
|
- !ruby/object:Gem::Dependency
|
83
85
|
name: minitest
|
84
86
|
requirement: !ruby/object:Gem::Requirement
|
85
87
|
requirements:
|
86
88
|
- - "~>"
|
87
89
|
- !ruby/object:Gem::Version
|
88
|
-
version: '5.
|
90
|
+
version: '5.14'
|
89
91
|
type: :development
|
90
92
|
prerelease: false
|
91
93
|
version_requirements: !ruby/object:Gem::Requirement
|
92
94
|
requirements:
|
93
95
|
- - "~>"
|
94
96
|
- !ruby/object:Gem::Version
|
95
|
-
version: '5.
|
97
|
+
version: '5.14'
|
96
98
|
- !ruby/object:Gem::Dependency
|
97
99
|
name: minitest-autotest
|
98
100
|
requirement: !ruby/object:Gem::Requirement
|
@@ -163,20 +165,6 @@ dependencies:
|
|
163
165
|
- - "~>"
|
164
166
|
- !ruby/object:Gem::Version
|
165
167
|
version: '3.0'
|
166
|
-
- !ruby/object:Gem::Dependency
|
167
|
-
name: rubocop
|
168
|
-
requirement: !ruby/object:Gem::Requirement
|
169
|
-
requirements:
|
170
|
-
- - "~>"
|
171
|
-
- !ruby/object:Gem::Version
|
172
|
-
version: 0.64.0
|
173
|
-
type: :development
|
174
|
-
prerelease: false
|
175
|
-
version_requirements: !ruby/object:Gem::Requirement
|
176
|
-
requirements:
|
177
|
-
- - "~>"
|
178
|
-
- !ruby/object:Gem::Version
|
179
|
-
version: 0.64.0
|
180
168
|
- !ruby/object:Gem::Dependency
|
181
169
|
name: simplecov
|
182
170
|
requirement: !ruby/object:Gem::Requirement
|
@@ -262,14 +250,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
262
250
|
requirements:
|
263
251
|
- - ">="
|
264
252
|
- !ruby/object:Gem::Version
|
265
|
-
version: 2.
|
253
|
+
version: '2.5'
|
266
254
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
267
255
|
requirements:
|
268
256
|
- - ">="
|
269
257
|
- !ruby/object:Gem::Version
|
270
258
|
version: '0'
|
271
259
|
requirements: []
|
272
|
-
rubygems_version: 3.
|
260
|
+
rubygems_version: 3.2.13
|
273
261
|
signing_key:
|
274
262
|
specification_version: 4
|
275
263
|
summary: API Client library for Google Cloud DNS
|