pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net/ruby-net-imap



Module Name:    pkgsrc
Committed By:   taca
Date:           Tue Feb  3 15:32:34 UTC 2026

Modified Files:
        pkgsrc/net/ruby-net-imap: Makefile PLIST distinfo

Log Message:
net/ruby-net-imap: update to 0.6.2

0.6.0 (2025-12-15)

Breaking Changes

* Update default config for v0.6 by @nevans in #539
        - responses_without_block changed from :warn to :frozen_dup
        - parser_use_deprecated_uidplus_data changed from :up_to_max_size to
          false (and is deprecated)
        - parser_max_deprecated_uidplus_data_size changed from 100 to 0 (and
          is deprecated)
* Use psych (>= 5.2.5) for encoding Data objects by @nevans in #543
  This changes the YAML tag for Data subclasses from
  ruby/object:Net::IMAP::DataSubclass to ruby/data:Net::IMAP::DataSubclass.
  YAML dumped by earlier net-imap versions may not load correctly.  Psych >=
  5.2.5 is required to dump these objects correctly.
* Require ruby >= 3.2 (drop support for 3.1) by @nevans in #538
* Change SequenceSet#size to count * and repeated numbers by @nevans in #564
  SequenceSet is used to represent both sorted sets and ordered lists (which
  may contain duplicates).  Members are non-zero UInt32 numbers, but "*" has
  special meaning as "the number corresponding to the last mailbox entry".
  So there are four different ways to count the members of a SequenceSet.
  Previously, #size was an alias for #count. Now it differs in both relevant
  aspects.

                                        | * is a unique member  | * is treated like 2^32 - 1
distinct set members                    | #cardinality          | #count
ordered list, including duplicates      | #size                 | #count_with_duplicates

* Remove deprecated UIDPlusData class by @nevans in #540
  UIDPlusData was deprecated by v0.5.6. AppendUIDData or CopyUIDData will
  always be returned instead.
* Delete deprecated MessageSet by @nevans in #573
  MessageSet was deprecated by v0.5.0. Use SequenceSet instead.
* Do not include OpenSSL and OpenSSL::SSL modules into Net::IMAP by @nevans
  in #533
  This only affects the ability to use OpenSSL constants from the Net::IMAP
  namespace.
* Don't set verify_callback to VerifyCallbackProc by @nevans in #534
  This functionality was never documented and is redundant with the
  verify_callback option.

Deprecated

* Deprecated config options for UIDPlusData in #540
  The parser_use_deprecated_uidplus_data and
  parser_max_deprecated_uidplus_data_size config options will be removed in
  v0.7.0.  They are kept for backward compatibility, but they do not affect
  response parser results.  When parser_use_deprecated_uidplus_data is
  changed from the default value (false), deprecation warnings are printed
  when parsing APPENDUID or COPYUID response codes.

Added

* Add when_capabilities_cached option for Config#sasl_ir by @nevans in #561
* Net::IMAP::Config improvements
        - Improve Config#inspect output by @nevans in #546
        - Improve Config#pretty_print (for Kernel::pp) by @nevans in #547
        - Update Config#inherited? for any number of args by @nevans in #552
* Net::IMAP::SequenceSet improvements
        - Add SequenceSet#intersect! for in-place set AND by @nevans in #549
        - Add SequenceSet#xor! for in-place set XOR by @nevans in #550
        - Coalesce entries in SequenceSet#append by @nevans in #553
        - Add SequenceSet#normalized? by @nevans in #558
        - Add SequenceSet#cardinality method by @nevans in #563
        - Change SequenceSet#size to count * and repeated numbers by @nevans
          in #564

* Net::IMAP::NumValidator improvements
        - Support mod-sequence-valzer (RFC4551) in NumValidator by @nevans
          in #570
        - Add NumValidator.coerce_{type} methods by @nevans in #571

Documentation

* mprove rdoc example for #uid_fetch with partial by @nevans in #532
* ocument SearchResult/ESearchResult compatibility by @nevans in #559
* inor rdoc formatting fixes by @nevans in #560

Other Changes

* Drop Data polyfill by @nevans in #541
  This was only used for ruby 3.1, which is no longer supported. So this is
  not considered a breaking change.
* Refactor Config.versioned_defaults to reduce merge conflcts by @nevans in
  #544
* Improved Net::IMAP::SequenceSet performance
        - Don't memoize SequenceSet#string on normalized sets by @nevans in
          #554
        - aster SequenceSet#normalize when frozen by @nevans in #556
        - Faster SequenceSet#full? by @nevans in #565
        - Slightly faster SequenceSet#xor by @nevans in #567
        - Avoid allocating arrays for SequenceSet bsearch (extract abstract
          strategy methods) by @nevans in #569
        - Rename SequenceSet internals by @nevans in #562
        - Reorganize SequenceSet internals by @nevans in #568

Miscellaneous (omitted)

0.6.1 (2025-12-17)

