spf 0.0.39 → 0.0.40
Sign up to get free protection for your applications and to get access to all the features.
- 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
@@ -905,7 +905,7 @@ class SPF::Record
|
|
905
905
|
mech_class = self.mech_classes[mech_name.to_sym]
|
906
906
|
exception = nil
|
907
907
|
unless mech_class
|
908
|
-
exception = SPF::InvalidMechError.new("Unknown mechanism type '#{mech_name}' in '#{
|
908
|
+
exception = SPF::InvalidMechError.new("Unknown mechanism type '#{mech_name}' in '#{self.version_tag}' record")
|
909
909
|
error(exception)
|
910
910
|
mech_class = SPF::Mech
|
911
911
|
end
|
@@ -914,7 +914,7 @@ class SPF::Record
|
|
914
914
|
@ip_netblocks << mech.ip_netblocks if mech.ip_netblocks
|
915
915
|
@terms << mech
|
916
916
|
if mech_class == SPF::Mech
|
917
|
-
raise SPF::InvalidMechError.new("Unknown mechanism type '#{mech_name}' in '#{
|
917
|
+
raise SPF::InvalidMechError.new("Unknown mechanism type '#{mech_name}' in '#{self.version_tag}' record")
|
918
918
|
end
|
919
919
|
elsif (
|
920
920
|
@parse_text.sub!(/
|
data/lib/spf/version.rb
CHANGED
data/spf.gemspec
CHANGED