pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/ruby-parser devel/ruby-parser: update to 3.13.1
details: https://anonhg.NetBSD.org/pkgsrc/rev/67b7b986f2ac
branches: trunk
changeset: 323197:67b7b986f2ac
user: taca <taca%pkgsrc.org@localhost>
date: Mon May 06 05:29:20 2019 +0000
description:
devel/ruby-parser: update to 3.13.1
=== 3.13.1 / 2019-03-25
* 1 major enhancement:
* Overhauled RubyLexer#lex_state to allow for multi-state value.
* 5 minor enhancements:
* Added RubyParser#current so scripts can poke around inside.
* Cleaned up and modernized bin/ruby_parse_extract_error.
* Removed RubyLexer#in_lex_state? in favor of State#=~ and #==.
* Renamed RubyLexer#in_arg_state? to is_after_operator?.
* Replaced all use of :expr_<*> symbols w/ bitfields.
* 15 bug fixes:
* Added tests to show #233 already fixed.
* Fixed a lexer state bug dealing with complex edge case in hash key w/ interpolated symbol and an array value. Not a great fix. (presidentbeef)
* Fixed a number of lex_state check problems.
* Fixed alias and undef keyword data.
* Fixed bug normalizing to utf-8 on tail of dstr (post-interpolation). (mvz)
* Fixed handling of hex chars for bare unicode escape. (mvz)
* Fixed handling of invalid string octals more gracefully. Needs generalization.
* Fixed lexing of regexps w/ backslashed unicode. I hope.
* Fixed parse_percent for EXPR_FITEM edge cases. Fixed bug #125.
* Fixed parsing of op_asgn on constants (eg ::X ||= 1).
* Fixed precedence of rescue modifier on assignments. (mvz/whitequark)
* Fixed some EXPR_FNAME edge cases.
* Fixed using unicode in gvars. Fixed bug 202. (331299)
* Handle invalid string literals more gracefully.
* Minor fix lexing %s[]
=== 3.13.0 / 2019-03-12
* 3 major enhancements:
* Removed 1.8 and 1.9 support. Moved to ruby_parser-legacy gem.
* Added tentative 2.6 support.
* Updated ruby_parser.yy to ruby 2.4 architecture.
* 22 minor enhancements:
* Added debug3 and cmp3 rake tasks that use the above tools.
* Added tLONELY to compare/normalize.rb
* Added tools/munge.rb, tools/ripper.rb, and debugging.md
* 2.6: Added trailing .. and ... support.
* Extended StackState to log more state changes, making debugging easier.
* Extended StackState#store to take an initial value.
* Improved logging / debugging in StackState.
* Improved normalization and parser compare tasks.
* Improved tools/munge.rb output.
* In f_arglist, track in_kwarg if no parens.
* In process_newline_or_comment, handle NL if in_kwarg there vs normal.
* Refactored normalized values to WORDLIST.
* Refactored parser: push up to relop and rel_expr.
* Removed Keyword.keyword18.
* Removed RubyLexer version attr_accessors.
* Removed long dead deprecations internal to RubyParserStuff.
* Removed version arg to RubyLexer#initialize (default nil + no-op).
* Renamed Keyword.keyword19 to Keyword.keyword.
* Renamed process_bracing to process_brace_close
* Renamed process_curly_brace to process_brace_open
* Report first parse error message if all parser versions fail, not last.
* Updated parser to track against 2.6.
* 11 bug fixes:
* Fix some shift/reduce errors.
* Fixed BEGIN blocks having different arg value that END blocks. (mvz)
* Fixed all reported unused non-terminals/rules.
* Fixed bug 272.
* Fixed bug in interpolated symbol lists. (strviola)
* Fixed bug where block shadow arguments were not registered as lvars. (akimd)
* Fixed bug where kwsplat args weren't treated as lvars. (mvz)
* Fixed lex_state and other internals in many cases.
* Fixed shebang in compare/normalize.rb to use env. Avoids rubygems freaking.
* Fixed some more internal state bugs.
* Fixed tRCURLY -> tSTRING_DEND for interpolation brace closes.
diffstat:
devel/ruby-parser/Makefile | 4 ++--
devel/ruby-parser/PLIST | 11 ++++++-----
devel/ruby-parser/distinfo | 10 +++++-----
3 files changed, 13 insertions(+), 12 deletions(-)
diffs (67 lines):
diff -r 0b59d6ce0e17 -r 67b7b986f2ac devel/ruby-parser/Makefile
--- a/devel/ruby-parser/Makefile Mon May 06 05:28:33 2019 +0000
+++ b/devel/ruby-parser/Makefile Mon May 06 05:29:20 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.30 2018/12/17 14:50:34 taca Exp $
+# $NetBSD: Makefile,v 1.31 2019/05/06 05:29:20 taca Exp $
-DISTNAME= ruby_parser-3.12.0
+DISTNAME= ruby_parser-3.13.1
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:S/ruby_//}
CATEGORIES= devel
diff -r 0b59d6ce0e17 -r 67b7b986f2ac devel/ruby-parser/PLIST
--- a/devel/ruby-parser/PLIST Mon May 06 05:28:33 2019 +0000
+++ b/devel/ruby-parser/PLIST Mon May 06 05:29:20 2019 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.14 2018/03/14 14:08:52 taca Exp $
+@comment $NetBSD: PLIST,v 1.15 2019/05/06 05:29:20 taca Exp $
bin/ruby_parse${RUBY_SUFFIX}
bin/ruby_parse_extract_error${RUBY_SUFFIX}
${GEM_HOME}/cache/${GEM_NAME}.gem
@@ -10,13 +10,10 @@
${GEM_LIBDIR}/bin/ruby_parse
${GEM_LIBDIR}/bin/ruby_parse_extract_error
${GEM_LIBDIR}/compare/normalize.rb
+${GEM_LIBDIR}/debugging.md
${GEM_LIBDIR}/lib/.document
${GEM_LIBDIR}/lib/rp_extensions.rb
${GEM_LIBDIR}/lib/rp_stringscanner.rb
-${GEM_LIBDIR}/lib/ruby18_parser.rb
-${GEM_LIBDIR}/lib/ruby18_parser.y
-${GEM_LIBDIR}/lib/ruby19_parser.rb
-${GEM_LIBDIR}/lib/ruby19_parser.y
${GEM_LIBDIR}/lib/ruby20_parser.rb
${GEM_LIBDIR}/lib/ruby20_parser.y
${GEM_LIBDIR}/lib/ruby21_parser.rb
@@ -29,6 +26,8 @@
${GEM_LIBDIR}/lib/ruby24_parser.y
${GEM_LIBDIR}/lib/ruby25_parser.rb
${GEM_LIBDIR}/lib/ruby25_parser.y
+${GEM_LIBDIR}/lib/ruby26_parser.rb
+${GEM_LIBDIR}/lib/ruby26_parser.y
${GEM_LIBDIR}/lib/ruby_lexer.rb
${GEM_LIBDIR}/lib/ruby_lexer.rex
${GEM_LIBDIR}/lib/ruby_lexer.rex.rb
@@ -38,4 +37,6 @@
${GEM_LIBDIR}/test/test_ruby_lexer.rb
${GEM_LIBDIR}/test/test_ruby_parser.rb
${GEM_LIBDIR}/test/test_ruby_parser_extras.rb
+${GEM_LIBDIR}/tools/munge.rb
+${GEM_LIBDIR}/tools/ripper.rb
${GEM_HOME}/specifications/${GEM_NAME}.gemspec
diff -r 0b59d6ce0e17 -r 67b7b986f2ac devel/ruby-parser/distinfo
--- a/devel/ruby-parser/distinfo Mon May 06 05:28:33 2019 +0000
+++ b/devel/ruby-parser/distinfo Mon May 06 05:29:20 2019 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.27 2018/12/17 14:50:34 taca Exp $
+$NetBSD: distinfo,v 1.28 2019/05/06 05:29:20 taca Exp $
-SHA1 (ruby_parser-3.12.0.gem) = 9e1b49226a7cb319d7077d804bccd19decec6997
-RMD160 (ruby_parser-3.12.0.gem) = 6662832704d5b86d467427e931c0fba0e8768917
-SHA512 (ruby_parser-3.12.0.gem) = 338bb68decb844ad08c68080a34d1d1cc4c72c8021afa93f2dcdac1d108666680e5cffa23e55ccf91ca154527e751bb80204eda1ebcc178ba797a5ad8563d4de
-Size (ruby_parser-3.12.0.gem) = 463872 bytes
+SHA1 (ruby_parser-3.13.1.gem) = e00d984fe9d13d5359981aca7baa579cd68ad27e
+RMD160 (ruby_parser-3.13.1.gem) = 6c93b1f720ab789176c02891cf312ff83c1a3783
+SHA512 (ruby_parser-3.13.1.gem) = 90c8b68245168c7df4ec8d0e6c62d9723d759945823768645614fe085f375c6811a15c35334c485cb59f32f6adb1aa0a06e7df043b09a48ef4e6102d93562b1b
+Size (ruby_parser-3.13.1.gem) = 445952 bytes
Home |
Main Index |
Thread Index |
Old Index