spf 0.0.45 → 0.0.46
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.
- checksums.yaml +8 -8
- data/lib/spf/eval.rb +3 -3
- data/lib/spf/model.rb +1 -1
- data/lib/spf/version.rb +1 -1
- data/spf.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
OTU2NzZlNmViOGYxMWE1Nzg2YzRiMGFiOGM4YjJiYzE5MGRhNDM5Mw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZDA4MDY2YzNhNDNlMjFkMTY4ZTRmOTJmY2E5ZjUyMGNiZTE0ZDU0ZA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YzYxNTFhNGU1MGU3NTAxYjAzMzhiMTgwNDExOWVjYzgyNjgyYjc0Y2JmOWYw
|
10
|
+
NDU2NDUxYTYyYTJjMmE5MDQxYmMwZWE5NDE4Mjc5MDc1M2Q5NmYwNTY5YTg1
|
11
|
+
M2M5ZjNlYzA5NmRiMjkyNjEyMjEzZmEzNmM4NzIzYWM2NDVlYTc=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
OTI4ODQ3NDEyNWMzOWQ5ZmM2MDdmYWJjN2Y4YTg2NTkwODZiMzBlNjk1ODdl
|
14
|
+
MDdiYzJjNDdhZDk1OTE2MTExYTNjNzYwYTRkNmUyMzU1OWUzMTA2MWUxMDhm
|
15
|
+
YTNmMTQzOWI0MWVjNDg5ZGM4YjA4YTczMWQ5YmFiYzY3ZTQ5ODE=
|
data/lib/spf/eval.rb
CHANGED
@@ -86,7 +86,7 @@ class SPF::Server
|
|
86
86
|
end
|
87
87
|
|
88
88
|
def throw_result(name, request, text)
|
89
|
-
raise self.result_class(name).new(self, request, text)
|
89
|
+
raise self.result_class(name).new([self, request, text])
|
90
90
|
end
|
91
91
|
|
92
92
|
def process(request)
|
@@ -139,7 +139,7 @@ class SPF::Server
|
|
139
139
|
end
|
140
140
|
|
141
141
|
rr_type = self.resource_typeclass_for_rr_type(rr_type)
|
142
|
-
|
142
|
+
|
143
143
|
domain = domain.sub(/\.$/, '').downcase
|
144
144
|
|
145
145
|
packet = nil
|
@@ -218,7 +218,7 @@ class SPF::Server
|
|
218
218
|
# Implication: Sender ID processing may make use of existing TXT-
|
219
219
|
# type records where a result of "None" would normally be returned
|
220
220
|
# under a strict interpretation of RFC 4406.
|
221
|
-
|
221
|
+
|
222
222
|
begin
|
223
223
|
query_count += 1
|
224
224
|
packet = self.dns_lookup(domain, 'TXT')
|
data/lib/spf/model.rb
CHANGED
@@ -558,7 +558,7 @@ class SPF::Mech < SPF::Term
|
|
558
558
|
SPF::Result::SoftFail === result or
|
559
559
|
SPF::Result::Neutral === result
|
560
560
|
|
561
|
-
server.throw_result(
|
561
|
+
server.throw_result(:permerror, request,
|
562
562
|
"Include domain '#{authority_domain}' has no applicable sender policy") if
|
563
563
|
SPF::Result::None === result
|
564
564
|
|
data/lib/spf/version.rb
CHANGED
data/spf.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "spf"
|
8
|
-
s.version = "0.0.
|
8
|
+
s.version = "0.0.46"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Andrew Flury", "Julian Mehnle", "Jacob Rideout"]
|