spf 0.0.43 → 0.0.44

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -8,9 +8,8 @@ gem "ruby-ip", "~> 0.9.1"
8
8
  # Add dependencies to develop your gem here.
9
9
  # Include everything needed to run rake, tests, features, etc.
10
10
  group :development do
11
- gem "rspec", "~> 2.8.0"
12
- gem "rdoc", "~> 3.12"
13
- gem "bundler", "~> 1.0"
14
- gem "jeweler", "~> 1.8.7"
15
- gem "ruby-ip", "~> 0.9.1"
11
+ gem "rspec", "~> 2.9"
12
+ gem "rdoc", "~> 3"
13
+ gem "bundler", "~> 1.2"
14
+ gem "jeweler", "~> 1.8"
16
15
  end
data/Gemfile.lock CHANGED
@@ -1,12 +1,12 @@
1
1
  GEM
2
2
  remote: http://rubygems.org/
3
3
  specs:
4
- addressable (2.3.6)
4
+ addressable (2.3.7)
5
5
  builder (3.2.2)
6
- diff-lcs (1.1.3)
6
+ diff-lcs (1.2.5)
7
7
  faraday (0.8.9)
8
8
  multipart-post (~> 1.2.0)
9
- git (1.2.7)
9
+ git (1.2.9.1)
10
10
  github_api (0.10.1)
11
11
  addressable
12
12
  faraday (~> 0.8.1)
@@ -14,8 +14,8 @@ GEM
14
14
  multi_json (~> 1.4)
15
15
  nokogiri (~> 1.5.2)
16
16
  oauth2
17
- hashie (3.1.0)
18
- highline (1.6.21)
17
+ hashie (3.4.0)
18
+ highline (1.7.1)
19
19
  jeweler (1.8.8)
20
20
  builder
21
21
  bundler (~> 1.0)
@@ -25,38 +25,38 @@ GEM
25
25
  nokogiri (= 1.5.10)
26
26
  rake
27
27
  rdoc
28
- json (1.8.1)
29
- jwt (1.0.0)
28
+ json (1.8.2)
29
+ jwt (1.3.0)
30
30
  multi_json (1.10.1)
31
31
  multi_xml (0.5.5)
32
32
  multipart-post (1.2.0)
33
33
  nokogiri (1.5.10)
34
- oauth2 (0.9.4)
34
+ oauth2 (1.0.0)
35
35
  faraday (>= 0.8, < 0.10)
36
36
  jwt (~> 1.0)
37
37
  multi_json (~> 1.3)
38
38
  multi_xml (~> 0.5)
39
39
  rack (~> 1.2)
40
- rack (1.5.2)
41
- rake (10.3.2)
40
+ rack (1.6.0)
41
+ rake (10.4.2)
42
42
  rdoc (3.12.2)
43
43
  json (~> 1.4)
44
- rspec (2.8.0)
45
- rspec-core (~> 2.8.0)
46
- rspec-expectations (~> 2.8.0)
47
- rspec-mocks (~> 2.8.0)
48
- rspec-core (2.8.0)
49
- rspec-expectations (2.8.0)
50
- diff-lcs (~> 1.1.2)
51
- rspec-mocks (2.8.0)
44
+ rspec (2.99.0)
45
+ rspec-core (~> 2.99.0)
46
+ rspec-expectations (~> 2.99.0)
47
+ rspec-mocks (~> 2.99.0)
48
+ rspec-core (2.99.2)
49
+ rspec-expectations (2.99.2)
50
+ diff-lcs (>= 1.1.3, < 2.0)
51
+ rspec-mocks (2.99.3)
52
52
  ruby-ip (0.9.3)
53
53
 
54
54
  PLATFORMS
55
55
  ruby
56
56
 
57
57
  DEPENDENCIES
58
- bundler (~> 1.0)
59
- jeweler (~> 1.8.7)
60
- rdoc (~> 3.12)
61
- rspec (~> 2.8.0)
58
+ bundler (~> 1.2)
59
+ jeweler (~> 1.8)
60
+ rdoc (~> 3)
61
+ rspec (~> 2.9)
62
62
  ruby-ip (~> 0.9.1)
data/Rakefile CHANGED
@@ -18,8 +18,8 @@ Jeweler::Tasks.new do |gem|
18
18
  gem.name = 'spf'
