8 commits
Author | SHA1 | Message | Date | |
---|---|---|---|---|
taca
|
a9b66a9dd8 |
Update ruby-mail to 2.5.4.
== Version 2.5.4 - Tue May 14 14:45:00 +1100 2013 Mikel Lindsaar <mikel@lindsaar.net> Features: * Save settings passed to TestMailer#new (svanderbleek) * Allow the setting of envelope from directly (jeremy) * Accept other IETF/IANA-registered Content-Types and Content-Transfer-Encodings (jeremy) * Alias shift-jis charset to Shift_JIS Ruby encoding (jeremy) * Add support for ks_c_5601-1987 charset, aliased to CP949 Ruby encoding (jeremy) * Don't allow colons in header names (jeremy) * Can assign arrays of Message-IDs to References and In-Reply-To (jeremy) * Setting the html_ or text_part sets a default text/html or text/plain content type (jeremy) * Setting the html_ or text_part to nil removes it (jeremy) * Addresses without a parsable email or display name still format as their raw text (jeremy) * Close pull request 504 - Alias GB2312 charset to GB18030 Ruby encoding (bpot) * Close pull request 399 - Accept :ca_path and :ca_file options for SMTP delivery (ndbroadbent) * Close pull request 389 - Don't add superfluous message headers to MIME parts (djmaze, jeremy) Performance: * Close pull request 488 - Speed up field construction & comparison (bpot) Bugs: * Don't include separating semicolon in paramter value when sanitizing (bpot) * Fix fencepost encoding problem with binhex strings and only one token (drasch) * Fix sendmail delivery to addresses with a leading hyphen (lifo, jeremy) * Correctly format mbox From headers per RFC4155 (bpot, jeremy) * Fix bogus '=' at the end of some quoted-printable messages (jeremy) * Shouldn't be fooled into encoding strings on 1.8 by unrelated Encoding constant (emiellohr, jeremy) * Header encoding should be US-ASCII, not the default external encoding (jeremy) * Address elements should return decoded display names by default (jeremy) * Fix up tests that depend on utf-8 external encoding; read fixtures as binary (jeremy) * Capture stderr from Sendmail and Exim deliveries (jeremy) * RFC2822 quoted_string content may be empty (jeremy) * Calling #to_s on a field with a nil value returns an empty string instead of nil (jeremy) * The Received header may contain zero name/value pairs, qmail-style (jeremy) * Fix that setting an attachment with a :mime_type and :encoding would override the :encoding (jeremy) * Fix that declaring an html_part but no text_part would use multipart/alternative anyway (jeremy) * Close pull request 508 - Don't add an extra CRLF to MIME parts; split MIME parts on correct CRLF boundaries (Aalanar) * Close pull request 506 - Escape backslashes in quoted strings (ConradIrwin) * Close pull request 496 - Correctly handle quoted-printable line breaks (jeremy) * Close pull request 493 - Repair misencoded quoted-printable line breaks (jeremy) * Close pull request 487 - Extract comments from group email addresses (bpot) * Close pull request 481 - Correctly quote filename attributes (bpot) * Close pull request 480 - Support mixed encodings in a single header body (adamvaughan) * Close pull request 471 - Fix Ruby 1.8 build when UTF16/32 default to little-endian (kennyj) Coping with third-party bugs: * Parse multipart boundary from Content-Type headers containing extra semicolons (jeremy) * Close pull request 389 - Only add Content-ID to inline attachments to appease Outlook (djmaze, jeremy) Housekeeping: * Add development gem dependency on rdoc (jeremy) * Refresh Bundler dependencies & setup (jeremy) * Remove i18n dependency and last vestiges of activesupport dependency in specs (jeremy) * Clarify that Sender is a single address, not an address list (jeremy) * Add an MIT-LICENSE file to make licensing clear & obvious; update to 2013 (jeremy) * Close pull request 501 - Tighten up header/body whitespace splitting (ConradIrwin) * Close pull request 499 - Clean up some dead code (ConradIrwin) * Close pull request 489, 495 - Docs typos (JackDanger, francois) * Close pull request 485 - Be explicit about unsupported address parsing (bpot) * Close pull request 484 - Remove #tree specs in preparation for deprecation removal (bpot) * Close pull request 482 - Update address field specs to reflect to #initialize API (bpot) * Close pull request 475 - Shush warning on Object#blank? redefinition (amatsuda) * Close pull request 472 - Clean up UTF8/UTF-8 internals (kennyj) |
||
taca
|
ab42930c6a |
Update ruby-mail to 2.5.3.
== HEAD == Version 2.5.3 - Sun Dec 4 15:52:00 +1100 2012 Mikel Lindsaar <mikel@reinteractive.net> * Close pull request 468 - Remove debug output to STDOUT (tadman) * Fix up spec warnings * Remove un needed require * Ensure spec_helper constants only defined once * Use stub against time instead of DateTime to avoid double redefinition error == Version 2.5.2 - Sun Nov 18 15:01:00 +1100 2012 Mikel Lindsaar <mikel@reinteractive.net> * Removing double loading of treetop parsers to remove warnings * Making parsers auto compile on spec suite and load in production code to avoid error that caused yank of 2.5.0 * Reapply pull request 443 - CC fields with semicolon are now parsed right (paulwittmann) == Version 2.5.1 - Sun Nov 18 14:01:00 +1100 2012 Mikel Lindsaar <mikel@reinteractive.net> * Yanked 2.5.0 * Reverted pull request 443 - CC fields with semicolon are now parsed right (paulwittmann) == Version 2.5.0 - Sun Nov 18 12:20:00 +1100 2012 Mikel Lindsaar <mikel@reinteractive.net> Features: * Close pull request 406 - Add Mail#eager_autoload! to load all autoloaded files on demand (bpot) * Close pull request 461 - Allow string as delivery_method (skyeagle, radar) * Close pull request 407 - Do not require Net::IMAP or Net::POP if they're already loaded (bpot) * Close pull request 400 - Raise exception if delivery values or from values are missing completely from an email that is getting delivered (dmathieu) * Close pull request 397 - Support dots in local part of the addresses (eac) * Close pull request 477 - Fixed handling content_type with superfluous spaces (ledermann) * Close pull request 451 - Ignore nil in addresses so things do not blow up when e.g. a user had no email (grosser) * Close pull request 362 - Enable TLS in Ruby 1.8 (kingargyle) * Close pull request 358 - Fix Mail::CommonAddress#value=, Mail::CommonAddress#<< and Mail::Encodings.encode_non_usascii (mrkn) * Close pull request 350 - Makes mail Header object ennumerable (ged) Performance: * Close pull request 369 - Mail::Header#charset is called pretty often during header parser work (bogdan) * Close pull request 368 - Improve existing code by moving some objects to contstant instead of constructing them over and over again. (bogdan) * Close pull request 366 - Headers parsing performance optimization (bogdan) * Close pull request 365 - Add maximum_amount of parsed headers configuration parameter (bogdan) Bugs: * Close pull request 444 - Fix typo in spec (cczona) * Close pull request 439 - Fix Ruby 1.9 behaviour to match 1.8.7 behaviour on ignoring invalid or undefined characters (ochko) * Close pull request 430 - Unstructured field converts to string before calling encoding on it (brupm mikel) * Close pull request 424 - Use String#to_crlf instead of String#gsub (okkez) * Close pull request 429 - Fix an obvious bug in exim delivery_method (dskim) * Close pull request 425 - Remove Gemfile.lock from generated gem (kbackowski) * Close pull request 414 - Fix typo on "ignoring" (derwiki) * Close pull request 405 - Fix stack overflow (RegexpError) triggered by large emails with an envelope (bpot) * Close pull request 402 - Prevent InReplyTo, Keyword, References or ResentMessageId fields from generating lines longer than 998 chars (pplr) * Close pull request 391 - Fixed failed attachment parsing when file name in headers contains spaces and is not wrapped in quotes (danieltreacy) * Close pull request 385 - Fix Multibyte::Chars#upcase/downcase (technoweenie) * Close pull request 384 - copy dat unicode over from active support (technoweenie) * Close pull request 380 - Split strictly on MIME boundary lines (ConradIrwin) * Close pull request 277 - Fix specific email decoding failure example (yalab) * Close pull request 361 - Support 8bit encoding for ruby 1.9 (bogdan) * Close pull request 346 - Fix two bugs of TestRetriever (ermaker) * Close pull request 337 - Make the behavior of value_decode the same between Ruby 1.8 and Ruby 1.9. (kennyj) * Close pull request 336 - Fix more warning: possibly useless use of == in void context (kennyj) * Close pull request 293 - make charset and mime type more resliant to bad header values (kmeehl) * Fix failing spec Issue 453 on Ruby 1.9.3 * Fix mail reading: don't raise invalid byte sequence in UTF-8 when reading non-UTF-8 emails (mreinsch) * Close pull request 353 - define NilClass#blank? only if not defined yet (amatsuda) * Close pull request 357 - Fixes #349 an inverted condition on imap open read_only (felixroeser) * Remove duplicated line feed from regexp * Remove unused variable * Updated IMAP documentation * Tweak publisher |
||
taca
|
4f0e4185d2 |
Update ruby-mail package to 2.4.4.
== Version 2.4.4 - Wed Mar 14 22:44:00 +1100 2012 Mikel Lindsaar <mikel@reinteractive.net> * Fix security vulnerability allowing command line exploit when using file delivery method == Version 2.4.3 - Tue Mar 6 19:38:00 UTC 2012 Mikel Lindsaar <mikel@reinteractive.net> * Fix security vulnerability allowing command line exploit when using exim or sendmail from the command line * Change Mail#deliver! to also inform the interceptors * Encodings.value_decode(str): Treat lines with mixed encoding correctly when the line ends with a plain text part. == Thu Jan 19 13:49:34 UTC 2012 Mikel Lindsaar <mikel@reinteractive.net> * Fix non ascii character folding problems * Handle multipart mail in Mail::Message#to_yaml / #from_yaml * More warning fixes * Normalize the Parse Error class and messages * Fix for Mail::Encodings.unquote_and_convert not handling unquoted characters mixed in between quoted strings * Updated treetop to latest version, specs now run approximately 25-30% faster! * Version bump to 2.4.1 and gem release == Sun Jan 15 18:15:56 UTC 2011 Mikel Lindsaar <mikel@reinteractive.net> * Speed up reading of messages by about 12x * Added Message#without_attachments! that removes all message's attachments * Added shoulda-style RSpec matchers * Added support for @ in display name * Added support for the :tls and :ssl options * Added UTF-16 and UTF-32 support * Added Exim as it's own delivery manager * Added Ruby 1.9.3 compatibility * Fix for Sendmail return-path escaping * Fix for alias for SJIS was changed from shift_jis to windows-31J in Ruby 1.9.3 * Fix for undefined method 'constantize' error when no ActiveSupport loaded * Fix Mail::Field#== comparison * Fixed Regexp warning: character class has duplicated range * Fixed encoding non-latin names in addresses * Fixed issue with non-7bit attachment filenames * Now define String#blank? only if not defined yet * Decoding text parts using charset from Content-Type field * Per RFC 5322, do not accept emails with consecutive dots * Bunch of bug fixes from contributed pull requests * Travis CI setup and passing on 6 rubies * Upgrade RSpec to 2.8.0 * Lots of warnings fixed * Version bump to 2.4.0 and gem release |
||
taca
|
14e3284047 |
Update mail/ruby-mail package to 2.3.0.
== Tue Apr 26 09:59:56 UTC 2011 Mikel Lindsaar <mikel@rubyx.com> * Remove ActiveSupport from the dependencies, load Active Support if present, or use internals if not * Created v2.2 branch for all 2.2 related commits * Update activesupport require to use inflector - closes #217 * Version bump to 2.3 and gem release |
||
taca
|
3f2a8c8a82 |
Update ruby-mail package 2.2.19, latest 2.2.x series.
== Tue Apr 26 09:49:54 UTC 2011 Mikel Lindsaar <mikel@rubyx.com> * Update activesupport require to use inflector - closes #217 == Tue Apr 26 06:18:19 UTC 2011 Mikel Lindsaar <mikel@rubyx.com> * Fixed charset warning issue with multipart messages - https://github.com/arvindsv * Version bump to 2.2.18 and gem release == Wed 20 Apr 2011 15:16:20 UTC Mikel Lindsaar <mikel@rubyx.com> * Mail::Field.new("Subject: foobar", 'iso-2022-jp') does not set charset - https://github.com/yalab == Tue Apr 19 00:20:54 UTC 2011 Mikel Lindsaar <mikel@rubyx.com> * Fixed an exception with nil in Reply-To and References field - https://github.com/dcormier * Version bump to 2.2.17 and gem release == Sat Apr 16 12:57:27 UTC 2011 Mikel Lindsaar <mikel@rubyx.com> * Added support for open SMTP connections and returning the Mail server's response - https://github.com/spiegela * RE: not appended to subject when replying to a reply - https://github.com/prateekdayal * Support not ascii compatible charset mail send - https://github.com/yalab * Fix for issue 208 "mail.body after mail.add_file truncates message body" - https://github.com/glongman * Handle bad subject encoding (or ":invalid => :replace" is ineffective for utf-8 to utf-8 encoding) - https://github.com/choonkeat * Handle blank Received header field - https://github.com/bcantin * Handle part with missing content type - https://github.com/bcantin * Handle a "<>" Return field - https://github.com/bcantin * Performance improvements for 1.9 - https://github.com/nobu * Fix heavy CPU issues when messages are missing a space - https://github.com/scsmith * Tighten up allowed encodings - https://github.com/scsmith * Added to_yaml & from_yaml (as well as to_hash & from_hash) - https://github.com/srushti * Fix up some comments - https://github.com/takahashim * Version bump to 2.2.16 and gem release |
||
taca
|
dbcc4b5209 |
Update ruby-mail package to 2.2.15.
== Wed 26 Jan 2011 02:23:09 UTC Mikel Lindsaar <mikel@rubyx.com> * Update addresses passed into sendmail to escape them (Andy Lindeman) * Version bump to 2.2.15 and gem release |
||
taca
|
f733234d01 |
Update mail/ruby-mail to 2.2.6.1.
== Mon Sep 13 02:31:21 UTC 2010 Mikel Lindsaar <mikel@rubyx.com> * Replace some missing documentation * Version bump to 2.2.6.1 == Sat 11 Sep 2010 05:13:36 UTC Mikel Lindsaar <mikel@rubyx.com> * Fixed parsing an email with an empty In-Reply-To header (Reported by Eugene Pimenov) * Adding address spec for groupname+domain.com@example.com format emails * Version bump to 2.2.6 == Sat Sep 11 01:56:59 UTC 2010 Mikel Lindsaar <mikel@rubyx.com> * Added new way to do versioning for rubygems * Added additional specs for Content-Disposition: inline which are not being encoded correctly - Shawn Pyle * Make sure Mail::Message#attachment? returns true/false - Simone Carletti * Replace hard-coded references to Mail with more generic self references to allow easier inheritance (closes #61) - Simone Carletti * Force encoding on Regexp for Ruby 1.9 to avoid encoding conflicts - Golubev Pavel * Added lazy evaluation to message body: body is not parsed until need. It greatly improves performance with big mails if you don't need to read the body (yet) * Added Mail.read_from_string as an explicit method (mcansky) * Fixed bounce detection for multipart reports that contain a human readable report status part * Closed Issue #65 found (incredibly) by quetz - major Kudos for bug hunting * Fixed missing trailing CRLF in content type field - Closes issue #57 - Kudos to Henry Flower for finding it * Version bump to 2.2.5.2 == Sat Sep 11 01:32:13 UTC 2010 Mikel Lindsaar <mikel@rubyx.com> * Closed issue #58 - Content Type not parsing unless lower case. * Version bump to 2.2.5.1 |
||
taca
|
975efd044d |
Importing mail/ruby-mail 2.2.5.
Mail is an internet library for Ruby that is designed to handle emails generation, parsing and sending in a simple, rubyesque manner. The purpose of this library is to provide a single point of access to handle all email functions, including sending and receiving emails. All network type actions are done through proxy methods to Net::SMTP, Net::POP3 etc. Built from my experience with TMail, it is designed to be a pure ruby implementation that makes generating, sending and parsing emails a no brainer. It is also designed form the ground up to work with Ruby 1.9. This is because Ruby 1.9 handles text encodings much more magically than Ruby 1.8.x and so these features have been taken full advantage of in this library allowing Mail to handle a lot more messages more cleanly than TMail. Mail does run on Ruby 1.8.x... it's just not as fun to code. Finally, Mail has been designed with a very simple object oriented system that really opens up the email messages you are parsing, if you know what you are doing, you can fiddle with every last bit of your email directly. |