google-cloud-dns 0.29.4 → 0.30.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/CHANGELOG.md +11 -0
- data/lib/google/cloud/dns.rb +11 -8
- data/lib/google/cloud/dns/importer.rb +1 -1
- data/lib/google/cloud/dns/version.rb +1 -1
- metadata +13 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 78f11d54b54463b7464622c3b43bafcac2bbd2f45dbb6fb0f14af392298a3d52
|
|
4
|
+
data.tar.gz: ee66e59ca1fb5cac4b244566420ca3a6850f00b0b24bbc3b73a0bd77731be74f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 59fd69d64b18c4f6fcc31dce7eb7571c59d0c9700444168d047e1e2b561f564ffedb710ce56ac7bd8ffe08780a4a1b84bc333a43ccc7d5cbc44a70a6dfd80293
|
|
7
|
+
data.tar.gz: 8d06e38a552d50997974a6d2890025b537f66935cfdbcc983e568654f56b56766ac014b7c107fe90397f236c7da564959eb78848047b39c3ed29f4a7f2b7a4db
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# Release History
|
|
2
2
|
|
|
3
|
+
### 0.30.0 / 2019-02-01
|
|
4
|
+
|
|
5
|
+
* Make use of Credentials#project_id
|
|
6
|
+
* Use Credentials#project_id
|
|
7
|
+
If a project_id is not provided, use the value on the Credentials object.
|
|
8
|
+
This value was added in googleauth 0.7.0.
|
|
9
|
+
* Loosen googleauth dependency
|
|
10
|
+
Allow for new releases up to 0.10.
|
|
11
|
+
The googleauth devs have committed to maintanining the current API
|
|
12
|
+
and will not make backwards compatible changes before 0.10.:
|
|
13
|
+
|
|
3
14
|
### 0.29.4 / 2018-09-20
|
|
4
15
|
|
|
5
16
|
* Update documentation.
|
data/lib/google/cloud/dns.rb
CHANGED
|
@@ -74,19 +74,22 @@ module Google
|
|
|
74
74
|
#
|
|
75
75
|
def self.new project_id: nil, credentials: nil, scope: nil, retries: nil,
|
|
76
76
|
timeout: nil, project: nil, keyfile: nil
|
|
77
|
-
project_id
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
scope ||= configure.scope
|
|
82
|
-
retries ||= configure.retries
|
|
83
|
-
timeout ||= configure.timeout
|
|
84
|
-
|
|
77
|
+
project_id ||= (project || default_project_id)
|
|
78
|
+
scope ||= configure.scope
|
|
79
|
+
retries ||= configure.retries
|
|
80
|
+
timeout ||= configure.timeout
|
|
85
81
|
credentials ||= (keyfile || default_credentials(scope: scope))
|
|
82
|
+
|
|
86
83
|
unless credentials.is_a? Google::Auth::Credentials
|
|
87
84
|
credentials = Dns::Credentials.new credentials, scope: scope
|
|
88
85
|
end
|
|
89
86
|
|
|
87
|
+
if credentials.respond_to? :project_id
|
|
88
|
+
project_id ||= credentials.project_id
|
|
89
|
+
end
|
|
90
|
+
project_id = project_id.to_s # Always cast to a string
|
|
91
|
+
raise ArgumentError, "project_id is missing" if project_id.empty?
|
|
92
|
+
|
|
90
93
|
Dns::Project.new(
|
|
91
94
|
Dns::Service.new(
|
|
92
95
|
project_id, credentials, retries: retries, timeout: timeout
|
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.30.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: 2019-02-01 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: google-cloud-core
|
|
@@ -43,16 +43,22 @@ dependencies:
|
|
|
43
43
|
name: googleauth
|
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
|
45
45
|
requirements:
|
|
46
|
-
- - "
|
|
46
|
+
- - ">="
|
|
47
47
|
- !ruby/object:Gem::Version
|
|
48
48
|
version: 0.6.2
|
|
49
|
+
- - "<"
|
|
50
|
+
- !ruby/object:Gem::Version
|
|
51
|
+
version: 0.10.0
|
|
49
52
|
type: :runtime
|
|
50
53
|
prerelease: false
|
|
51
54
|
version_requirements: !ruby/object:Gem::Requirement
|
|
52
55
|
requirements:
|
|
53
|
-
- - "
|
|
56
|
+
- - ">="
|
|
54
57
|
- !ruby/object:Gem::Version
|
|
55
58
|
version: 0.6.2
|
|
59
|
+
- - "<"
|
|
60
|
+
- !ruby/object:Gem::Version
|
|
61
|
+
version: 0.10.0
|
|
56
62
|
- !ruby/object:Gem::Dependency
|
|
57
63
|
name: zonefile
|
|
58
64
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -157,14 +163,14 @@ dependencies:
|
|
|
157
163
|
requirements:
|
|
158
164
|
- - "~>"
|
|
159
165
|
- !ruby/object:Gem::Version
|
|
160
|
-
version: 0.
|
|
166
|
+
version: 0.61.0
|
|
161
167
|
type: :development
|
|
162
168
|
prerelease: false
|
|
163
169
|
version_requirements: !ruby/object:Gem::Requirement
|
|
164
170
|
requirements:
|
|
165
171
|
- - "~>"
|
|
166
172
|
- !ruby/object:Gem::Version
|
|
167
|
-
version: 0.
|
|
173
|
+
version: 0.61.0
|
|
168
174
|
- !ruby/object:Gem::Dependency
|
|
169
175
|
name: simplecov
|
|
170
176
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -258,7 +264,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
258
264
|
version: '0'
|
|
259
265
|
requirements: []
|
|
260
266
|
rubyforge_project:
|
|
261
|
-
rubygems_version: 2.7.
|
|
267
|
+
rubygems_version: 2.7.6
|
|
262
268
|
signing_key:
|
|
263
269
|
specification_version: 4
|
|
264
270
|
summary: API Client library for Google Cloud DNS
|