Skip to content

Commit

Permalink
Merge pull request #10 from kickstarter/mail-2.8.1
Browse files Browse the repository at this point in the history
upgrade to `mail` 2.8.1
  • Loading branch information
a-lavis authored Dec 14, 2024
2 parents 1a0d40b + f83de73 commit a44c9b9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 0 additions & 1 deletion lib/mail/x_smtpapi.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,4 @@ def smtpapi
MailXSMTPAPI::Field::FIELD_NAME.tap do |name|
Mail::Field::FIELDS_MAP[name] = MailXSMTPAPI::Field
Mail::Field::FIELD_NAME_MAP[name] = MailXSMTPAPI::Field::CAPITALIZED_FIELD
Mail::Header::LIMITED_FIELDS << name
end
2 changes: 2 additions & 0 deletions lib/mail_x_smtpapi/field.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ class Field < ::Mail::UnstructuredField
FIELD_NAME = 'x-smtpapi'
CAPITALIZED_FIELD = 'X-SMTPAPI'

def self.singular? = true

attr_reader :data

# Accessors
Expand Down
2 changes: 1 addition & 1 deletion lib/mail_x_smtpapi/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module MailXSMTPAPI
VERSION = '1.2.0'
VERSION = '1.3.0'
end
2 changes: 1 addition & 1 deletion mail-x_smtpapi.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ Gem::Specification.new do |spec|
spec.add_development_dependency "rake", "~> 13.1"
spec.add_development_dependency "minitest", "~> 5.21"

spec.add_dependency "mail", "~> 2.7.1"
spec.add_dependency "mail", "~> 2.8.1"
spec.add_dependency "net-smtp"
end

0 comments on commit a44c9b9

Please sign in to comment.