NOTE: Both #search and #uid_search have been updated to return SearchResult rather than Array. SearchResult inherits from Array, for backward compatibility.
Similarly, the MODIFIED response code on the tagged response to #store and #uid_store is currently only accessible by using a response handler: response code data on tagged responses isn't saved to #responses. Unlike with the search methods returning SearchResult, I did not change the behavior of #store to return a new result object inheriting from Array. IMO, that change would require a backward compatibility config option and a deprecation period.
Fixes #106
[x] Document IMAP extension support in Net::IMAP class rdoc
[x] New response codes (HIGHESTMODSEQ, NOMODSEQ, MODIFIED)
[x] Parse (and test parser)
[x] Document in ResponseCode
[x] Update #select and #examine documentation (NOMODSEQ, HIGHESTMODSEQ)
[x] Update #store and #uid_store documentation (MODIFIED)
[x] Add SequenceSet class
[x] basic version was added for #225
[x] #239
[x] Updated FETCH response with MODSEQ.
[x] Parse (Done by @shugo in 2017, by 398a64ef.)
[x] Document in FetchData(Done by #220.)
[x] Updates SEARCH untagged response
[x] Parse * SEARCH 1 2 3 (MODSEQ 123)(Done by @shugo in 2014, by 4bad059c.)
[x] Add SearchResult and SearchResult#modseq.
[x] Document SearchResult (including on #search and #uid_search)
[x] Basic test coverage over SearchResult code
[x] New HIGHESTMODSEQ status attribute
[x] Parse (and test parser)
[x] Document in #status
[x] Keyword args (and test client method calls)
[x] #122
[x] #132
(Note: CHANGEDSINCE can be used already, via an undocumented non-keyword argument.)
NOTE: Both
#search
and#uid_search
have been updated to returnSearchResult
rather thanArray
.SearchResult
inherits fromArray
, for backward compatibility.Similarly, the
MODIFIED
response code on the tagged response to#store
and#uid_store
is currently only accessible by using a response handler: response code data on tagged responses isn't saved to#responses
. Unlike with the search methods returningSearchResult
, I did not change the behavior of#store
to return a new result object inheriting from Array. IMO, that change would require a backward compatibility config option and a deprecation period.IMAP extension support
inNet::IMAP
class rdocHIGHESTMODSEQ
,NOMODSEQ
,MODIFIED
)ResponseCode
#select
and#examine
documentation (NOMODSEQ
,HIGHESTMODSEQ
)#store
and#uid_store
documentation (MODIFIED
)SequenceSet
classFETCH
response withMODSEQ
.FetchData
(Done by #220.)SEARCH
untagged response* SEARCH 1 2 3 (MODSEQ 123)
(Done by @shugo in 2014, by 4bad059c.)SearchResult
andSearchResult#modseq
.SearchResult
(including on#search
and#uid_search
)HIGHESTMODSEQ
status attribute#status
CHANGEDSINCE
can be used already, via an undocumented non-keyword argument.)