File tree Expand file tree Collapse file tree 4 files changed +7
-14
lines changed Expand file tree Collapse file tree 4 files changed +7
-14
lines changed Original file line number Diff line number Diff 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 = {
Original file line number Diff line number Diff 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.7 r] = Config [ 0.6 r] . dup . update (
526526 ) . freeze
527527
528+ version_defaults [ 0.8 r] = Config [ 0.7 r] . 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
Original file line number Diff line number Diff line change 88class 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 |
Original file line number Diff line number Diff 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.
You can’t perform that action at this time.
0 commit comments