Wed Oct 30 15:19:43 2019 UTC ()
devel/ruby-parser: update to 3.14.1

Update ruby-parser to 3.14.1.

=== 3.14.1 / 2019-10-29

* 1 minor enhancement:

  * Declared that ruby_parser supports ruby 2.2 and up.

* 3 bug fixes:

  * Fixed a problem with %W with a null-byte terminator. (wtf?) (spohlenz)
  * Fixed line numbering for command (eg methods without parentheses) arguments. (mvz)
  * Fixed lineno on new dxstrs. (presidentbeef)

=== 3.14.0 / 2019-09-24

* 8 minor enhancements:

  * Added Sexp#line_min & new line number debugging feature.
  * Allow bin/ruby_parse to use RP_TIMEOUT to tweak default timeout for large files & slow debugging modes.
  * Did you know that custom inspect can't be > 65 chars? 65! Me neither. Fixed.
  * For now, value_expr == remove_begin.
  * Improved error messages for unterminated regexps.
  * Moved all STR_* consts into State::Values and made them State instances.
  * Overhauled RubyLexer::State + Values to allow for completely separate groups of States.
  * RubyParserExtras#remove_begin removes nested begins and patches line numbers.

* 22 bug fixes:

  * Changed EOF signaling to return [false, false] per doco.
  * Changed RubyParserStuff#remove_begin to keep inner line number, if any. (mvz)
  * Differentiated between lambda call and stabby proc. Added :lambda sexp. (whitequark)
  * Extended State#== to check equal? first as an optimization.
  * Fixed a bug in tab indent width.
  * Fixed a line numbering bug for assignables.
  * Fixed a line numbering bug for defns w/ nil bodies.
  * Fixed another missing line number, driven out by ruby_to_ruby bootstrap.
  * Fixed dedenting squiggle heredocs if interpolation is in the mix. (mvz)
  * Fixed differentiation of `{ |a| ... }` vs `{ |a,| ... }`. Fixes #236 (whitequark).
  * Fixed lex_state for symbols.
  * Fixed lex_state for tSTRING_END and tREGEXP_END.
  * Fixed line numbers for BEGIN block. (mvz)
  * Fixed op_asgn1 w/ command_call having array instead of arglist. (mvz)
  * Fixed parsing of () in a command-call (eg p).
  * Fixed remaining missing line numbers by forcing extra checks during test and blowing up. They may still be wrong (esp after heredocs, ugh), but they're there! Special thank you to mvz for pushing on this and providing tests and PRs.
  * Fixed some lex_state versioning issues with closing braces/bracket on ruby<25.
  * Keep carriage return escapes in heredocs. (mvz)
  * Massive overhaul of line number code.
  * More line number fixes and extra tests from mvz. Thank you!
  * Parsing BEGIN block when not at top level should raise an error. (mvz)
  * Removed irb task from Rakefile as it has been pushed up to Hoe and doubles up here.


(taca)
diff -r1.31 -r1.32 pkgsrc/devel/ruby-parser/Makefile
diff -r1.28 -r1.29 pkgsrc/devel/ruby-parser/distinfo

cvs diff -r1.31 -r1.32 pkgsrc/devel/ruby-parser/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/ruby-parser/Makefile 2019/05/06 05:29:20 1.31
+++ pkgsrc/devel/ruby-parser/Makefile 2019/10/30 15:19:43 1.32
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile,v 1.31 2019/05/06 05:29:20 taca Exp $ 1# $NetBSD: Makefile,v 1.32 2019/10/30 15:19:43 taca Exp $
2 2
3DISTNAME= ruby_parser-3.13.1 3DISTNAME= ruby_parser-3.14.1
4PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:S/ruby_//} 4PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:S/ruby_//}
5CATEGORIES= devel 5CATEGORIES= devel
6 6
7MAINTAINER= pkgsrc-users@NetBSD.org 7MAINTAINER= pkgsrc-users@NetBSD.org
8HOMEPAGE= https://github.com/seattlerb/ruby_parser 8HOMEPAGE= https://github.com/seattlerb/ruby_parser
9COMMENT= Ruby parser written in pure ruby 9COMMENT= Ruby parser written in pure ruby
10LICENSE= mit 10LICENSE= mit
11 11
12DEPENDS+= ${RUBY_PKGPREFIX}-sexp-processor>=4.9<5:../../devel/ruby-sexp-processor 12DEPENDS+= ${RUBY_PKGPREFIX}-sexp-processor>=4.9<5:../../devel/ruby-sexp-processor
13 13
14USE_LANGUAGES= # none 14USE_LANGUAGES= # none
15 15
16RUBYGEM_OPTIONS+= --format-executable 16RUBYGEM_OPTIONS+= --format-executable

cvs diff -r1.28 -r1.29 pkgsrc/devel/ruby-parser/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/ruby-parser/distinfo 2019/05/06 05:29:20 1.28
+++ pkgsrc/devel/ruby-parser/distinfo 2019/10/30 15:19:43 1.29
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.28 2019/05/06 05:29:20 taca Exp $ 1$NetBSD: distinfo,v 1.29 2019/10/30 15:19:43 taca Exp $
2 2
3SHA1 (ruby_parser-3.13.1.gem) = e00d984fe9d13d5359981aca7baa579cd68ad27e 3SHA1 (ruby_parser-3.14.1.gem) = afc46d983a4be802338e9951eb67462e863e7c45
4RMD160 (ruby_parser-3.13.1.gem) = 6c93b1f720ab789176c02891cf312ff83c1a3783 4RMD160 (ruby_parser-3.14.1.gem) = 6f2b2d4a18d1369e7f89015d218ff1312912d388
5SHA512 (ruby_parser-3.13.1.gem) = 90c8b68245168c7df4ec8d0e6c62d9723d759945823768645614fe085f375c6811a15c35334c485cb59f32f6adb1aa0a06e7df043b09a48ef4e6102d93562b1b 5SHA512 (ruby_parser-3.14.1.gem) = 0bbbe8a85e1602fd26d2ea8d19d4e57933251ba94341cda79631f7f0e35ea8f3c5b0c2e6e8bc182340838737d508cc8142167917dbd35e0bdb005889f152d72c
6Size (ruby_parser-3.13.1.gem) = 445952 bytes 6Size (ruby_parser-3.14.1.gem) = 467968 bytes