net-imap 0.4.15 → 0.4.16

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f327f21581ac36f2565a93a78535e8d1028b7f8ce25da9aa56dffc5d3aba5949
4
- data.tar.gz: 929a41b8ca42858c585080df30313d6c000fa4e8386be480ad0a650a86dca789
3
+ metadata.gz: eb20811050c485f7fcde01bb24dbe455026b45cc463efe39353a3f186312a5d5
4
+ data.tar.gz: 1290933be2c606cb299c75acc7ba59aa3ecdbcad245e776981eb2eb49d3289f3
5
5
  SHA512:
6
- metadata.gz: 686a14fc1451a1b8d56c4533b1fd7229f1bb29707bb18b0771ea3294411349d1505ced863406caca189304211e556df207d710589e1917a532c7b381100f103d
7
- data.tar.gz: dda1b58f73197c1233a22d60d74940265862f0d8cad3afb86b84bad2993f591a233c47f81aacd1260f5d85ab30ac581312723854eeea982aae88f3eae74c57e0
6
+ metadata.gz: 857dfd2863abedf53c6adf874a8d6883ea93de91cb01bd0c3ec60ca2279f86e1ae41ddedaccd1329490dddb6dabdce59cddf22699c0792085a5fba2a76184647
7
+ data.tar.gz: 0766bbf7514aa1c293b18575c47bf02f5eff1c62b69c8cda432aba35d72572607d60588e45ab78a25e5df7f8d7df2fe5c90d965f580c8178171554151ab0c4a0
@@ -1339,7 +1339,8 @@ module Net
1339
1339
  assert_no_lookahead
1340
1340
  start = @pos
1341
1341
  astring
1342
- @str[start...@pos - 1]
1342
+ end_pos = @token ? @pos - 1 : @pos
1343
+ @str[start...end_pos]
1343
1344
  end
1344
1345
 
1345
1346
  # mailbox-data = "FLAGS" SP flag-list / "LIST" SP mailbox-list /
data/lib/net/imap.rb CHANGED
@@ -717,7 +717,7 @@ module Net
717
717
  # * {IMAP URLAUTH Authorization Mechanism Registry}[https://www.iana.org/assignments/urlauth-authorization-mechanism-registry/urlauth-authorization-mechanism-registry.xhtml]
718
718
  #
719
719
  class IMAP < Protocol
720
- VERSION = "0.4.15"
720
+ VERSION = "0.4.16"
721
721
 
722
722
  # Aliases for supported capabilities, to be used with the #enable command.
723
723
  ENABLE_ALIASES = {
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: net-imap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.15
4
+ version: 0.4.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shugo Maeda
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2024-08-28 00:00:00.000000000 Z
12
+ date: 2024-09-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: net-protocol