Skip to content

Commit fdace4e

Browse files
committed
💥🔧 Bump version and default config to 0.6.0-dev
1 parent c48e04b commit fdace4e

File tree

4 files changed

+7
-14
lines changed

4 files changed

+7
-14
lines changed

lib/net/imap.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -788,7 +788,7 @@ module Net
788788
# * {IMAP URLAUTH Authorization Mechanism Registry}[https://www.iana.org/assignments/urlauth-authorization-mechanism-registry/urlauth-authorization-mechanism-registry.xhtml]
789789
#
790790
class IMAP < Protocol
791-
VERSION = "0.5.12"
791+
VERSION = "0.6.0-dev"
792792

793793
# Aliases for supported capabilities, to be used with the #enable command.
794794
ENABLE_ALIASES = {

lib/net/imap/config.rb

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -481,9 +481,9 @@ def defaults_hash
481481
sasl_ir: true,
482482
enforce_logindisabled: true,
483483
max_response_size: 512 << 20, # 512 MiB
484-
responses_without_block: :warn,
485-
parser_use_deprecated_uidplus_data: :up_to_max_size,
486-
parser_max_deprecated_uidplus_data_size: 100,
484+
responses_without_block: :frozen_dup,
485+
parser_use_deprecated_uidplus_data: false,
486+
parser_max_deprecated_uidplus_data_size: 0,
487487
).freeze
488488

489489
@global = default.new
@@ -525,6 +525,9 @@ def defaults_hash
525525
version_defaults[0.7r] = Config[0.6r].dup.update(
526526
).freeze
527527

528+
version_defaults[0.8r] = Config[0.7r].dup.update(
529+
).freeze
530+
528531
# Safe conversions one way only:
529532
# 0.6r.to_f == 0.6 # => true
530533
# 0.6 .to_r == 0.6r # => false

test/net/imap/test_imap_uidplus.rb

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,6 @@
88
class IMAPUIDPlusTest < Net::IMAP::TestCase
99
include Net::IMAP::FakeServer::TestHelper
1010

11-
def setup
12-
super
13-
Net::IMAP.config.parser_use_deprecated_uidplus_data = false
14-
end
15-
1611
def test_uidplus_appenduid
1712
with_fake_server(select: "INBOX",
1813
extensions: %i[UIDPLUS]) do |server, imap|

test/net/imap/test_response_parser.rb

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,6 @@ class ResponseParserTest < Net::IMAP::TestCase
1010
include NetIMAPTestHelpers
1111
extend NetIMAPTestHelpers::TestFixtureGenerators
1212

13-
def setup
14-
super
15-
Net::IMAP.config.parser_use_deprecated_uidplus_data = false
16-
end
17-
1813
############################################################################
1914
# Tests that do no more than parse an example response and assert the result
2015
# data has the correct values have been moved to yml test fixtures.

0 commit comments

Comments
 (0)