Fixed
* Fix SequenceSet#max(n) when cardinality < n <= size by @nevans in #580
Miscellaneous
* Bump step-security/harden-runner from 2.13.3 to 2.14.0 by @dependabot[bot]
  in #579

0.6.2 (2025-12-17)

Fixed
* Fix SequenceSet#delete?(num..num) to return set by @nevans in #583
* Fix #responses() freezing internal arrays by @nevans in #587, reported by
  @yurikoval in #581


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 pkgsrc/net/ruby-net-imap/Makefile
cvs rdiff -u -r1.8 -r1.9 pkgsrc/net/ruby-net-imap/PLIST
cvs rdiff -u -r1.11 -r1.12 pkgsrc/net/ruby-net-imap/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/ruby-net-imap/Makefile
diff -u pkgsrc/net/ruby-net-imap/Makefile:1.17 pkgsrc/net/ruby-net-imap/Makefile:1.18
--- pkgsrc/net/ruby-net-imap/Makefile:1.17      Tue Oct 28 14:01:26 2025
+++ pkgsrc/net/ruby-net-imap/Makefile   Tue Feb  3 15:32:34 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.17 2025/10/28 14:01:26 taca Exp $
+# $NetBSD: Makefile,v 1.18 2026/02/03 15:32:34 taca Exp $
 
-DISTNAME=      net-imap-0.5.12
+DISTNAME=      net-imap-0.6.2
 CATEGORIES=    net mail
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -10,5 +10,8 @@ LICENSE=      2-clause-bsd OR ruby-license
 
 USE_LANGUAGES= # none
 
+# Ruby 4.0.1 has the same version as bundled gem.
+RUBY_VERSIONS_ACCEPTED=        32 33 34
+
 .include "../../lang/ruby/gem.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/net/ruby-net-imap/PLIST
diff -u pkgsrc/net/ruby-net-imap/PLIST:1.8 pkgsrc/net/ruby-net-imap/PLIST:1.9
--- pkgsrc/net/ruby-net-imap/PLIST:1.8  Sat May 17 07:57:04 2025
+++ pkgsrc/net/ruby-net-imap/PLIST      Tue Feb  3 15:32:34 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.8 2025/05/17 07:57:04 taca Exp $
+@comment $NetBSD: PLIST,v 1.9 2026/02/03 15:32:34 taca Exp $
 ${GEM_HOME}/cache/${GEM_NAME}.gem
 ${GEM_LIBDIR}/BSDL
 ${GEM_LIBDIR}/COPYING
@@ -14,9 +14,9 @@ ${GEM_LIBDIR}/lib/net/imap/config.rb
 ${GEM_LIBDIR}/lib/net/imap/config/attr_accessors.rb
 ${GEM_LIBDIR}/lib/net/imap/config/attr_inheritance.rb
 ${GEM_LIBDIR}/lib/net/imap/config/attr_type_coercion.rb
+${GEM_LIBDIR}/lib/net/imap/config/attr_version_defaults.rb
 ${GEM_LIBDIR}/lib/net/imap/connection_state.rb
 ${GEM_LIBDIR}/lib/net/imap/data_encoding.rb
-${GEM_LIBDIR}/lib/net/imap/data_lite.rb
 ${GEM_LIBDIR}/lib/net/imap/deprecated_client_options.rb
 ${GEM_LIBDIR}/lib/net/imap/errors.rb
 ${GEM_LIBDIR}/lib/net/imap/esearch_result.rb

Index: pkgsrc/net/ruby-net-imap/distinfo
diff -u pkgsrc/net/ruby-net-imap/distinfo:1.11 pkgsrc/net/ruby-net-imap/distinfo:1.12
--- pkgsrc/net/ruby-net-imap/distinfo:1.11      Tue Oct 28 14:01:26 2025
+++ pkgsrc/net/ruby-net-imap/distinfo   Tue Feb  3 15:32:34 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.11 2025/10/28 14:01:26 taca Exp $
+$NetBSD: distinfo,v 1.12 2026/02/03 15:32:34 taca Exp $
 
-BLAKE2s (net-imap-0.5.12.gem) = fb6b016416a36447d08d605ee3e2eca6bbc305f6f426d7b07849b69843da7e00
-SHA512 (net-imap-0.5.12.gem) = a4a1bdd9fa93569f6885eee413157f47402bba8b2c4cea98573e58c04dd08044b22536c4a3d44c5008a6db0b344bf2bc126eb1479c1598f61480de0e1627c109
-Size (net-imap-0.5.12.gem) = 180224 bytes
+BLAKE2s (net-imap-0.6.2.gem) = 3807040f2704916d143b8362ce88301eeedf3bcf844fe2617188ea1320829d33
+SHA512 (net-imap-0.6.2.gem) = 0355096c793ae51a6e3369cab17c1bd2736f40a241705ca6cdf9ee37c3783c6c2777b8f563136366b70a0015635dcaeec9233096119d4e266b6624c8f3f617e7
+Size (net-imap-0.6.2.gem) = 181248 bytes



Home | Main Index | Thread Index | Old Index