lib/mail/parsers/content_transfer_encoding.treetop in mail-2.1.3 vs lib/mail/parsers/content_transfer_encoding.treetop in mail-2.1.5

- old
+ new

@@ -3,23 +3,18 @@ include RFC2822 include RFC2045 rule primary - CFWS encoding CFWS + CFWS encoding CFWS ";"? CFWS end rule encoding - known_tokens / ietf_token / x_token { - def encoding - known_tokens.text_value || ietf_token.text_value || x_token.text_value + ietf_token "s"? { + def text_value + ietf_token.text_value end - } - end - - rule known_tokens - "7bit" / "8bit" / "binary" / - "quoted-printable" / "base64" + } / x_token end end end \ No newline at end of file