Skip to content
Commits on Jun 8, 2010
  1. Adding inline attachment support

    committed
Commits on Jun 7, 2010
  1. Updating CHANGELOG.rdoc

    committed
  2. Updating gitignore

    committed
  3. Fixing typo in break_down_to.rb

    committed
  4. changed activesupport dependency to 2.3.6 to fix #53, #64, and def #67.

    Artem Titoulenko committed with
  5. @abloom

    fixing a typo when generating docs

    abloom committed with
Commits on May 18, 2010
Commits on May 7, 2010
  1. @emk

    Handle multiple quoted words in Encodings.unquote_and_convert_to

    emk committed with
    The function Encodings.unquote_and_convert_to isn't used anywhere in the
    current source tree, but it's necessary to correctly handle headers with
    non-ASCII, non-UTF-8 character sets under Ruby 1.8.
    
    For example, we can force the unquoting of the 'To' header as UTF-8 using
    the following code:
    
      to_field = mail.header['to']
      Mail::Encodings.unquote_and_convert_to(to_field.value, 'utf-8')
    
    This patch adds support for multiple quoted chunks in the same header.
    For example:
    
      To: =?Shift_JIS?Q?=93=FA=96{=8C=EA=?= <a@example.com>, \
              =?Shift_JIS?Q?=93=FA=96{=8C=EA=?= <b@example.com>
    
    All that was actually needed was a regular expression tweak to prevent
    the two quoted chunks from being matched as one giant, malformed chunk.
    
    Note that we still don't make any attempt to correctly deal with headers
    that mix different encodings in the same header.  I'm sure these exist
    somewhere in the wild, but I haven't seen them yet.
    
    Ideally, all this code should go away and be replaced with a more
    robust implementation of field.charset and field.decoded.
  2. @jeremy
  3. @maxim
  4. @jtrupiano
  5. @emk

    Allow bundler to automatically build a gem directly from git

    emk committed with
    Using bundler (now included with Rails 3.0), it's possible to fetch gems
    directly from specific branches in a git repository.  This is very handy
    for contributors and people who need to make small fixes.
    
    With this patch applied, it's possible to include the following line
    in a Gemfile:
    
      gem 'mail', :git => 'git://github.com/mikel/mail.git'
    
    Then you can install the latest master branch using bundler:
    
      bundle install
    
    This patch changes two things about the development process.  First,
    gems are now built using:
    
      rake build
    
    ...or:
    
      gem build mail.gemspec
    
    Second, the generated gemfile now appears in the top-level directory,
    and not in a pkg/ subdirectory.
  6. @Bira
Commits on Apr 17, 2010
Commits on Apr 11, 2010
  1. Updating readme

    committed
  2. Updating change log

    committed
  3. Version bump to 2.2.0

    committed
  4. Removing useless code

    committed
  5. Cleanup spec for Ruby 1.9.1

    committed
Commits on Apr 10, 2010
  1. Merge branch 'master' into encode

    committed
  2. Fixing dependency to approx 2.3.6

    committed
  3. Fixing up more encoding issues, being sure to call mb_chars where nee…

    committed
    …ded, and fixing adjacent decoding of QP
  4. Version bump to 2.1.5.7

    committed
Something went wrong with that request. Please try again.