[ruby-core:81095] [Ruby trunk Feature#10119] [PATCH] [net/imap] Add CHANGEDSINCE FETCH modifier + complementary add MODSEQ Message Data Item in FETCH Command

From: plehoux@...
Date: 2017-05-10 15:21:16 UTC
List: ruby-core #81095
Issue #10119 has been updated by plehoux (Philippe-Antoine Lehoux).

File modseq-changedsince-changes-UPDATED.patch added

The above patch was wrong. There is/was no flags variable in current/previous ruby versions.

The attached patch now correctly reflect the real diff.

I also added this test as requested:

~~~ ruby
  # [Bug #10119]
  def test_msg_att_modseq_data
    parser = Net::IMAP::ResponseParser.new
    response = parser.parse("* 1 FETCH (FLAGS (\Seen) MODSEQ (12345) UID 5)\r\n")
    assert_equal(12345, response.data.attr["MODSEQ"])
  end
~~~


----------------------------------------
Feature #10119: [PATCH] [net/imap] Add CHANGEDSINCE FETCH modifier + complementary add MODSEQ Message Data Item in FETCH Command
https://bugs.ruby-lang.org/issues/10119#change-64745

* Author: plehoux (Philippe-Antoine Lehoux)
* Status: Feedback
* Priority: Normal
* Assignee: shugo (Shugo Maeda)
* Target version: Next Major
----------------------------------------
Add [CHANGEDSINCE FETCH modifier]
(http://tools.ietf.org/html/rfc4551#section-3.3.1)

+

Add [MODSEQ Message Data Item in FETCH Command]
(http://tools.ietf.org/html/rfc4551#section-3.3.2)

---Files--------------------------------
modseq-changedsince-changes.patch (2.27 KB)
modseq-changedsince-changes-UPDATED.patch (2.74 KB)


-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next