Skip to content
Permalink
Branch: master
Commits on Oct 23, 2019
  1. Merge pull request #217 from olleolleolle/patch-1

    etagwerker committed Oct 23, 2019
    README: use SVG badges
Commits on Oct 20, 2019
  1. README: use SVG badges

    olleolleolle committed Oct 20, 2019
Commits on Jul 22, 2019
  1. Merge pull request #215 from hsbt/drop-rubyforge

    etagwerker committed Jul 22, 2019
    Drop rubyforge_project from gemspec.
Commits on Jul 21, 2019
  1. Drop rubyforge_project from gemspec.

    hsbt committed Jul 21, 2019
Commits on Dec 10, 2018
  1. Merge pull request #211 from crawler/master

    lubc committed Dec 10, 2018
    decode part in EmailSpec::MailExt#default_part_body
Commits on Nov 25, 2018
  1. decode part in EmailSpec::MailExt#default_part_body

    crawler committed Nov 25, 2018
Commits on Apr 3, 2018
  1. Bump gem version and add detail to Changelog.md

    etagwerker committed Apr 3, 2018
  2. Bump version to 2.1.2

    etagwerker committed Apr 3, 2018
  3. Relax version of `mail` gem

    etagwerker committed Apr 3, 2018
  4. Added 2.1.1 details

    etagwerker committed Apr 3, 2018
Commits on Feb 27, 2018
  1. Merge pull request #207 from sikachu/fix-compatibility-with-safebuffer

    bmabey committed Feb 27, 2018
    Fix compatibility issue with Mail 2.7.0
Commits on Dec 30, 2017
  1. Fix compatibility issue with Mail 2.7.0

    sikachu committed Dec 30, 2017
    In Mail 2.7.0 in an actual Rails application, HTML part of the body now
    returns an `ActiveSupport::SafeBuffer` object instead of a String
    object. This causes a problem as there is a known issue of how
    `SafeBuffer#gsub` with a block form is broken in Rails[1], and that
    `HTMLEntities#decode` actually performs a `gsub` with a block
    internally[2].
    
    Upon further investigation, however, it seems like the root cause of
    this issue might not be on Mail gem, but actually on `ERB::Util.h`
    returning `ActiveSupport::SafeBuffer` object instead of `String`[3].
    
    This commit changes `default_part_body` method to call `to_s.to_str` on
    the message body so that we'll be able to pass a String object, which
    always works with `gsub`, to `HTMLEntities#decode`.
    
    Please note that we need to call `to_s.to_str` on the object because
    `ActiveSupport::SafeBuffer` actually overrides `to_s` to return itself
    and not the underlying `String` object.
    
    I believe this PR should fix issue #202, #204, and #205, and it's better
    to fix the issue here than in `HTMLEntities`.
    
    [1]: rails/rails#1555
    [2]: https://github.com/threedaymonk/htmlentities/blob/v4.3.3/lib/htmlentities/decoder.rb#L10-L20
    [3]: threedaymonk/htmlentities#33 (comment)
Commits on Jul 20, 2017
  1. Merge pull request #201 from stereobooster/mail-rc-gem

    etagwerker committed Jul 20, 2017
    Mail 2.7.0.RC1
  2. Mail 2.7.0.RC1

    stereobooster committed Jul 20, 2017
Commits on Jul 17, 2017
  1. Merge pull request #191 from sergiopantoja/add-rails5-rspec-info-to-r…

    etagwerker committed Jul 17, 2017
    …eadme
    
    Add info about RSpec 3.1+ and Rails 5 to README
  2. Merge pull request #190 from adamdawkins/master

    etagwerker committed Jul 17, 2017
    Fix Cucumber example in README
  3. Merge pull request #192 from fishpercolator/master

    etagwerker committed Jul 17, 2017
    Add Spinach support
  4. Add Spinach support

    pedantic-git committed Jan 12, 2017
Commits on May 16, 2017
  1. Drop support for Ruby 2.1

    etagwerker committed May 16, 2017
  2. Merge branch 'thoughtbot-ct-relax-mail-version'

    etagwerker committed May 16, 2017
Commits on May 15, 2017
  1. Relax the mail version requirement

    thorncp committed May 15, 2017
    Removes the patch number from the version requirement of the mail gem,
    so versions newer than 2.6.x can be used.
Commits on Mar 27, 2017
  1. Revert "Run cucumber and rspec."

    etagwerker committed Mar 27, 2017
    This reverts commit 7958929.
  2. Merge branch 'tiagotex-improve-regex'

    etagwerker committed Mar 27, 2017
  3. Merge branch 'improve-regex' of https://github.com/tiagotex/email-spec

    etagwerker committed Mar 27, 2017
    …into tiagotex-improve-regex
  4. Merge pull request #197 from misoca/add-ruby-2.4

    etagwerker committed Mar 27, 2017
    Add ruby 2.4 for build
  5. Add bin setup and .ruby-version.sample

    etagwerker committed Mar 27, 2017
  6. Run cucumber and rspec.

    etagwerker committed Mar 27, 2017
Commits on Mar 21, 2017
  1. update rails 4 example to 4.2.8

    eitoball committed Mar 21, 2017
Commits on Mar 18, 2017
  1. add ruby 2.4 for build

    eitoball committed Mar 18, 2017
    * update 2.1, 2.2, and 2.3
    * drop 2.0
    ```
    Gem::InstallError: nokogiri requires Ruby version >= 2.1.0.
    An error occurred while installing nokogiri (1.7.0.1), and Bundler
    ```
Commits on Mar 1, 2017
  1. Merge pull request #193 from kingdonb/patch-1

    etagwerker committed Mar 1, 2017
    Dead Link
  2. Merge pull request #195 from koic/suppress_warnings

    etagwerker committed Mar 1, 2017
    Suppress warnings for URI.extract and 2 things
Commits on Feb 28, 2017
  1. Suppress `warning: assigned but unused variable - html_part`

    koic committed Feb 28, 2017
Older
You can’t perform that action at this time.