spf 0.0.28 → 0.0.29
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.
- data/lib/spf/model.rb +2 -2
- data/lib/spf/version.rb +1 -1
- data/spf.gemspec +1 -1
- metadata +1 -1
data/lib/spf/model.rb
CHANGED
@@ -451,7 +451,7 @@ class SPF::Mech < SPF::Term
|
|
451
451
|
if IP === @ip_network
|
452
452
|
@ip_netblocks << @ip_network
|
453
453
|
@errors << SPF::InvalidMechCIDRError.new(
|
454
|
-
|
454
|
+
"Invalid CIDR netblock - bits in host portion of address of #{@ip_network}"
|
455
455
|
) if @ip_network.offset != 0
|
456
456
|
end
|
457
457
|
end
|
@@ -484,7 +484,7 @@ class SPF::Mech < SPF::Term
|
|
484
484
|
self.parse_ipv6_network(required)
|
485
485
|
@ip_netblocks << @ip_network if IP === @ip_network
|
486
486
|
@errors << SPF::InvalidMechCIDRError.new(
|
487
|
-
|
487
|
+
"Invalid CIDR netblock - bits in host portion of address of #{@ip_network}"
|
488
488
|
) if @ip_network.offset != 0
|
489
489
|
end
|
490
490
|
|
data/lib/spf/version.rb
CHANGED
data/spf.gemspec
CHANGED