Permalink
Commits on Jun 12, 2010
  1. Adding RBC files to the ignore

    committed Jun 12, 2010
Commits on Jun 8, 2010
  1. Bumping version build

    committed Jun 8, 2010
  2. Adding inline attachment support

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

    committed Jun 7, 2010
  2. Updating gitignore

    committed Jun 7, 2010
  3. Fixing typo in break_down_to.rb

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

    Artem Titoulenko committed with Jun 2, 2010
  5. fixing a typo when generating docs

    abloom committed with May 18, 2010
Commits on May 18, 2010
Commits on May 7, 2010
  1. Handle multiple quoted words in Encodings.unquote_and_convert_to

    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.
    emk committed with Apr 15, 2010
  2. Allow bundler to automatically build a gem directly from git

    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.
    emk committed with Apr 15, 2010
Commits on Apr 17, 2010
Commits on Apr 11, 2010
  1. Updating readme

    committed Apr 11, 2010
  2. Updating change log

    committed Apr 11, 2010
  3. Version bump to 2.2.0

    committed Apr 11, 2010
  4. Removing useless code

    committed Apr 11, 2010
  5. Cleanup spec for Ruby 1.9.1

    committed Apr 11, 2010
  6. Massive cleanup in encoding to not split multibyte chars and make it …

    …all work on Ruby 1.8.7
    committed Apr 11, 2010
Commits on Apr 10, 2010
  1. Merge branch 'master' into encode

    committed Apr 10, 2010
  2. Fixing dependency to approx 2.3.6

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

    …ded, and fixing adjacent decoding of QP
    committed Apr 10, 2010