mime 0.4.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.rdoc +13 -6
- data/lib/mime.rb +1 -1
- data/lib/mime/mail.rb +1 -0
- metadata +2 -2
data/README.rdoc
CHANGED
@@ -6,7 +6,7 @@ in client/server communications, such as Internet mail or HTTP
|
|
6
6
|
multipart/form-data transactions.
|
7
7
|
|
8
8
|
|
9
|
-
== See
|
9
|
+
== See Also
|
10
10
|
|
11
11
|
* MIME for RFCs used to implement the library (other RFCs scattered throughout)
|
12
12
|
* MIME::CompositeMedia for a description of composite media types
|
@@ -306,12 +306,13 @@ For many more examples, check the test class MIMETest.
|
|
306
306
|
|
307
307
|
== Links
|
308
308
|
|
309
|
+
Homepage :: http://ecentryx.com/gems/mime
|
309
310
|
Ruby Gem :: https://rubygems.org/gems/mime
|
310
311
|
Source Code :: https://bitbucket.org/pachl/mime/src
|
311
|
-
|
312
|
+
Bug Tracker :: https://bitbucket.org/pachl/mime/issues
|
312
313
|
Validators :: Please check *all* of your messages using the following lint
|
313
|
-
tools and report errors to
|
314
|
-
in the subject.
|
314
|
+
tools and report errors to the bug tracker or directly to
|
315
|
+
pachl@ecentryx.com with "Ruby MIME" in the subject.
|
315
316
|
|
316
317
|
- http://www.apps.ietf.org/content/message-lint
|
317
318
|
- http://tools.ietf.org/tools/msglint
|
@@ -337,7 +338,9 @@ Validators :: Please check *all* of your messages using the following lint
|
|
337
338
|
* Rename classes:
|
338
339
|
- HeaderContainter => Header
|
339
340
|
- remove "Media" suffix from the 5 DiscreteMedia and 2 CompositeMedia
|
340
|
-
subclasses.
|
341
|
+
subclasses.
|
342
|
+
See {commit}[https://bitbucket.org/pachl/mime/commits/4876b1390624a1c07682d2a11fd90296a83c002d]
|
343
|
+
for details.
|
341
344
|
- MIME::Message => MIME::Mail
|
342
345
|
* Rename methods:
|
343
346
|
- remove "_entity" suffix from add, inline, and attach in CompositeMedia.
|
@@ -351,7 +354,8 @@ Validators :: Please check *all* of your messages using the following lint
|
|
351
354
|
- Header#delete
|
352
355
|
* Reverse order of entities in CompositeMedia::Body, which most likely
|
353
356
|
reverses all CompositeMedia #add, #inline, and #attach method calls.
|
354
|
-
See
|
357
|
+
See {commit}[https://bitbucket.org/pachl/mime/commits/a51745f346b517929383bdb6e60301c385ffab49]
|
358
|
+
for details.
|
355
359
|
* Other changes
|
356
360
|
* Use From header field domain in the Message-ID header.
|
357
361
|
* Add more randomness when generating header IDs.
|
@@ -365,6 +369,9 @@ Validators :: Please check *all* of your messages using the following lint
|
|
365
369
|
* Comply with RFC regarding parameter quoting in header field bodies.
|
366
370
|
I.e., do not quote atom/dot-atom parameter values.
|
367
371
|
* Many fixes and improvements in code, tests, documentation, and examples.
|
372
|
+
5. 2014-04-20, v0.4.1
|
373
|
+
* Add bug tracker URL.
|
374
|
+
* Link to referenced commit messages.
|
368
375
|
|
369
376
|
|
370
377
|
== License
|
data/lib/mime.rb
CHANGED
data/lib/mime/mail.rb
CHANGED
@@ -27,6 +27,7 @@ module MIME
|
|
27
27
|
def to_s
|
28
28
|
self.message_id ||= ID.generate_gid(domain)
|
29
29
|
body.mime_version ||= "1.0 (Ruby MIME v#{VERSION})"
|
30
|
+
# TODO if From contains multiple mailboxes Sender must be present
|
30
31
|
|
31
32
|
#--
|
32
33
|
# In an RFC 2822 message, the header and body sections must be separated
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mime
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-04-
|
12
|
+
date: 2014-04-21 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: ! 'A library for building RFC compliant Multipurpose Internet Mail Extensions
|
15
15
|
|