19
19
  gem.version = SPF::VERSION
20
20
  gem.homepage = 'https://github.com/agaridata/spf-ruby'
21
- gem.authors = ['Andrew Flury', 'Julian Mehnle']
22
- gem.email = ['code@agari.com', 'aflury@agari.com', 'jmehnle@agari.com']
21
+ gem.authors = ['Andrew Flury', 'Julian Mehnle', 'Jacob Rideout']
22
+ gem.email = ['code@agari.com', 'aflury@agari.com', 'jmehnle@agari.com', 'jrideout@agari.com']
23
23
  gem.license = 'none (all rights reserved)'
24
24
  gem.summary = 'Implementation of the Sender Policy Framework'
25
25
  gem.description = <<-DESCRIPTION
data/lib/spf.rb CHANGED
@@ -1,3 +1,4 @@
1
+ # encoding: ASCII-8BIT
1
2
  require 'spf/version'
2
3
  require 'spf/error'
3
4
  require 'spf/model'
data/lib/spf/error.rb CHANGED
@@ -1,3 +1,4 @@
1
+ # encoding: ASCII-8BIT
1
2
  module SPF
2
3
 
3
4
  # Generic Exceptions
data/lib/spf/eval.rb CHANGED
@@ -1,3 +1,4 @@
1
+ # encoding: ASCII-8BIT
1
2
  require 'ip'
2
3
  require 'resolv'
3
4
 
@@ -1,3 +1,4 @@
1
+ # encoding: ASCII-8BIT
1
2
  require 'spf/util'
2
3
 
3
4
  module SPF
data/lib/spf/model.rb CHANGED
@@ -1,3 +1,4 @@
1
+ # encoding: ASCII-8BIT
1
2
  require 'ip'
2
3
 
3
4
  require 'spf/util'
@@ -429,7 +430,7 @@ class SPF::Mech < SPF::Term
429
430
  class SPF::Mech::Exists < SPF::Mech
430
431
 
431
432
  NAME = 'exists'
432
-
433
+
433
434
  def parse_params(required = true)
434
435
  @raw_params = @parse_text.dup
435
436
  self.parse_domain_spec(required)
@@ -576,7 +577,7 @@ class SPF::Mech < SPF::Term
576
577
  end
577
578
 
578
579
  class SPF::Mech::MX < SPF::Mech
579
-
580
+
580
581
  NAME = 'mx'
581
582
 
582
583
  def parse_params(required = true)
@@ -999,7 +1000,7 @@ class SPF::Record
999
1000
  end
1000
1001
  rescue SPF::Result => result
1001
1002
  # Process global modifiers in ascending order of precedence:
1002
- @global_mods.each do |global_mod|
1003
+ global_mods.each do |global_mod|
1003
1004
  global_mod.process(server, request, result)
1004
1005
  end
1005
1006
  raise result if want_result
data/lib/spf/request.rb CHANGED
@@ -1,3 +1,4 @@
1
+ # encoding: ASCII-8BIT
1
2
  require 'ip'
2
3
 
3
4
  require 'spf/error'
data/lib/spf/result.rb CHANGED
@@ -1,3 +1,4 @@
1
+ # encoding: ASCII-8BIT
1
2
  require 'spf/model'
2
3
  require 'spf/util'
3
4
 
data/lib/spf/util.rb CHANGED
@@ -1,3 +1,4 @@
1
+ # encoding: ASCII-8BIT
1
2
  require 'ip'
2
3
  require 'socket'
3
4
 
data/lib/spf/version.rb CHANGED
@@ -1,5 +1,6 @@
1
+ # encoding: ASCII-8BIT
1
2
  module SPF
2
- VERSION = '0.0.43'
3
+ VERSION = '0.0.44'
3
4
  end
4
5
 
5
6
  # vim:sw=2 sts=2
data/spf.gemspec CHANGED
@@ -5,20 +5,19 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "spf"
8
- s.version = "0.0.43"
8
+ s.version = "0.0.44"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["Andrew Flury", "Julian Mehnle"]
12
- s.date = "2014-07-11"
11
+ s.authors = ["Andrew Flury", "Julian Mehnle", "Jacob Rideout"]
12
+ s.date = "2015-03-04"
13
13
  s.description = " An object-oriented Ruby implementation of the Sender Policy Framework (SPF)\n e-mail sender authentication system, fully compliant with RFC 4408.\n"
