pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/ruby-sexp-processor Update ruby-sexp-processor t...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/89be1cc08433
branches:  trunk
changeset: 365981:89be1cc08433
user:      taca <taca%pkgsrc.org@localhost>
date:      Mon Jul 31 14:16:47 2017 +0000

description:
Update ruby-sexp-processor to 4.10.0.

=== 4.10.0 / 2017-07-17

* 2 major enhancements:

  * Added experimental pattern matcher to Sexp. Forked from sexp_path.
  * Extended s to take a block and return a matcher: eg s{ s(:defn, atom, _, ___) }

* 23 minor enhancements:

  * Added $STRICT_SEXP to crank down Sexp.[] and friends.
  * Added Matcher#/ w/ real functionality.
  * Added Sexp#/ to search with new patterns.
  * Added Sexp#map to ensure you get a Sexp back.
  * Added Sexp#new to create a new sexp with the same file/line/comment info.
  * Added Sexp#search_each to recursively search w/ new patterns. Returns enum if no block.
  * Added Sexp#sexp_body=
  * Added Sexp::Matcher.match_subs? and .match_subs= to extend =~ so you can match strictly.
  * Added Sexp::Matcher.parse to convert lispy string to safe matcher: "(defn atom _ ___)"
  * Added all mutation methods to STRICT_SEXP >= 4
  * Added deprecation message to Sexp#structure for [s(...)] forms.
  * Added strict_sexp.rb to help you clamp down for future changes. STRICT_SEXP=1+
  * Auto-require strict_sexp if $STRICT_SEXP is > 0.
  * Converted a lot of indexed access to sexp_type/sexp_body, etc.
  * Finally enforced SexpProcessor#process to only process sexps, not bare arrays.
  * Made Sexp#/ double-dispatch to Matcher#/.
  * Made Sexp#gsub work with new patterns.
  * Made Sexp#sub work with new patterns.
  * Made SexpProcessor STRICT_SEXP=4 compliant.
  * Retired SexpMatchSpecial & SexpAny. Never used by anything AFAICT.
  * Sexp#=== goes back to default.
  * Sexp#=~(pat) calls pat =~ self.
  * Sexp#sexp_body now takes optional offset. Use instead of sexp[n..-1].

* 9 bug fixes:

  * Extended Sexp::Matcher::Parser.parse to lex more forms of regexp.
  * Finished off all missing doco.
  * Fixed == methods on all Matcher classes to include ivars.
  * Fixed Child#satisfy? to properly return false if failed.
  * Fixed Sexp#sexp_body to return a sexp using Sexp#new.
  * Fixed map to use Sexp#new.
  * Only try to set c_type if it responds to it. Make STRICT_SEXP safe.
  * R2C has a hack in SexpProcessor to call sexp_type=. Renamed to c_type= in R2C.
  * Removed very obsolete attrset test from pt_testcase.rb

=== 4.10.0b1 / 2017-06-13

Beta of the above.

diffstat:

 devel/ruby-sexp-processor/Makefile |   4 ++--
 devel/ruby-sexp-processor/PLIST    |   3 ++-
 devel/ruby-sexp-processor/distinfo |  10 +++++-----
 3 files changed, 9 insertions(+), 8 deletions(-)

diffs (44 lines):

diff -r 2289df29845c -r 89be1cc08433 devel/ruby-sexp-processor/Makefile
--- a/devel/ruby-sexp-processor/Makefile        Mon Jul 31 14:15:35 2017 +0000
+++ b/devel/ruby-sexp-processor/Makefile        Mon Jul 31 14:16:47 2017 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.21 2017/04/22 16:30:43 taca Exp $
+# $NetBSD: Makefile,v 1.22 2017/07/31 14:16:47 taca Exp $
 
-DISTNAME=      sexp_processor-4.9.0
+DISTNAME=      sexp_processor-4.10.0
 PKGNAME=       ${RUBY_PKGPREFIX}-${DISTNAME:S/_/-/}
 CATEGORIES=    devel
 
diff -r 2289df29845c -r 89be1cc08433 devel/ruby-sexp-processor/PLIST
--- a/devel/ruby-sexp-processor/PLIST   Mon Jul 31 14:15:35 2017 +0000
+++ b/devel/ruby-sexp-processor/PLIST   Mon Jul 31 14:16:47 2017 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2016/02/16 16:18:32 taca Exp $
+@comment $NetBSD: PLIST,v 1.5 2017/07/31 14:16:47 taca Exp $
 ${GEM_HOME}/cache/${GEM_NAME}.gem
 ${GEM_LIBDIR}/History.txt
 ${GEM_LIBDIR}/Manifest.txt
@@ -8,6 +8,7 @@
 ${GEM_LIBDIR}/lib/pt_testcase.rb
 ${GEM_LIBDIR}/lib/sexp.rb
 ${GEM_LIBDIR}/lib/sexp_processor.rb
+${GEM_LIBDIR}/lib/strict_sexp.rb
 ${GEM_LIBDIR}/lib/unique.rb
 ${GEM_LIBDIR}/test/test_composite_sexp_processor.rb
 ${GEM_LIBDIR}/test/test_environment.rb
diff -r 2289df29845c -r 89be1cc08433 devel/ruby-sexp-processor/distinfo
--- a/devel/ruby-sexp-processor/distinfo        Mon Jul 31 14:15:35 2017 +0000
+++ b/devel/ruby-sexp-processor/distinfo        Mon Jul 31 14:16:47 2017 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.20 2017/04/22 16:30:43 taca Exp $
+$NetBSD: distinfo,v 1.21 2017/07/31 14:16:47 taca Exp $
 
-SHA1 (sexp_processor-4.9.0.gem) = 4919b386a77045d8271a4192420f86d1d80429fa
-RMD160 (sexp_processor-4.9.0.gem) = 58008a44dfc42bc545e5779edd8637cdaf6de7a5
-SHA512 (sexp_processor-4.9.0.gem) = f73b71fa436b73db3adb590f3273904474f2a8575377c0ea9184c2dbe8068b3c673f74657e949666fc04d2028efc22f81c14488a5484c66e2b6810afdbbcc531
-Size (sexp_processor-4.9.0.gem) = 40448 bytes
+SHA1 (sexp_processor-4.10.0.gem) = d1f919a46c6f8e5d9ba4d38786441ee47cd4bd06
+RMD160 (sexp_processor-4.10.0.gem) = 278fcec626ebc4dcd0da89f8cd1a9a8bb628562e
+SHA512 (sexp_processor-4.10.0.gem) = 6ab067d921b8ad9f88fd35b942f0c28c3d8d1ac17cc85e73774c97cd4cdd5f91dcfb9392ef0337a7b3ffcd8dda8892f0d71c9323d45f453819848aed52965019
+Size (sexp_processor-4.10.0.gem) = 54272 bytes



Home | Main Index | Thread Index | Old Index