spf 0.0.44 → 0.0.45

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ YjU3ODliNGE0MGViNTE1OTQ4ODQ3ZGViODI4ZWU3NjdkYjc4Mjg2Yg==
5
+ data.tar.gz: !binary |-
6
+ MWRmNWY3NWM0OTgzMGFjNjg2MWRjNjJmNDFhOTk3ZTgyOTQ4M2I4MQ==
7
+ SHA512:
8
+ metadata.gz: !binary |-
9
+ NjUzMDgxYjViMjc3OGI3NWY5YzBlOWFkOTQ0YWU4MzkwOTRiZGMzNzU0YjAw
10
+ YjViMmYyMmZhNGRhMmNiYjY2NTJlYmYwMWFhOWVmODNhMTFmMTE0MTVlYjI2
11
+ NGIxNGQzZmQ0OTdhOWU5ODIyNjM5YTI2NmNhMDU4ZjQ2YTM0OWY=
12
+ data.tar.gz: !binary |-
13
+ ODc2M2RmYzQ4ZTJiY2EyNjQyMGMwZjExZjFmMDc1MmU4NjQ0NjE5ZmFjZDcz
14
+ NWQzNDQ1ODM0YTRiZmRhMjdiYmFkYjVmNmY0YmQxYWYyMTcyZjUxYmI4NTNh
15
+ N2Q5MTdiNzU5MjM2ZWJjZmQ4NmE5MzM3NGUyNDJiNDRiOTQ0ZWE=
data/lib/spf/model.rb CHANGED
@@ -408,7 +408,7 @@ class SPF::Mech < SPF::Term
408
408
 
409
409
  def match(server, request, want_result = true)
410
410
  server.count_dns_interactive_term(request)
411
- return self.match_in_domain(server, request, request.domain)
411
+ return self.match_in_domain(server, request, self.domain(server, request))
412
412
  end
413
413
 
414
414
  end
data/lib/spf/version.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  # encoding: ASCII-8BIT
2
2
  module SPF
3
- VERSION = '0.0.44'
3
+ VERSION = '0.0.45'
4
4
  end
5
5
 
6
6
  # vim:sw=2 sts=2
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.44"
8
+ s.version = "0.0.45"
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"]
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spf
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.44
5
- prerelease:
4
+ version: 0.0.45
6
5
  platform: ruby
7
6
  authors:
8
7
  - Andrew Flury
@@ -16,7 +15,6 @@ dependencies:
16
15
  - !ruby/object:Gem::Dependency
17
16
  name: ruby-ip
18
17
  requirement: !ruby/object:Gem::Requirement
19
- none: false
20
18
  requirements:
21
19
  - - ~>
22
20
  - !ruby/object:Gem::Version
@@ -24,7 +22,6 @@ dependencies:
24
22
  type: :runtime
25
23
  prerelease: false
26
24
  version_requirements: !ruby/object:Gem::Requirement
27
- none: false
28
25
  requirements:
29
26
  - - ~>
30
27
  - !ruby/object:Gem::Version
@@ -32,7 +29,6 @@ dependencies:
32
29
  - !ruby/object:Gem::Dependency
33
30
  name: rspec
34
31
  requirement: !ruby/object:Gem::Requirement
35
- none: false
36
32
  requirements:
37
33
  - - ~>
38
34
  - !ruby/object:Gem::Version
@@ -40,7 +36,6 @@ dependencies:
40
36
  type: :development
41
37
  prerelease: false
42
38
  version_requirements: !ruby/object:Gem::Requirement
43
- none: false
44
39
  requirements:
45
40
  - - ~>
46
41
  - !ruby/object:Gem::Version
@@ -48,7 +43,6 @@ dependencies:
48
43
  - !ruby/object:Gem::Dependency
49
44
  name: rdoc
50
45
  requirement: !ruby/object:Gem::Requirement
51
- none: false
52
46
  requirements:
53
47
  - - ~>
54
48
  - !ruby/object:Gem::Version
@@ -56,7 +50,6 @@ dependencies:
56
50
  type: :development
57
51
  prerelease: false
58
52
  version_requirements: !ruby/object:Gem::Requirement
59
- none: false
60
53
  requirements:
61
54
  - - ~>
62
55
  - !ruby/object:Gem::Version
@@ -64,7 +57,6 @@ dependencies:
64
57
  - !ruby/object:Gem::Dependency
65
58
  name: bundler
66
59
  requirement: !ruby/object:Gem::Requirement
67
- none: false
68
60
  requirements:
69
61
  - - ~>
70
62
  - !ruby/object:Gem::Version
@@ -72,7 +64,6 @@ dependencies:
72
64
  type: :development
73
65
  prerelease: false
74
66
  version_requirements: !ruby/object:Gem::Requirement
75
- none: false
76
67
  requirements:
77
68
  - - ~>
78
69
  - !ruby/object:Gem::Version
@@ -80,7 +71,6 @@ dependencies:
80
71
  - !ruby/object:Gem::Dependency
81
72
  name: jeweler
82
73
  requirement: !ruby/object:Gem::Requirement
83
- none: false
84
74
  requirements:
85
75
  - - ~>
86
76
  - !ruby/object:Gem::Version
@@ -88,7 +78,6 @@ dependencies:
88
78
  type: :development
89
79
  prerelease: false
90
80
  version_requirements: !ruby/object:Gem::Requirement
91
- none: false
92
81
  requirements:
93
82
  - - ~>
94
83
  - !ruby/object:Gem::Version
@@ -126,29 +115,26 @@ files:
126
115
  homepage: https://github.com/agaridata/spf-ruby
127
116
  licenses:
128
117
  - none (all rights reserved)
118
+ metadata: {}
129
119
  post_install_message:
130
120
  rdoc_options: []
131
121
  require_paths:
132
122
  - lib
133
123
  required_ruby_version: !ruby/object:Gem::Requirement
134
- none: false
135
124
  requirements:
136
125
  - - ! '>='
137
126
  - !ruby/object:Gem::Version
138
127
  version: '0'
139
- segments:
140
- - 0
141
- hash: -368461280255934415
142
128
  required_rubygems_version: !ruby/object:Gem::Requirement
143
- none: false
144
129
  requirements:
145
130
  - - ! '>='
146
131
  - !ruby/object:Gem::Version
147
132
  version: '0'
148
133
  requirements: []
149
134
  rubyforge_project:
150
- rubygems_version: 1.8.23.2
135
+ rubygems_version: 2.4.4
151
136
  signing_key:
152
137
  specification_version: 3
153
138
  summary: Implementation of the Sender Policy Framework
154
139
  test_files: []
140
+ has_rdoc: