spf 0.0.27 → 0.0.28
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/spf/model.rb +1 -1
- data/lib/spf/version.rb +1 -1
- data/spf.gemspec +1 -1
- metadata +1 -1
data/lib/spf/model.rb
CHANGED
@@ -862,7 +862,7 @@ class SPF::Record
|
|
862
862
|
end
|
863
863
|
|
864
864
|
def parse_version_tag
|
865
|
-
@parse_text.sub!(/^#{self.version_tag_pattern}\s
|
865
|
+
@parse_text.sub!(/^#{self.version_tag_pattern}\s*/ix, '')
|
866
866
|
unless $1
|
867
867
|
raise SPF::InvalidRecordVersionError.new(
|
868
868
|
"Not a '#{self.version_tag}' record: '#{@text}'")
|
data/lib/spf/version.rb
CHANGED
data/spf.gemspec
CHANGED