pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/ruby-regexp_parser



Module Name:    pkgsrc
Committed By:   taca
Date:           Sun Oct  9 07:29:16 UTC 2022

Modified Files:
        pkgsrc/devel/ruby-regexp_parser: Makefile PLIST distinfo

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/devel/ruby-regexp_parser/Makefile
cvs rdiff -u -r1.8 -r1.9 pkgsrc/devel/ruby-regexp_parser/PLIST
cvs rdiff -u -r1.11 -r1.12 pkgsrc/devel/ruby-regexp_parser/distinfo

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

Modified files:

Index: pkgsrc/devel/ruby-regexp_parser/Makefile
diff -u pkgsrc/devel/ruby-regexp_parser/Makefile:1.9 pkgsrc/devel/ruby-regexp_parser/Makefile:1.10
--- pkgsrc/devel/ruby-regexp_parser/Makefile:1.9        Wed Aug 24 16:31:03 2022
+++ pkgsrc/devel/ruby-regexp_parser/Makefile    Sun Oct  9 07:29:16 2022
@@ -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

Index: pkgsrc/devel/ruby-regexp_parser/PLIST
diff -u pkgsrc/devel/ruby-regexp_parser/PLIST:1.8 pkgsrc/devel/ruby-regexp_parser/PLIST:1.9
--- pkgsrc/devel/ruby-regexp_parser/PLIST:1.8   Wed Aug 24 16:31:03 2022
+++ pkgsrc/devel/ruby-regexp_parser/PLIST       Sun Oct  9 07:29:16 2022
@@ -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/expressi
 ${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

Index: pkgsrc/devel/ruby-regexp_parser/distinfo
diff -u pkgsrc/devel/ruby-regexp_parser/distinfo:1.11 pkgsrc/devel/ruby-regexp_parser/distinfo:1.12
--- pkgsrc/devel/ruby-regexp_parser/distinfo:1.11       Wed Aug 24 16:31:03 2022
+++ pkgsrc/devel/ruby-regexp_parser/distinfo    Sun Oct  9 07:29:16 2022
@@ -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