14
- s.email = ["code@agari.com", "aflury@agari.com", "jmehnle@agari.com"]
14
+ s.email = ["code@agari.com", "aflury@agari.com", "jmehnle@agari.com", "jrideout@agari.com"]
15
15
  s.extra_rdoc_files = [
16
16
  "README.rdoc"
17
17
  ]
18
18
  s.files = [
19
19
  ".document",
20
20
  ".rspec",
21
- ".ruby-version",
22
21
  "Gemfile",
23
22
  "Gemfile.lock",
24
23
  "README.rdoc",
@@ -47,26 +46,23 @@ Gem::Specification.new do |s|
47
46
 
48
47
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
49
48
  s.add_runtime_dependency(%q<ruby-ip>, ["~> 0.9.1"])
50
- s.add_development_dependency(%q<rspec>, ["~> 2.8.0"])
51
- s.add_development_dependency(%q<rdoc>, ["~> 3.12"])
52
- s.add_development_dependency(%q<bundler>, ["~> 1.0"])
53
- s.add_development_dependency(%q<jeweler>, ["~> 1.8.7"])
54
- s.add_development_dependency(%q<ruby-ip>, ["~> 0.9.1"])
49
+ s.add_development_dependency(%q<rspec>, ["~> 2.9"])
50
+ s.add_development_dependency(%q<rdoc>, ["~> 3"])
51
+ s.add_development_dependency(%q<bundler>, ["~> 1.2"])
52
+ s.add_development_dependency(%q<jeweler>, ["~> 1.8"])
55
53
  else
56
54
  s.add_dependency(%q<ruby-ip>, ["~> 0.9.1"])
57
- s.add_dependency(%q<rspec>, ["~> 2.8.0"])
58
- s.add_dependency(%q<rdoc>, ["~> 3.12"])
59
- s.add_dependency(%q<bundler>, ["~> 1.0"])
60
- s.add_dependency(%q<jeweler>, ["~> 1.8.7"])
61
- s.add_dependency(%q<ruby-ip>, ["~> 0.9.1"])
55
+ s.add_dependency(%q<rspec>, ["~> 2.9"])
56
+ s.add_dependency(%q<rdoc>, ["~> 3"])
57
+ s.add_dependency(%q<bundler>, ["~> 1.2"])
58
+ s.add_dependency(%q<jeweler>, ["~> 1.8"])
62
59
  end
63
60
  else
64
61
  s.add_dependency(%q<ruby-ip>, ["~> 0.9.1"])
65
- s.add_dependency(%q<rspec>, ["~> 2.8.0"])
66
- s.add_dependency(%q<rdoc>, ["~> 3.12"])
67
- s.add_dependency(%q<bundler>, ["~> 1.0"])
68
- s.add_dependency(%q<jeweler>, ["~> 1.8.7"])
69
- s.add_dependency(%q<ruby-ip>, ["~> 0.9.1"])
62
+ s.add_dependency(%q<rspec>, ["~> 2.9"])
63
+ s.add_dependency(%q<rdoc>, ["~> 3"])
64
+ s.add_dependency(%q<bundler>, ["~> 1.2"])
65
+ s.add_dependency(%q<jeweler>, ["~> 1.8"])
70
66
  end
71
67
  end
72
68
 
metadata CHANGED
@@ -1,16 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spf
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.43
4
+ version: 0.0.44
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
8
8
  - Andrew Flury
9
9
  - Julian Mehnle
10
+ - Jacob Rideout
10
11
  autorequire:
11
12
  bindir: bin
12
13
  cert_chain: []
13
- date: 2014-07-11 00:00:00.000000000 Z
14
+ date: 2015-03-04 00:00:00.000000000 Z
14
15
  dependencies:
15
16
  - !ruby/object:Gem::Dependency
16
17
  name: ruby-ip
@@ -35,7 +36,7 @@ dependencies:
35
36
  requirements:
36
37
  - - ~>
37
38
  - !ruby/object:Gem::Version
38
- version: 2.8.0
39
+ version: '2.9'
39
40
  type: :development
40
41
  prerelease: false
41
42
  version_requirements: !ruby/object:Gem::Requirement
@@ -43,7 +44,7 @@ dependencies:
43
44
  requirements:
44
45
  - - ~>
45
46
  - !ruby/object:Gem::Version
46
- version: 2.8.0
47
+ version: '2.9'
47
48
  - !ruby/object:Gem::Dependency
48
49
  name: rdoc
49
50
  requirement: !ruby/object:Gem::Requirement
@@ -51,7 +52,7 @@ dependencies:
51
52
  requirements:
52
53
  - - ~>
53
54
  - !ruby/object:Gem::Version
54
- version: '3.12'
55
+ version: '3'
55
56
  type: :development
56
57
  prerelease: false
57
58
  version_requirements: !ruby/object:Gem::Requirement
@@ -59,7 +60,7 @@ dependencies:
59
60
  requirements:
60
61
  - - ~>
61
62
  - !ruby/object:Gem::Version
62
- version: '3.12'
63
+ version: '3'
63
64
  - !ruby/object:Gem::Dependency
64
65
  name: bundler
65
66
  requirement: !ruby/object:Gem::Requirement
@@ -67,7 +68,7 @@ dependencies:
67
68
  requirements:
68
69
  - - ~>
69
70
  - !ruby/object:Gem::Version
70
- version: '1.0'
71
+ version: '1.2'
71
72
  type: :development
72
73
  prerelease: false
73
74
  version_requirements: !ruby/object:Gem::Requirement
@@ -75,7 +76,7 @@ dependencies:
75
76
  requirements:
76
77
  - - ~>
77
78
  - !ruby/object:Gem::Version
78
- version: '1.0'
79
+ version: '1.2'
79
80
  - !ruby/object:Gem::Dependency
80
81
  name: jeweler
81
82
  requirement: !ruby/object:Gem::Requirement
@@ -83,7 +84,7 @@ dependencies:
83
84
  requirements:
84
85
  - - ~>
85
86
  - !ruby/object:Gem::Version
86
- version: 1.8.7
87
+ version: '1.8'
87
88
  type: :development
88
89
  prerelease: false
89
90
  version_requirements: !ruby/object:Gem::Requirement
@@ -91,29 +92,14 @@ dependencies:
91
92
  requirements:
92
93
  - - ~>
93
94
  - !ruby/object:Gem::Version
94
- version: 1.8.7
95
- - !ruby/object:Gem::Dependency
96
- name: ruby-ip
97
- requirement: !ruby/object:Gem::Requirement
98
- none: false
99
- requirements:
100
- - - ~>
101
- - !ruby/object:Gem::Version
102
- version: 0.9.1
103
- type: :development
104
- prerelease: false
105
- version_requirements: !ruby/object:Gem::Requirement
106
- none: false
107
- requirements:
108
- - - ~>
109
- - !ruby/object:Gem::Version
110
- version: 0.9.1
95
+ version: '1.8'
111
96
  description: ! " An object-oriented Ruby implementation of the Sender Policy Framework
112
97
  (SPF)\n e-mail sender authentication system, fully compliant with RFC 4408.\n"
113
98
  email:
114
99
  - code@agari.com
115
100
  - aflury@agari.com
116
101
  - jmehnle@agari.com
102
+ - jrideout@agari.com
117
103
  executables: []
118
104
  extensions: []
119
105
  extra_rdoc_files:
@@ -121,7 +107,6 @@ extra_rdoc_files:
121
107
  files:
122
108
  - .document
123
109
  - .rspec
124
- - .ruby-version
125
110
  - Gemfile
126
111
  - Gemfile.lock
127
112
  - README.rdoc
@@ -151,6 +136,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
151
136
  - - ! '>='
152
137
  - !ruby/object:Gem::Version
153
138
  version: '0'
139
+ segments:
140
+ - 0
141
+ hash: -368461280255934415
154
142
  required_rubygems_version: !ruby/object:Gem::Requirement
155
143
  none: false
156
144
  requirements:
@@ -164,4 +152,3 @@ signing_key:
164
152
  specification_version: 3
165
153
  summary: Implementation of the Sender Policy Framework
166
154
  test_files: []
167
- has_rdoc:
data/.ruby-version DELETED
@@ -1 +0,0 @@
1
- 1.9