spf 0.0.27 → 0.0.28
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 +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