net-imap
net-imap copied to clipboard
Ruby client api for Internet Message Access Protocol
Because String#index takes O(N), where N is the second argument, while String#byteindex takes O(1).
I sometimes got the following failure with `ruby/ruby` and `make test-bundled-gems`. ``` Testing the net-imap gem /Users/hsbt/Documents/github.com/ruby/ruby/exe/ruby -C /Users/hsbt/Documents/github.com/ruby/ruby/gems/src/net-imap /Users/hsbt/Documents/github.com/ruby/ruby/.bundle/bin/rake test Loaded suite /Users/hsbt/Documents/github.com/ruby/ruby/.bundle/gems/rake-13.2.1/lib/rake/rake_test_loader Started /Users/hsbt/Documents/github.com/ruby/ruby/.bundle/gems/test-unit-3.6.2/lib/test/unit/fixture.rb:284: warning: the block passed...
`VANISHED` responses are required by two different extensions: `QRESYNC` and `UIDONLY`. * Add a new response data type: `VanishedData`, which wraps `SequenceSet` and the `EARLIER` modifier. * Update the parser...
This is similar to ActiveSupport's [Array#extract!](https://api.rubyonrails.org/classes/Array.html#method-i-extract-21). Yields all of the unhandled `#responses` for a single response type. Removes and returns the responses for which the block returns a true value....
#327 and bugs like it can be embarrassing! 😞 I really thought I had a test for that (maybe I did, and it got lost during a rebase or refactoring?)....