Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: mikel/mail
...
head fork: mikel/mail
This comparison is big! We're only showing the most recent 250 commits
Commits on Feb 26, 2013
@jeremy jeremy Merge pull request #520 from RKushnir/patch-1
Fix code example for Message#resent_sender=
977ad6b
Commits on Mar 16, 2013
@taketin taketin added feature to find the mail in uid 034f132
Commits on Apr 02, 2013
@jeremy jeremy Docs: mail.from/to/bcc/etc return emails only. Closes #529. ff34d38
Commits on Apr 15, 2013
@jpmckinney jpmckinney Correct example calls to preamble and epilogue in README 3508a53
@jeremy jeremy Merge pull request #537 from jpmckinney/master
preamble and epilogue correction in README
ac02a2e
Commits on May 13, 2013
@bpot bpot Replace Treetop parser with a Ragel based parser 2da7c79
@bpot bpot AddressListsParser: Don't add an extra address to the address list wh…
…en it ends with a space.
c6b656c
@bpot bpot ReceivedParser: don't error out on quoted strings in a received header 1f49764
@bpot bpot common.rl: use clearer .* in dot_atom_text, instead of (.+)? ab2af8c
@bpot bpot Correctly parse addresses that begin with a comment. 1505198
Commits on May 14, 2013
@mikel Merge branch 'smtp-envelope' of git://github.com/jeremy/mail into jer…
…emy-smtp-envelope
1d14122
@mikel Update changelog for commit ac02a2e e7f1ba6
@mikel Merge branch 'encoding_fencepost' of git://github.com/drasch/mail int…
…o drasch-encoding_fencepost
1971cec
@ConradIrwin ConradIrwin Fix warnings 0f7e762
@mikel Updating CHANGELOG 34a80d3
@mikel Merge branch 'improve_content_type_sanitize' of git://github.com/bpot…
…/mail into bpot-improve_content_type_sanitize
29a7c76
@mikel Updating CHANGELOG 83fa6b6
@mikel Merge branch 'master' of git://github.com/svanderbleek/mail into svan…
…derbleek-master
8f5b2e0
@mikel Use older Ruby Hash syntax for compatibility 92573bb
@mikel Changelog updates 0227973
@mikel Merge branch 'feature/find-by-uid' of git://github.com/taketin/mail i…
…nto taketin-feature/find-by-uid
6d7532e
@mikel Updating CHANGELOG 5aac893
@mikel Merge branch 'pure_ruby_ragel_parser' of git://github.com/bpot/mail i…
…nto bpot-pure_ruby_ragel_parser
aaaac21
@mikel Updating CHANGELOG 875f0b0
@mikel Updating VERSION to reference edge for master 0a11c71
@mikel Merge branch 'lazy-fields' of git://github.com/ConradIrwin/mail into …
…ConradIrwin-lazy-fields
6f95d5d
@mikel Updating CHANGELOG dd89a6f
Commits on May 15, 2013
@vipulnsward vipulnsward Rename variable to fix overshadow 3470363
@ConradIrwin ConradIrwin Merge pull request #545 from vipulnsward/fix_overshadow
Rename variable to fix overshadow
9f01ba9
Commits on May 29, 2013
@yinquanteo yinquanteo fix charset getting reset to nil unintentionally 4cb3db2
Commits on Jun 10, 2013
@ConradIrwin ConradIrwin Collapse adjacent =??B? words losslessly
Before this change the code assumed you could concatenate two Base64
strings, which is not true.

This fix relies on non-standard behaviour of our parser: RFC 2047 says
that encoded-words MUST be separated by at least a space, but we happily
parse two unseparated encoded-words.

