Permalink
Commits on Jun 17, 2010
  1. Added Mail::POP3.delete_all, including specs

    Martijn Storck committed with mikel Jun 17, 2010
Commits on Jun 16, 2010
  1. Changed the spec to force same encodings. I'm not sure if this is the…

    calvincorreli committed Jun 16, 2010
    … intent, though. Requested clarification from Mikel.
Commits on Jun 15, 2010
  1. Adding case statement for all the different rubies... bit redundant b…

    mikel committed Jun 15, 2010
    …ut very explicit, I like explicit
Commits on Jun 12, 2010
  1. Adding RBC files to the ignore

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

    mikel committed Jun 8, 2010
  2. - Re-merged in my changes to UnstructuredField#fold

    calvincorreli committed Jun 8, 2010
    - Changed specs to reflect the change from \r\n\t to \r\n\s
  3. Merge branch 'master' of git://github.com/mikel/mail

    calvincorreli committed Jun 8, 2010
    Conflicts:
    	lib/mail/fields/unstructured_field.rb
    	spec/mail/encodings_spec.rb
    	spec/mail/fields/common/common_field_spec.rb
    	spec/mail/fields/unstructured_field_spec.rb
  4. Adding inline attachment support

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

    mikel committed Jun 7, 2010
  2. Updating gitignore

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

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

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

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

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

    emk committed with mikel Apr 15, 2010
    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.