dkimverify 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/dkimverify.gemspec +1 -1
  3. data/dkimverify.rb +4 -2
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 72a972bced6eedcae611a115ee46c5aceb7f3230
4
- data.tar.gz: 88672a73ab1f4a176d845246afa082d31e15b607
3
+ metadata.gz: d086756170bfe2816422ceb45c6020e3864aa2db
4
+ data.tar.gz: ac4f7affbea277b521c6e3aa755e9f9d33710b03
5
5
  SHA512:
6
- metadata.gz: 015d9d955eb0a8ac8c03146e7ee1eace2858d665a3174597d26af7ada3958f97ab7739114c37cea74cd311ec75acc2255d5d5b5e62731a782ec465f034b00d53
7
- data.tar.gz: 8898575eb90534f1404f1148133efe6297440cdd7c152d2060c9491c369ea0d9dc11bbfc8671b6879a9d996d8a37a64bcfa38a0b9b005661733fbab10803b3dc
6
+ metadata.gz: e494e4377484bd46f8fc87f0d88c6e12722aaeba08796344735a702f808c87ee33f9be4aaf19c1d6efd8da7b48827cfef62faa6f108275fc8801e8b3cf73e7b8
7
+ data.tar.gz: 5e1894842f9ec7965f4c9ac919a39f7df848e85ce6a1bc828efa04cac5a887d052bced1450b45424ff8614186ac059befd75a7b0d327234fc67755cc4f6133f5
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |gem|
4
4
  gem.name = "dkimverify"
5
- gem.version = '0.0.7'
5
+ gem.version = '0.0.8'
6
6
  gem.authors = ["Jeremy B. Merrill"]
7
7
  gem.license = "MIT"
8
8
  gem.email = ["jeremybmerrill@gmail.com"]
@@ -7,8 +7,10 @@ require 'resolv'
7
7
  $debuglog = nil #STDERR # nil # alternatively, set this to `STDERR` to log to stdout.
8
8
 
9
9
  module DkimVerify
10
+ class DkimVerifyError < StandardError; end
11
+
10
12
  module Mail
11
- class MessageFormatError < StandardError; end
13
+ class MessageFormatError < DkimVerifyError; end
12
14
 
13
15
  class HeaderHash < Hash
14
16
  def get(header_name)
@@ -87,7 +89,7 @@ module DkimVerify
87
89
  HASHID_SHA1 = OpenSSL::ASN1::ObjectId.new('sha1')
88
90
  HASHID_SHA256 = OpenSSL::ASN1::ObjectId.new('sha256')
89
91
 
90
- class DkimError < StandardError; end
92
+ class DkimError < DkimVerifyError; end
91
93
  class DkimTempFail < DkimError; end
92
94
  class DkimPermFail < DkimError; end
93
95
  class InvalidDkimSignature < DkimPermFail; end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dkimverify
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy B. Merrill
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-03 00:00:00.000000000 Z
11
+ date: 2017-05-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: parslet