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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c0e4eb296b2f5d52fc5b6e2193573eb53c1799f34e9eb6829e9c0976b20a3384
4
- data.tar.gz: ff7fbd6fd7854910d2c297a1358a1563dbcef9b43364fc7a3135f3feaad523d5
3
+ metadata.gz: bc742760b9f2b0f5bb0622bef99d046fe664719459572d124f5b5ac0172d7139
4
+ data.tar.gz: 2f964c7a33967651e5edd57b2551c7fd1b99430c8b017261910a1034078bb403
5
5
  SHA512:
6
- metadata.gz: 22bcecdfd5cbc84328903cf2ab8fbac86c188da4977ace84cff5eafac18c76ab2213674c89d68911ceea169277c9fe280cff4ed0d1599b71104391a68360e576
7
- data.tar.gz: 98035651710a0273eaebb74fdba659226ea94e225a59f11da494f2fc4e2c0646be78d975d37ddc274a703b9548e5a95f9408352114e8f90cf786f5425a44e89c
6
+ metadata.gz: 0bcde8ec0d0b9fdefa121dcfd422d50ef78d70aaec2d14b6927cf4f5730f6c840cda726e9dc02503b8ad298b2faad9083590fb4a225bbcd44b82ed390c304980
7
+ data.tar.gz: 677c475d42387ac7ab0013869623aa5814c273af405fa9474c2c27e5db331aa47e51fda174f05f5e57951986ed8758430f32c9c283c934375ef75ba3c86e1598
@@ -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.join('|'), !!system_record].hash
47
+ [zone.to_s, name, type, ttl, priority, content, regions, !!system_record].hash
48
48
  end
49
49
 
50
50
  def to_dsl(options = {})
@@ -1,3 +1,3 @@
1
1
  module Dslimple
2
- VERSION = '2.0.0'.freeze
2
+ VERSION = '2.0.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dslimple
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sho Kusano