jhawthorn / dkim

:envelope: Pure Ruby DKIM signature library with Rails integration
93 stars 18 forks source link

undefined method `strip_field' after update to mail 2.7.0 #21

Closed seb-sykio closed 6 years ago

seb-sykio commented 6 years ago

since I updated to mail 2.7.0, I have this issue :

Failure/Error: mm = Dkim.sign(mm, :domain => xxx, :selector => 'mail', :private_key => OpenSSL::PKey::RSA.new(xxx))

  NoMethodError:
    undefined method `strip_field' for #<Mail::DkimField:0x0000564a55a59bf0 @charset="utf-8">
  # /xxx/.rvm/gems/ruby-2.4.2@xxx/gems/dkim-1.0.0/lib/mail/dkim_field.rb:12:in `initialize'

link to https://github.com/mikel/mail/issues/1169