coredns 1.2.1 → 1.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +2 -0
- data/Gemfile.lock +5 -2
- data/lib/etcd/dns_zone.rb +1 -1
- data/lib/etcd.rb +1 -1
- data/lib/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e3921a27cc260ed2f88647f43c85f130d567eec39e875beccc22dea0db2c7532
|
4
|
+
data.tar.gz: f07db2a86143a59be2af69356b7ae608693d1dfcb8577adc7fa8c5b5a4b879f9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf33bdddd56ce973fbb32218ee6ca891284a829abe7ca257c4d13534592e18d53544cec1d88c82221259e3eedadb9aaf1a9f4178f14a7fec750cb7e70962885f
|
7
|
+
data.tar.gz: b605f2ad7351427436447d723945b374ad6f13929ef5ce42ac23c582a74ed769f097ef879cb7af41da3b1c0574e39ef07e6b68cf1272b0a1dfa17e7e9561c495
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
coredns (1.2.
|
4
|
+
coredns (1.2.3)
|
5
5
|
|
6
6
|
GEM
|
7
7
|
remote: https://rubygems.org/
|
8
8
|
specs:
|
9
9
|
ast (2.4.2)
|
10
|
+
base64 (0.2.0)
|
10
11
|
diff-lcs (1.5.0)
|
11
12
|
domain_name (0.5.20190701)
|
12
13
|
unf (>= 0.0.5, < 1.0.0)
|
@@ -60,9 +61,11 @@ GEM
|
|
60
61
|
unicode-display_width (2.1.0)
|
61
62
|
|
62
63
|
PLATFORMS
|
64
|
+
arm64-darwin-23
|
63
65
|
x86_64-linux
|
64
66
|
|
65
67
|
DEPENDENCIES
|
68
|
+
base64 (~> 0.2.0)
|
66
69
|
coredns!
|
67
70
|
rake (~> 13.0)
|
68
71
|
rest-client (~> 2.0)
|
@@ -70,4 +73,4 @@ DEPENDENCIES
|
|
70
73
|
rubocop (~> 1.7)
|
71
74
|
|
72
75
|
BUNDLED WITH
|
73
|
-
2.
|
76
|
+
2.5.9
|
data/lib/etcd/dns_zone.rb
CHANGED
@@ -28,7 +28,7 @@ class CoreDns::Etcd::DnsZone < CoreDns::Etcd::Domain
|
|
28
28
|
|
29
29
|
def parent_zone
|
30
30
|
@namespace = @namespace.split(".")[1..].join(".")
|
31
|
-
return nil if @namespace.empty?
|
31
|
+
return nil if @namespace.empty? || !@namespace.include?(".")
|
32
32
|
|
33
33
|
zone_hash = @client.zone(@namespace).show
|
34
34
|
return @client.zone(@namespace) if zone_hash
|
data/lib/etcd.rb
CHANGED
@@ -17,7 +17,7 @@ class CoreDns::Etcd
|
|
17
17
|
|
18
18
|
def domain(hostname)
|
19
19
|
unless hostname.empty?
|
20
|
-
raise RuntimeError.new "Invalid hostname" unless hostname.match?(/\A(?:(?!-)(?!.*--)[a-zA-Z0-9_][a-zA-Z0-9
|
20
|
+
raise RuntimeError.new "Invalid hostname" unless hostname.match?(/\A(?:(?!-)(?!.*--)[a-zA-Z0-9_][a-zA-Z0-9\-\_]{1,62}\.)+[a-zA-Z]{2,}\z/)
|
21
21
|
end
|
22
22
|
|
23
23
|
CoreDns::Etcd::Domain.new(self, hostname)
|
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: coredns
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aliaksei Hrechushkin
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-06-18 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Gem which provide simple way to control DNS records.
|
14
14
|
email:
|
@@ -60,7 +60,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '0'
|
62
62
|
requirements: []
|
63
|
-
rubygems_version: 3.
|
63
|
+
rubygems_version: 3.5.11
|
64
64
|
signing_key:
|
65
65
|
specification_version: 4
|
66
66
|
summary: Wrapper for coredns-etcd application
|