dslimple 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dslimple/record.rb +2 -2
- data/lib/dslimple/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bc742760b9f2b0f5bb0622bef99d046fe664719459572d124f5b5ac0172d7139
|
4
|
+
data.tar.gz: 2f964c7a33967651e5edd57b2551c7fd1b99430c8b017261910a1034078bb403
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0bcde8ec0d0b9fdefa121dcfd422d50ef78d70aaec2d14b6927cf4f5730f6c840cda726e9dc02503b8ad298b2faad9083590fb4a225bbcd44b82ed390c304980
|
7
|
+
data.tar.gz: 677c475d42387ac7ab0013869623aa5814c273af405fa9474c2c27e5db331aa47e51fda174f05f5e57951986ed8758430f32c9c283c934375ef75ba3c86e1598
|
data/lib/dslimple/record.rb
CHANGED
@@ -40,11 +40,11 @@ class Dslimple::Record
|
|
40
40
|
end
|
41
41
|
|
42
42
|
def ===(other)
|
43
|
-
other.is_a?(self.class) && %i[zone name type].all? { |attr| send(attr).to_s == other.send(attr).to_s }
|
43
|
+
other.is_a?(self.class) && %i[zone name type content].all? { |attr| send(attr).to_s == other.send(attr).to_s }
|
44
44
|
end
|
45
45
|
|
46
46
|
def hash
|
47
|
-
[zone.to_s, name, type, ttl, priority, content, regions
|
47
|
+
[zone.to_s, name, type, ttl, priority, content, regions, !!system_record].hash
|
48
48
|
end
|
49
49
|
|
50
50
|
def to_dsl(options = {})
|
data/lib/dslimple/version.rb
CHANGED