pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/ruby-regexp_parser devel/ruby-regexp_parser: upd...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/85f09ba9cb1e
branches:  trunk
changeset: 386462:85f09ba9cb1e
user:      taca <taca%pkgsrc.org@localhost>
date:      Sun Oct 09 07:29:16 2022 +0000

description:
devel/ruby-regexp_parser: update to 2.6.0

2.6.0 (2022-09-26)

Fixed

* fixed #referenced_expression for \g<0> (was nil, is now the Root exp)

* fixed #reference, #referenced_expression for recursion level backrefs

        - e.g. (a)(b)\k<-1+1>
        - #referenced_expression was nil, now it is the correct Group exp

* detect and raise for two more syntax errors when parsing String input

        - quantification of option switches (e.g. (?i)+)
        - invalid references (e.g. /\k<1>/)
        - these are a SyntaxError in Ruby, so could only be passed as a
          String

Added

* Regexp::Expression::Base#human_name

        - returns a nice, human-readable description of the expression

* Regexp::Expression::Base#optional?

        - returns true if the expression is quantified accordingly
          (e.g. with *, {,n})

* added a deprecation warning when calling #to_re on set members

diffstat:

 devel/ruby-regexp_parser/Makefile |  4 ++--
 devel/ruby-regexp_parser/PLIST    |  3 ++-
 devel/ruby-regexp_parser/distinfo |  8 ++++----
 3 files changed, 8 insertions(+), 7 deletions(-)

diffs (42 lines):

diff -r e3c0cc366006 -r 85f09ba9cb1e devel/ruby-regexp_parser/Makefile
--- a/devel/ruby-regexp_parser/Makefile Sun Oct 09 07:26:43 2022 +0000
+++ b/devel/ruby-regexp_parser/Makefile Sun Oct 09 07:29:16 2022 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.9 2022/08/24 16:31:03 taca Exp $
+# $NetBSD: Makefile,v 1.10 2022/10/09 07:29:16 taca Exp $
 
-DISTNAME=      regexp_parser-2.5.0
+DISTNAME=      regexp_parser-2.6.0
 CATEGORIES=    devel
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
diff -r e3c0cc366006 -r 85f09ba9cb1e devel/ruby-regexp_parser/PLIST
--- a/devel/ruby-regexp_parser/PLIST    Sun Oct 09 07:26:43 2022 +0000
+++ b/devel/ruby-regexp_parser/PLIST    Sun Oct 09 07:29:16 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.8 2022/08/24 16:31:03 taca Exp $
+@comment $NetBSD: PLIST,v 1.9 2022/10/09 07:29:16 taca Exp $
 ${GEM_HOME}/cache/${GEM_NAME}.gem
 ${GEM_LIBDIR}/CHANGELOG.md
 ${GEM_LIBDIR}/Gemfile
@@ -26,6 +26,7 @@
 ${GEM_LIBDIR}/lib/regexp_parser/expression/classes/root.rb
 ${GEM_LIBDIR}/lib/regexp_parser/expression/classes/unicode_property.rb
 ${GEM_LIBDIR}/lib/regexp_parser/expression/methods/construct.rb
+${GEM_LIBDIR}/lib/regexp_parser/expression/methods/human_name.rb
 ${GEM_LIBDIR}/lib/regexp_parser/expression/methods/match.rb
 ${GEM_LIBDIR}/lib/regexp_parser/expression/methods/match_length.rb
 ${GEM_LIBDIR}/lib/regexp_parser/expression/methods/options.rb
diff -r e3c0cc366006 -r 85f09ba9cb1e devel/ruby-regexp_parser/distinfo
--- a/devel/ruby-regexp_parser/distinfo Sun Oct 09 07:26:43 2022 +0000
+++ b/devel/ruby-regexp_parser/distinfo Sun Oct 09 07:29:16 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.11 2022/08/24 16:31:03 taca Exp $
+$NetBSD: distinfo,v 1.12 2022/10/09 07:29:16 taca Exp $
 
-BLAKE2s (regexp_parser-2.5.0.gem) = 0cd732e590a5e0a24cab40200ccbeae18d85ac74a6d4066024a575abd46bc200
-SHA512 (regexp_parser-2.5.0.gem) = 850e0a7a6f64cd95f844fb80bf60bd0876364ee994a60d5dbd3b0fee9273c3d0995d421fe970685a11a6408e95372a17a8778c17f2cfe741cc86e3a9dc6d085a
-Size (regexp_parser-2.5.0.gem) = 71168 bytes
+BLAKE2s (regexp_parser-2.6.0.gem) = 56fe54e4b46ab2804cfe4f8a86abe1a8e5bc63c9ae35f6151dc96358f7b1f16e
+SHA512 (regexp_parser-2.6.0.gem) = 48f76e19cf8fe9d263eaf5441e3a15465ba137821204e876f05be8c1e9c1db1f6ef201107c1767ffcb5f77dfdc5d10886377f87bb2ea2438adf37109a633b48a
+Size (regexp_parser-2.6.0.gem) = 72192 bytes



Home | Main Index | Thread Index | Old Index