pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/ruby-parser Update ruby-parser to 3.9.0.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c185ea31b731
branches:  trunk
changeset: 361487:c185ea31b731
user:      taca <taca%pkgsrc.org@localhost>
date:      Sat Apr 22 16:25:55 2017 +0000

description:
Update ruby-parser to 3.9.0.

=== 3.9.0 / 2017-04-13

* 1 major enhancement:

  * Added tentative ruby 2.4 support. Probably missing things.

* 13 minor enhancements:

  * Added RubyParser.latest.
  * Added RubyParser::Parser.version to make version range comparisons easier
  * Changed superclasses of all parsers to RubyParser::Parser
  * Cleaned up a lot of the version specific code to be more generic/flexible.
  * Documented how to add new versions in README.
  * Moved RubyParser from ruby_parser_extras.rb into ruby_parser.rb to fix bootstrap issues.
  * Renamed RubyParserStuff#get_match_node to new_match. Aliased and deprecated.
  * Renamed RubyParserStuff#logop to logical_op. Aliased and deprecated.
  * Renamed RubyParserStuff#node_assign to new_assign. Aliased and deprecated.
  * Renamed all parsers to RubyParser::V##.
  * Revamped grammar preprocessing to make adding new versions easier.
  * RubyParser.for_current_ruby falls back to latest if current not available.
  * Subclasses of RubyParser::Parser register themselves into RubyParser::VERSIONS.

* 4 bug fixes:

  * Fixed `&.` after newline. (presidentbeef)
  * Fixed bug setting line number for hash literals to line of opening brace.
  * Fixed grammar preprocessing bug.
  * Properly handle kDO with no-parens stabby lambda. (presidentbeef)

diffstat:

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

diffs (56 lines):

diff -r 61d03a4495c2 -r c185ea31b731 devel/ruby-parser/Makefile
--- a/devel/ruby-parser/Makefile        Sat Apr 22 16:25:12 2017 +0000
+++ b/devel/ruby-parser/Makefile        Sat Apr 22 16:25:55 2017 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.26 2017/03/19 17:00:05 taca Exp $
+# $NetBSD: Makefile,v 1.27 2017/04/22 16:25:55 taca Exp $
 
-DISTNAME=      ruby_parser-3.8.4
+DISTNAME=      ruby_parser-3.9.0
 PKGNAME=       ${RUBY_PKGPREFIX}-${DISTNAME:S/ruby_//}
 CATEGORIES=    devel
 
diff -r 61d03a4495c2 -r c185ea31b731 devel/ruby-parser/PLIST
--- a/devel/ruby-parser/PLIST   Sat Apr 22 16:25:12 2017 +0000
+++ b/devel/ruby-parser/PLIST   Sat Apr 22 16:25:55 2017 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.12 2017/03/19 17:00:05 taca Exp $
+@comment $NetBSD: PLIST,v 1.13 2017/04/22 16:25:55 taca Exp $
 bin/ruby_parse${RUBY_SUFFIX}
 bin/ruby_parse_extract_error${RUBY_SUFFIX}
 ${GEM_HOME}/cache/${GEM_NAME}.gem
@@ -9,7 +9,10 @@
 ${GEM_LIBDIR}/Rakefile
 ${GEM_LIBDIR}/bin/ruby_parse
 ${GEM_LIBDIR}/bin/ruby_parse_extract_error
+${GEM_LIBDIR}/compare/normalize.rb
 ${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
@@ -22,6 +25,8 @@
 ${GEM_LIBDIR}/lib/ruby22_parser.y
 ${GEM_LIBDIR}/lib/ruby23_parser.rb
 ${GEM_LIBDIR}/lib/ruby23_parser.y
+${GEM_LIBDIR}/lib/ruby24_parser.rb
+${GEM_LIBDIR}/lib/ruby24_parser.y
 ${GEM_LIBDIR}/lib/ruby_lexer.rb
 ${GEM_LIBDIR}/lib/ruby_lexer.rex
 ${GEM_LIBDIR}/lib/ruby_lexer.rex.rb
diff -r 61d03a4495c2 -r c185ea31b731 devel/ruby-parser/distinfo
--- a/devel/ruby-parser/distinfo        Sat Apr 22 16:25:12 2017 +0000
+++ b/devel/ruby-parser/distinfo        Sat Apr 22 16:25:55 2017 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.23 2017/03/19 17:00:05 taca Exp $
+$NetBSD: distinfo,v 1.24 2017/04/22 16:25:55 taca Exp $
 
-SHA1 (ruby_parser-3.8.4.gem) = bb5c8184527db0ac27226324f1405d7f121728a4
-RMD160 (ruby_parser-3.8.4.gem) = 65c472a5650747c04a6b431a4c2dbde178fdc6db
-SHA512 (ruby_parser-3.8.4.gem) = cb0b14cc41a84cf1a96fa942a8b3aed2c64e026fb5294a236d53d53fcce50330a5eb2d1f92101e64fcbc31c5a4fdb026a6d6dc4dff20772b174425ebeb398fee
-Size (ruby_parser-3.8.4.gem) = 361984 bytes
+SHA1 (ruby_parser-3.9.0.gem) = c6c3384bd81410245b64b8066b1ea05443d00bee
+RMD160 (ruby_parser-3.9.0.gem) = 0f095523e742360e4ade5910d9781c9932af8ece
+SHA512 (ruby_parser-3.9.0.gem) = f609084d82caf4c33a40b64ee9df473375f00c59a34ec5b419f155a54a7fb9436ffb77ace406a01974c6c0d7b11b97447da0b3053c1fd87c66eb0406a0150312
+Size (ruby_parser-3.9.0.gem) = 411648 bytes



Home | Main Index | Thread Index | Old Index