Fixes: #560
Fixes: #561
Broken-since: 2.5.4 (cb81621)
b832faf
@ConradIrwin ConradIrwin Add a spec for non-space-separated encoded-words
RFC-2047 says that encoded-words MUST be space separated, but Gmail and
iOS mail also parse directly adjacent words; so we should too.
beb8fc5
@ConradIrwin ConradIrwin Merge pull request #552 from yinquanteo/master
fix header's charset getting reset to nil unintentionally
9e323f4
Commits on Jun 12, 2013
@gauteh gauteh Accept utf_8 as utf-8 f3b7bbf
Commits on Jun 27, 2013
@ConradIrwin ConradIrwin An inspect function for Mail::Field
Before this, Mail::Fields just defaulted to .to_s, which was
both confusing to read and potentially side-effecty.
f29d0b7
@ConradIrwin ConradIrwin Fix 8bit decoding on jruby-1.7.4 [Fixes #570] ba88268
@ConradIrwin ConradIrwin Merge branch 'accept_utf_8-as-utf-8' of github.com:gauteh/mail 01b0aac
@ConradIrwin ConradIrwin Add ruby-1.8 support to Pull request #562 1d09b6b
@ConradIrwin ConradIrwin Move tasks out of lib/ to avoid namespace pollution Issue #566 91205d6
@ConradIrwin ConradIrwin Move VERSION out of lib/, [Fixes #566] 39d546b
@ConradIrwin ConradIrwin Always use an SSL context. [Fixes #548]
This reverts commit 9890b19, as latest
patch releases of 1.8.7 do accept an OpenSSL context object.

This has been broken since the refactoring d6e25e5,
which increased the scope of the original breakage.
c7318a6
Commits on Jun 28, 2013
@woto woto Update README example with smtp and mailcatcher
Hi, i would suggest to add this patch, it's very helps me during testing. Sorry for bad English.
9a95f95
Commits on Jul 02, 2013
@srawlins srawlins Fixing #523 with a rdoc --exclude param 47c2183
Commits on Jul 16, 2013
Rob Westgeest Added cc matcher 52f06a2
Commits on Jul 19, 2013
@ConradIrwin ConradIrwin Merge pull request #583 from rwestgeest/master
I have added a cc matcher in has_sent_mail
304a8b4
@ConradIrwin ConradIrwin Add more charsets from our internal list d0b123d
@ConradIrwin ConradIrwin Merge pull request #576 from srawlins/add-rdoc-exclude-to-gemspec
Fixing #523 with a rdoc --exclude param
bdb11d2
Commits on Jul 22, 2013
@daveslutzkin daveslutzkin Stop quote_phrase from modifying input string encoding
In the case where it acted to quote the input string, quote_phrase
shouldn't modify the encoding of the input string to be ASCII-8BIT, but
should leave the encoding as it found it.
9c7376a
@daveslutzkin daveslutzkin Encoding test is invalid in Ruby 1.8. 1a27e0f
Commits on Jul 25, 2013
@ahawkins ahawkins Add simple header example to readme ac61c96
Commits on Jul 26, 2013
@arunagw arunagw Merge pull request #588 from ahawkins/patch-1
Add simple header example to readme
c7ef593
Commits on Aug 12, 2013
@gregolsen gregolsen Body#split! fixed to not raise error in case missing boundary, spec a…
…dded
7d60733
Commits on Aug 13, 2013
@ConradIrwin ConradIrwin Merge pull request #597 from railsware/missing_boundary
Body#split! fixed to not raise error in case missing boundary
50969d0
Commits on Aug 14, 2013
@ashcmd ashcmd Revert invalid spec change from 034f132 88dfb3f
@ashcmd ashcmd Fix Message comparison method to ensure there's no side-effects.
Comparing a Message w/o message_id set to another object would set it's
Message-ID to a temporary value.  Ditto for the object compared to.
1e05177
Commits on Aug 15, 2013
@jeremy jeremy Merge pull request #603 from commandprompt/fix-message-comparison-take2
Fix message comparison: take 2
07c9476
@jeremy jeremy Clean up Message#== to remove superfluous assignments and return valu…
…e handling. Move temp message_id assignment into the ensure block.
f83da1d
Commits on Aug 22, 2013
Mario Camou Added RubyMine/IntelliJ IDEA configuration directories and rbenv conf…
…ig files to .gitignore
fdd4287
Mario Camou Added bcc RSpec matcher b504d04
Commits on Aug 27, 2013
@substars substars don't change encoding of string input to Mail.new c05ece6
Commits on Sep 27, 2013
@parndt parndt Added missing Ruby syntax highlights to the README cc8745b
@jeremy jeremy Merge pull request #622 from parndt/patch-1
Added missing Ruby syntax highlights to the README
c0b8352
Commits on Oct 24, 2013
@youseke youseke Stable sort method for parts list b059e7b
@youseke youseke Improvement for fold method 13e43cb
@stopdropandrew stopdropandrew Rescue StandardError instead of Exception. 9daed47
@stopdropandrew stopdropandrew Change docs to only rescue StandardError 727628a
Commits on Nov 08, 2013
thk Fix for multipart emails without a set content_type. 6008451
Commits on Nov 10, 2013
@ConradIrwin ConradIrwin Merge branch 'dont_rescue_Exception' of github.com:kongregate/mail 366dd20
@ConradIrwin ConradIrwin Merge branch 'force_encoding_on_copy' of github.com:substars/mail c3ba442
@ConradIrwin ConradIrwin Merge branch 'master' of github.com:ThomasKoppensteiner/mail 511994d
@ConradIrwin ConradIrwin Merge branch 'feature/stable_sort_for_parts_list' of github.com:youse…
…ke/mail
69b3f81
@ConradIrwin ConradIrwin Remove redundant condition 0e50f61
@ConradIrwin ConradIrwin Merge commit 'feature/improve_fold_method' b6a1d60
@ConradIrwin ConradIrwin Merge branch 'master' of github.com:daveslutzkin/mail 148819f
@ConradIrwin ConradIrwin Merge branch 'patch-1' of github.com:woto/mail bf6cf27
@ConradIrwin ConradIrwin Shrink SMTP example fe60b48
@ConradIrwin ConradIrwin Merge branch 'master' of github.com:mcamou/mail 8969725
Commits on Nov 19, 2013
@jzinn jzinn fix typo in comment c36c5f6
Commits on Dec 13, 2013
@infertux infertux Fix bad indentation [ci skip] df3dcfb
Commits on Feb 03, 2014
@rousisk rousisk Fix incorrect usage of envelope_from in README a3d9b59
@jeremy jeremy Merge pull request #660 from rousisk/master
Fix incorrect usage of envelope_from in README
854529d
Commits on Feb 05, 2014
@arunagw arunagw Merge pull request #646 from infertux/patch-1
Fix bad indentation in README
5d03d08
@arunagw arunagw Merge pull request #636 from jzinn/patch-1
fix typo in comment
133ac26
Commits on Feb 06, 2014
@Peeja Peeja Typo: related/mixed -> multipart/related 5df0b63
@Peeja Peeja Copy/paste typo: Date -> Mime-Version b202852
@jeremy jeremy Merge pull request #665 from Peeja/patch-1
Typo: related/mixed -> multipart/related
99ac303
@arunagw arunagw Merge pull request #666 from Peeja/patch-2
Copy/paste typo: Date -> Mime-Version
74f12de
Commits on Feb 18, 2014
@Amit-Thawait Amit-Thawait Type fix 1017b95
@ConradIrwin ConradIrwin Merge pull request #672 from Amit-Thawait/master
Typo fix
16172c3
Commits on Feb 27, 2014
@srawlins srawlins Allocate less things 67265a9
Commits on Apr 06, 2014
@srawlins srawlins Switch all #freeze changes to constants, namespacing them in Patterns 9d125d1
@srawlins srawlins Renaming Patterns to Constants 6f2bbd0
Commits on Apr 09, 2014
@srawlins srawlins Undoing the each_slice --> shift change; maybe not worth it 467b78c
Commits on Apr 10, 2014
@srawlins srawlins Addressing @jeremy's comments; this is beginning to look very nice 3d98d90
Commits on May 06, 2014
@tilsammans tilsammans Allow interceptors and observers to be unregistered. 0ff7207
Commits on May 08, 2014
@ConradIrwin ConradIrwin Merge branch 'feature/unregister_interceptors' of github.com:spacebab…
…ies/mail
963f86c
Commits on May 26, 2014
@bf4 bf4 Remove conditional dependencies from gemspec
Conditionals in a gemspec are only executed
when building the gem.

That is, when you run gem install, you get the built gem.
If the gem was built under CRuby 1.9.3, it would not specify
jruby-openssl or tlsmail as dependencies, no matter what
platform or version of Ruby you are running gem install on.

It only really makes sense to have them in the Gemfile for use in
development.
6f2490e
@TylerRick TylerRick If you make a copy of a message, then change the headers of the origi…
…nal, it should not affect the

headers of the copy.
6a695a6
@TylerRick TylerRick Change Mail::Message#initialize_copy to rely on Mail::Header#initiali…
…ze_copy
c66115f
Commits on May 27, 2014
@bf4 bf4 Treetop is no longer a dependency 6a9ac1f
@bf4 bf4 Correctly specify Gemfile platforms be566db
@bf4 bf4 Only set BUNDLE_GEMFILE from Rakefile when not set
and then only when not running in Appraisal or
on TravisCI
53ebd75
@bf4 bf4 Ensure Travis bundles gems and runs bundle exec 7c7d409
@bf4 bf4 Continue test when ruby-debug is missing cf33611
@bf4 bf4 Prevent ruby-debug from being installed on TravisCI
The 'local_development' group is a way to specify gems
you may use while developing the gem, but aren't required
to run the tests.
8484fed
@bf4 bf4 Remove duplicate mime-types dep from Gemfile
The gemspec already specifies a version of mime-types.
Specifying it in the Gemfile is redundant and repetitive. :)
b5f0dd6
@bf4 bf4 Widen mime-types dep to include 2.x 896e70b
@bf4 bf4 Update TravisCI configs to current format d6e70f1
@bf4 bf4 Run tests against various mime-types using Appraisal
Run tests against all mime-types version with

    appraisal rake

or

    rake appraisal
f734d21
Commits on May 28, 2014
@bf4 bf4 Configure TravisCI to run on all gemfiles
Exclude invalid ruby/mime-types combos from TravisCI
839ce28
@bf4 bf4 Add instructions on running appraisal or wwtd 73a980b
@bf4 bf4 Correct gemfile path on TravisCI
It looks like when @travisci doesn't find the
expected gemfile, it just skips bundling altogether,
but continues with no error message.

This leads to confusing failures.
38c896b
@kjg kjg Only strip the first ocurrance of the field name 7f2289f
Commits on Jun 02, 2014
@mikel Merge pull request #713 from bf4/correct_deps
Tests against all the mime-types; correct dependencies once and for all
2ef4180
@mikel Updating ruby versions on travis to test before gem release e5dd0a6
@mikel Updating readme on how to run a specific mime type test 4fef3d5
@mikel Merge pull request #712 from TylerRick/dup
If you make a copy of a message, then change the headers of the original, it should not affect the headers of the copy.
d0895ca
@mikel Updating Changelog 8bb4684
@mikel Added another contribution to CHANGELOG 98e4252
@mikel Merge branch 'content_looks_like_field_name_master' of github.com:kjg…
…/mail into kjg-content_looks_like_field_name_master
24ee56a
@mikel Update CHANGELOG 594fd68
@mikel Merge branch 'kjg-content_looks_like_field_name_master' 38d4894
@mikel Version bump to 2.6.0 RELEASE IT 739d5c7
@mikel Update changelog cba673f
@bf4 bf4 Correct travis.yml exclude matrix 528edb6
@bf4 bf4 Correct formatting of BUNDLE_GEMFILE example ce32683
Commits on Jun 03, 2014
@mikel Updating changelog 4d98df2
@mikel Version bump to 2.6.1.edge fd6ad80
@bf4 bf4 Merge pull request #718 from bf4/doc_fixes
Correct TravisCI exclude matrix; Fix README formatting
1217db9
@bf4 bf4 Request updates to CHANGELOG in pull requests f09cc94
@bf4 bf4 Add advice for iterating on pull requests
Many contributors do not know that they can push or (rebase and) force push changes to their PR branch.

This is really useful for keeping PR's clean after there's been a bit of discussion.
ed9edf5
Commits on Jun 05, 2014
@bf4 bf4 Silence warnings on loading ragel-generated parsers
Closes #721
4fe9317
@bf4 bf4 Turn on Ruby warnings for TravisCI 204f9a1
Commits on Jun 06, 2014
@bf4 bf4 Merge pull request #722 from mikel/721-fix_warnings
Silence ruby warnings from ragel parsers.  Run CI with RUBYOPT=-w. Fixes #721
b6dc6b5
Commits on Jun 08, 2014
@mikel Add detail to changelog for release adc98a2
@mikel Version bump to 2.6.1 8bbd2bc
@mikel Change to 2.6.2.edge 76725fc
Commits on Jun 10, 2014
@mootpointer mootpointer Upgrade to RSpec 3.0.0
This upgrade was mostly done with transpec, so is automated. All the
specs still pass, but there may be ugly style things.
7bcecd7
@mikel Merge branch 'mootpointer-rspec_3' a2507e1
@mikel Update changelog cbe59dc
Commits on Jun 29, 2014
@lengarvey lengarvey Update rspec matcher failure interface for rspec 3
Updates the rspec matcher interface to use failure_message_when_negated
instead of negative_failure_message.

Fixes several deprecation warnings while running the test suite.
af9c3e5
@lengarvey lengarvey Fix Rspec stub deprecation warning message
In RSpec 3 it is deprecated to use Object#stub without enabling the
should syntax.
594ad19
@lengarvey lengarvey Fix Encoding namespace issue for Ruby 1.9.2
This simply fixes the test failures on Travis for Ruby 1.9.2 by forcing
the const lookup for `Encoding::ASCII_8BIT` to occur at the top level
namespace.
aed4384
Commits on Jul 14, 2014
@bf4 bf4 Merge pull request #733 from lengarvey/fix_ruby_192_test_failures
Fix Encoding namespace test fails on Ruby 1.9.2
5e244f2
@bf4 bf4 Merge pull request #732 from lengarvey/fix_rspec_3_deprecations
Fix some rspec 3 deprecations
08cd8f5
Commits on Jul 22, 2014
@grosser grosser fix spec failing when run in random order + when running 1 test 8b2d4d4
@grosser grosser silence warning 8ad1b8d
@grosser grosser remove default values from gemspec 8106503
@grosser grosser use pending and fix unnecessary skips b38460b
@bf4 bf4 Merge pull request #747 from zendesk/grosser/silence
silence warning
1fbb948
@grosser grosser remove duplicate test 605893a
Commits on Jul 24, 2014
@jeremy jeremy Merge pull request #681 from srawlins/allocate-less-things
Allocate less things

Conflicts:
	lib/mail/fields/common/common_field.rb
	lib/mail/utilities.rb
143c60c
Commits on Jul 25, 2014
@jeremy jeremy Merge pull request #748 from zendesk/grosser/gemspec
A grab bag of gemspec polish: removed superfluous defaults, switch to https url, simplify relative version.rb require
5c699de
@grosser grosser decode blank strings 2a19c8a
@jeremy jeremy Merge pull request #751 from zendesk/grosser/blank-q-value
Fix bug decoding empty strings
9053e0f
Commits on Jul 27, 2014
@jeremy jeremy Merge pull request #749 from zendesk/grosser/pending
use pending and fix unnecessary skips
1caf1b8
Commits on Jul 29, 2014
@raindrift raindrift Support the null sender in the envelope from element class
Added null sender to from address machine
Spec to verify that sending with a sender of <> is allowed
Added a Mail::Constants::NULL_SENDER for convenience
Fixed outdated stub that was sometimes breaking ci
d4e0718
Commits on Jul 31, 2014
@grosser grosser remove VERSIOn file a85b316
Commits on Aug 01, 2014
@jeremy jeremy Merge pull request #765 from zendesk/grosser/version
Move version designation into lib/mail/version.rb itself rather than using an external VERSION file. Simpler, less code, and nothing depends on the externals VERSION file.
d7aa60a
@grosser grosser refactor address list f3ef05e
@grosser grosser support windows-1258 ad1133a
@grosser grosser prevent any future encoding errors 07da3be
Commits on Aug 05, 2014
@bf4 bf4 Merge pull request #746 from zendesk/grosser/random
fix spec failing when run in random order + when running 1 test
cf8b1d9
@bf4 bf4 Merge pull request #768 from zendesk/grosser/encoding
prevent any future encoding errors
45d625c
@bf4 bf4 Merge pull request #764 from zendesk/grosser/ref-add
refactor address list
ce392c0
@grosser grosser use encoding constants 30cef47
@grosser grosser parse non-ascci filenames ada729e
@bf4 bf4 Loosen Travis-CI ruby versions; fix 1.9.2 not installable bc47523
@bf4 bf4 Merge pull request #767 from zendesk/grosser/Windows1258
support windows-1258
f04ab63
@jeremy jeremy Merge pull request #769 from zendesk/grosser/encoding
Prefer encoding constants to strings: `Encoding::UTF_8` vs `'utf-8'`
27de241
@bf4 bf4 Merge pull request #770 from bf4/ruby192
Loosen Travis-CI ruby versions; fix 1.9.2 not installable
3ce1589
@bf4 bf4 Merge pull request #762 from zendesk/grosser/content-utf8
parse non-ascci filenames
1aaffe5
Commits on Aug 06, 2014
@grosser grosser use sort_by instead of sort 1ab7d7b
@jeremy jeremy Revert "Merge pull request #762 from zendesk/grosser/content-utf8"
Introduced ad hoc parsing of the Content-Type name attribute, masking a
bug rather than fixing it.

This reverts commit 1aaffe5, reversing
changes made to 3ce1589.
9931120
@jeremy jeremy Merge pull request #774 from zendesk/grosser/sort_by
Prefer the more concise `#sort_by` over long-hand `#sort`
02baa1b
@grosser grosser let me set a default charset 15c48c4
Commits on Aug 07, 2014
@jeremy jeremy Cope with raw sources that were read with the wrong encoding.
Force raw message source to binary encoding before doing CRLF
conversion, masking common issues when users read a message using the
default external encoding (UTF-8), resulting in invalid UTF-8 characters
that break the regexp used for CRLF conversion.

Fixes #736.
a713a9e
@jeremy jeremy Fix 1.8.7 regression in 1ab7d7b
Array#sort_by! was added in Ruby 1.9.2.
dcb6a63
@jeremy jeremy Merge pull request #761 from zendesk/grosser/default-char
Expose `Mail::Message.default_charset = ...` to set the default charset for new messages. Defaults to `'UTF-8'`
d19b111
Commits on Aug 13, 2014
@jeremywrowe jeremywrowe refactor address 145ea38
@jeremy jeremy Merge pull request #780 from jeremywrowe/refactor/elements-address
Polish up code style for the Address element
a9cb93a
@grosser grosser fix randomly failing test: we use Time internally, not DateTime 96db997
Commits on Aug 14, 2014
@jeremy jeremy Merge pull request #779 from zendesk/grosser/fix-rand
ResentDateField calls DateTime.now, not Time.now. Fix the test stub.
62e68e7
Commits on Aug 26, 2014
@jeremy jeremy Revert "support windows-1258" bedc78d
@jeremy jeremy Merge pull request #784 from mikel/revert-767-grosser/Windows1258
Revert "support windows-1258"
ab0c643
Commits on Aug 27, 2014
@grosser grosser deal with missing closing boundary 68677d5
@grosser grosser simplify encoding splitter and support whitespace inside encoded 598d1fb
@grosser grosser universal splitting solution 0767da0
@jeremy jeremy Merge pull request #776 from zendesk/grosser/double-strip
simplify encoding splitter and support whitespace inside encoded
8fdc753
@jeremy jeremy Merge pull request #757 from zendesk/grosser/missing-boundary
deal with missing closing boundary
56f9878
@jeremy jeremy Merge pull request #745 from raindrift/master
Support for null envelope sender

Conflicts:
	lib/mail/constants.rb
	spec/mail/fields/resent_date_field_spec.rb
0543b93
@grosser grosser extract converter 4f54223
@grosser grosser add BestEffortCharsetEncoder 3b243a3
Commits on Aug 28, 2014
@grosser grosser fix more random errors 9997bd7
@gringocl gringocl Fix spelling d8a5bf4
Commits on Aug 29, 2014
@jeremy jeremy Merge pull request #788 from gringocl/fix-spelling-in-readme
Fix spelling
de8469c
@jeremy jeremy Merge pull request #785 from zendesk/grosser/converter
Configurable charset encoders. Default to strict charset/encoding match. Provide a "best effort" encoder that may be lossy.
0824232
@jeremy jeremy Merge pull request #787 from zendesk/grosser/rand
fix more random errors
8ab866e
Commits on Sep 17, 2014
@keithmgould keithmgould defends against libraries (such as ruby-units) which override divisio…
…n yielding non-zero values for fractions like 1/2
e3e1a4e
Commits on Sep 18, 2014
@jeremy jeremy Merge pull request #795 from keithmgould/master
Use `#div` instead of `/` in case it's overridden by mathr or others.
d8c3caf
Commits on Sep 25, 2014
@grosser grosser use charset_encoder for param_decode 1386efa
Commits on Oct 21, 2014
@bf4 bf4 Merge pull request #801 from zendesk/grosser/parse
use charset_encoder for param_decode
171132e
Commits on Oct 22, 2014
@jeremy jeremy Cope with raw sources that were read with the wrong encoding.
Force raw message source to binary encoding before doing CRLF
conversion, masking common issues when users read a message using the
default external encoding (UTF-8), resulting in invalid UTF-8 characters
that break the regexp used for CRLF conversion.

Fixes #736.
6d2bb25
@jeremy jeremy Merge pull request #681 from srawlins/allocate-less-things
Allocate less things

Conflicts:
	lib/mail/fields/common/common_field.rb
	lib/mail/utilities.rb
05f767e
@bf4 bf4 Loosen Travis-CI ruby versions; fix 1.9.2 not installable f5e8640
@grosser grosser autoload parsers for load-time speed and memory usage 8be5488
@bf4 bf4 Update CHANGELOG
[ci skip]
3601bf3
@bf4 bf4 Bump to 2.6.2; update changelog c849651
Commits on Oct 23, 2014
@bf4 bf4 Merge branch '2-6-stable'
Conflicts:
	VERSION
	lib/mail/constants.rb
	lib/mail/elements/address.rb
	lib/mail/fields/common/parameter_hash.rb
	lib/mail/version.rb
6b5ef09
Commits on Oct 29, 2014
@grosser grosser support uu encoding bc4c9bb
Commits on Oct 31, 2014
@jeremy jeremy Merge pull request #796 from zendesk/grosser/uu
support uu encoding
17457e4
Commits on Nov 03, 2014
@mikel Version bump to 2.6.3 and release ab034a4
@mikel Change version to edge build ee79240
Commits on Nov 13, 2014
@grosser grosser deal with complex encoding patters during collapsing e58d6a4
@bf4 bf4 Merge pull request #789 from zendesk/grosser/jp-join
Bug:  Fix encoding collapsing not dealing with multiple encodings in 1 line
209cb7b
@grosser grosser avoid failed encodings / stop bad charsets early d299e76
Commits on Nov 14, 2014
@bf4 bf4 Merge pull request #775 from zendesk/grosser/failed-encoding
Bug: Avoid failed encodings / bad charsets
64edefb
@grosser grosser more encodings and their equivalents 9424a67
@grosser grosser normalize encoding matchers 484652a
Commits on Nov 15, 2014
@bf4 bf4 Merge pull request #772 from zendesk/grosser/more-encodings
Recognize more encodings and their equivalents
45ac19d
Commits on Nov 17, 2014
@grosser grosser support nil charset 3893ad1
@bf4 bf4 Merge pull request #831 from zendesk/grosser/nil-encoding
Bug: support nil charset, fallback to binary
651de9e
Commits on Nov 23, 2014
Felix Schäfer Mail::Field correctly responds_to? the methods of its instantiated field e5676f4
Commits on Nov 25, 2014
@joshk joshk Use the new build env on Travis
more ram and cpu, improved networking and vm boot times

http://docs.travis-ci.com/user/workers/container-based-infrastructure/

more docs coming soon
736b780
@jeremyevans jeremyevans Allow more options when using Message#add_file
Previously, Message#add_file would ignore options other than
:filename and :content.  This breaks the principal of least
surprise.  The documentation for #add_file says "see also
attachments", and attachments shows other possible options,
but those are not supported.

This changes the code to pass an options hash given to add_file
through to attachments[]=, allowing you to use options such as
:mime_type or :content_disposition.  Currently, you have to do
the following:

  add_file :filename=>"cal.ics", :content=>c.to_ical
  attachments.last.content_type 'text/calendar'

You would think you could work around this using:

  attachments["cal.ics"] = {:content=>c.to_ical,
                            :mime_type=>'text/calendar'}

However, that doesn't work because unlike add_file,
attachments[]= doesn't automatically convert the message to
multipart, which results in the removal of the existing body.
With this change, you can now do:

  add_file :filename=>"cal.ics", :content=>c.to_ical,
           :mime_type=>'text/calendar'
b04bfb0
Commits on Nov 30, 2014
Felix Schäfer Add alternative paths for pre- and post-1.9.2 rubies ff0fc6b
Commits on Dec 02, 2014
@bf4 bf4 Merge pull request #836 from planio-gmbh/808-pass_respond_to
fix: Mail::Field correctly responds_to? the methods of its instantiated field
1e37311
Commits on Jan 27, 2015
@kjg kjg Handle parts with an un-parsable content-disposition 96e62a5
Commits on Feb 18, 2015
@voxik voxik Relax RSpec dependency
The test suite is passing just fine with RSpec 3.2.
939925d
Commits on Feb 19, 2015
@bf4 bf4 Merge pull request #855 from voxik/patch-1
Relax RSpec dependency
a64cce6
Commits on Feb 26, 2015
@robin850 robin850 Use the "composition over inheritance" technique
Instead of inheriting from `Array`, let's create an attribute that is an
array. The current object doesn't fit with the Liskov substitution
principle as, for instance, #sort is broken on Rubinius.

This makes the `PartsList` class compatible with Rubinius as `undef map`
will remove the map method but some other Enumerable methods (e.g. sort)
rely on it.

Also add  fallback for Array's methods for the sake of backward
compatibility, we need to provide a fallback for missing method that may
be used in the existing libraries.

To avoid all the necessary boilerplate to provide such fallback, let's
rely on the standard library's delegate gem and its DelegateClass
method.
9261582
@robin850 robin850 Let's remove Rubinius from the allowed failures 3bf3671
@robin850 robin850 Make YAML serialization backward-compatible
Previously, the object would have been serialized as an Array even
though YAML wouldn't be able to round-trip. Let's keep this behavior for
now to make upgrade smoother to this new "layer".
30ed6c5
@jeremy jeremy Merge pull request #782 from robin850/composition-parts-list
Use composition over inheritance for `PartsList`
b159e0a
Commits on Mar 19, 2015
@bf4 bf4 Merge pull request #849 from kjg/handle_invalid_content_disposition
Handle parts with an un-parsable content-disposition
0333b2d
@jeremy jeremy Merge pull request #839 from jeremyevans/add_file
Allow more options when using Message#add_file
f5ce9c6
@bf4 bf4 Merge pull request #838 from joshk/patch-1
Use the new build env on Travis
e313dcd
Commits on Mar 24, 2015
@jeremy jeremy Appraisal isn't supported on 1.8, so don't install it there edb6913
@jeremy jeremy Only use Appraisal in local_development, so it won't be installed in CI bf60c3f
@jeremy jeremy Warn that Appraisal is 1.9+ when it gets loaded on Ruby 1.8 745c0f7
Commits on Mar 31, 2015
@kjg kjg An invalid body encoding should still round trip
I don't think the `if transfer_encoding == encoding` was adding anything
because the following logic would always error if dec was nil
0de1b02
Commits on Apr 13, 2015
@jeremy jeremy Merge pull request #865 from kjg/invalid_body_encoding_should_round_trip
An invalid body encoding should still round trip
bc1e638
@kjg kjg Use the Ruby19.charset_encoder when decoding message bodies
To maintain consistency with param decoding
5cdeb4b
Commits on Apr 15, 2015
@jeremy jeremy Merge pull request #868 from kjg/decode_body_using_charset_encoder
Use the Ruby19.charset_encoder when decoding message bodies
6dd6922
@jeremy jeremy Support decoding message bodies with non-Ruby-standard charsets
We already have support for these additional charsets in message headers
but didn't use the same code path for message bodies themselves.

Adds support for GB2312, ks_c_5601-1987, ISO-2022-JP-KDDI, ISO-8859-8-I
and more.
ae61931
@jeremy jeremy Merge pull request #866 from jeremy/pick-encoding-for-message-body-too
Support decoding message bodies with non-Ruby-standard charsets
0f9393b
Commits on May 25, 2015
@jeremyevans jeremyevans require mime/types/columnar if available for large memory savings
This drops the memory footprint of mail from about 19MB to 3MB.
1012d05
Commits on May 28, 2015
@jeremy jeremy Merge pull request #880 from jeremyevans/columnar
require mime/types/columnar if available for large memory savings
6a8be76
Commits on Jun 01, 2015
@presidentJFK presidentJFK remove Readme weirdness c2c49c9
Commits on Jun 06, 2015
@bf4 bf4 Merge pull request #883 from presidentJFK/fix-readme
remove Readme weirdness
64ef1a1