From 599a51cd4d078959cf167b04df09f1c1ed04cbd608f63c31ebcf679db81574f9 Mon Sep 17 00:00:00 2001 From: Flavio Castelli Date: Tue, 17 Apr 2012 10:19:24 +0000 Subject: [PATCH] Accepting request 114094 from openSUSE:Tools:Unstable OBS-URL: https://build.opensuse.org/request/show/114094 OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-ruby_parser?expand=0&rev=8 --- ruby_parser-2.0.5.gem | 3 --- ruby_parser-2.3.1.gem | 3 +++ rubygem-ruby_parser.changes | 24 ++++++++++++++++++++++++ rubygem-ruby_parser.spec | 13 +++++++------ 4 files changed, 34 insertions(+), 9 deletions(-) delete mode 100644 ruby_parser-2.0.5.gem create mode 100644 ruby_parser-2.3.1.gem diff --git a/ruby_parser-2.0.5.gem b/ruby_parser-2.0.5.gem deleted file mode 100644 index e1068e6..0000000 --- a/ruby_parser-2.0.5.gem +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:aa7cac9cbce1f494c2007957c67c4f126e3b586864718c9c27ae7869f29573b1 -size 79360 diff --git a/ruby_parser-2.3.1.gem b/ruby_parser-2.3.1.gem new file mode 100644 index 0000000..8e0364a --- /dev/null +++ b/ruby_parser-2.3.1.gem @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d9a4daeb41da89db62c6ba4d31facedac7b181fa5c3ba20b4256bad8cb4fc434 +size 80384 diff --git a/rubygem-ruby_parser.changes b/rubygem-ruby_parser.changes index 630186a..3424780 100644 --- a/rubygem-ruby_parser.changes +++ b/rubygem-ruby_parser.changes @@ -1,3 +1,27 @@ +------------------------------------------------------------------- +Mon Apr 9 18:41:31 UTC 2012 - coolo@suse.com + +- update to 2.3.1 + + * Fixed line numbers at end of special var+whitespace (larsch) + * Holy crap I was smokin' something good... Fixed 1.9.3 warning + * Add -g flag to parser compile if DEBUG + * Lexer now embeds line number in yacc_value for keywords, helping fix up line numbers + * Fix method line numbers when no args and no parens (quix) + * Fixed line numbers on return/break/next w/ result expr. (pjnz) + * Fixed some lexing state in order to parse: 'f (1), 2' as 'f(1, 2)'. (invernizzi) + * Moved Keyword, Environment, and StackState inside of RubyParser + * Added proper dsym and dsym->sym support. + * Added extra (failing) tests for call/iter line number checking (quix) + * Fixed line numbers for certain call/iter edge cases + * Fixed parsing of: alias :"<<" :">>". + * Added new accessor canonicalize_conditions to toggle conditional canonicalization (on by default). (confused) + * Awesome cleanup: Replaced call to append_block by block_append. (Confusion) + * Fixed handling last line of =begin/=end. (raybaxter) + * Fixed source line numbers after heredocs. (jbarreneche) + * Switched to hoe's racc plugin to clean up rakefile and builds + * Fixed empty =begin/end. + ------------------------------------------------------------------- Mon Mar 26 15:09:44 UTC 2012 - cfarrell@suse.com diff --git a/rubygem-ruby_parser.spec b/rubygem-ruby_parser.spec index acfd469..aac744e 100644 --- a/rubygem-ruby_parser.spec +++ b/rubygem-ruby_parser.spec @@ -1,7 +1,7 @@ # -# spec file for package rubygem-ruby_parser (Version 2.0.5) +# spec file for package rubygem-ruby_parser # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,14 +15,12 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild + Name: rubygem-ruby_parser -Version: 2.0.5 +Version: 2.3.1 Release: 0 %define mod_name ruby_parser # -Group: Development/Languages/Ruby -License: MIT # BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: rubygems_with_buildroot_patch @@ -34,6 +32,9 @@ Url: http://parsetree.rubyforge.org/ Source: %{mod_name}-%{version}.gem # Summary: ruby_parser (RP) is a ruby parser written in pure ruby (utilizing racc--which does by default use a C extension) +License: MIT +Group: Development/Languages/Ruby + %description ruby_parser (RP) is a ruby parser written in pure ruby (utilizing racc--which does by default use a C extension). RP's output is