Hello community,

here is the log from the commit of package rubygem-ruby_parser for 
openSUSE:Factory checked in at 2014-02-12 21:51:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-ruby_parser (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-ruby_parser.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-ruby_parser"

Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-ruby_parser/rubygem-ruby_parser.changes  
2013-08-04 23:52:43.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-ruby_parser.new/rubygem-ruby_parser.changes 
    2014-02-12 21:51:59.000000000 +0100
@@ -1,0 +2,77 @@
+Thu Feb  6 18:00:20 UTC 2014 - [email protected]
+
+- updated to version 3.4.0
+ * 1 major enhancement:
+ 
+   * Replaced hand-written/optimized f'd-up lexer with an oedipus_lex
+     generated lexer. This makes it roughly 40-50% faster.
+ 
+ * 30 minor enhancements:
+ 
+   * 2.0: Added support for a.b c() do d end.e do |f| g end
+   * 2.0: Added support for a.b c() do d end.e f do |g| h end
+   * Added -s flag to ruby_parse_extract_error to output timings.
+   * Added RubyLexer #command_state and #last_state to deal with oedipus_lex 
differences.
+   * Added String#lineno and #lineno= because I'm a bad bad person.
+   * Added a bunch of RubyLexer scanning methods: beginning_of_line?, check, 
scan, etc.
+   * Added a bunch of process_* methods extracted from old yylex. 
process_amper, etc.
+   * Added lib/.document to save my laptop's battery from pain and suffering
+   * Adjust lineno when we lex a bunch of blank lines.
+   * Attach lineno to tIDENTIFIER values (strings, ugh)
+   * Cleaned up and re-ordered node_assign to be faster (ordered by actual 
occurrance).
+   * Extend RubyParserStuff#gettable to set the lineno if it comes in with the 
id.
+   * Extended RubyParserStuff#new_case to take line number.
+   * Finally dropped RPStringScanner's BS #current_line.
+   * Finally dropped RPStringScanner's BS line number calculation (lineno). 
+   * Implemented Sexp#add_all since we now have a test case for it.
+   * Removed :call case of node_assign. I don't think it is possible.
+   * Removed RubyLexer #extra_lines_added. No longer used. Complex heredoc 
lineno's possible screwed up.
+   * Removed RubyLexer#parse_number. Handled by oedipus_lex.
+   * Removed RubyLexer#yacc_value now that next_token returns pairs.
+   * Removed RubyLexer's @src. Now taken care of by oedipus_lex.
+   * Removed RubyParser#advance. RubyParser#next_token takes care of 
everything now.
+   * Removed RubyParserExtras#arg_add. (presidentbeef! YAY!)
+   * Removed lib/gauntlet_rubyparser.rb. I just don't use it anymore. Too slow.
+   * RubyLexer#is_label_possible? doesn't need an arg
+
+-------------------------------------------------------------------
+Mon Jan 20 09:29:11 UTC 2014 - [email protected]
+
+- updated to version 3.3.0
+ * Notes:
+ 
+ 39 files failed to parse out of ~834k files makes this 99.9953% or 4.07σ.
+ 
+ * 15 minor enhancements:
+ 
+   * 2.0: Parse kwarg as lvars. (chastell)
+   * Added RubyLexer#beginning_of_line?, check(re), end_of_stream?
+   * Added RubyLexer#process_token_keyword.
+   * Added RubyLexer#scan, #matched, #beginning_of_line? and others to 
decouple from internals.
+   * Added lexing of \u### and \u{###}."
+   * Added optimizations for simple quoted symbols.
+   * Aliased Lexer#src to ss (since that is what it is).
+   * Allow for 20 in parser class name.
+   * Modified parsers line number calculations for defn nodes.
+   * Removed Env#dynamic, #dynamic?, #use, #used?
+   * Removed RubyLexer#tern. Introduced and disused during 3.0 alpha. 
(whitequark)
+   * Removed unused RubyLexer#warnings.
+   * Renamed *_RE consts to just * (IDENT_CHAR, ESC, etc).
+   * new_defn now sets arg node line number directly.
+   * zero byte is allowed in symbols for 1.9 / 2.0.
+ 
+ * 11 bug fixes:
+ 
+   * 2.0: Fixed paren-less kwargs in defn.
+   * Don't bother with regexp encoding options on 1.9+ to avoid warnings.
+   * Fix constant re-build on ruby 2.0 + rake 10.
+   * Fix lexing of %i with extra whitespace. (flori)
+   * Fixed RubyParserStuff#new_body to deal with nonsensical code better 
(begin-empty+else). (snatchev)
+   * Fixed bug lexing h[k]=begin ... end. Use your space bars people!
+   * Fixed env scoping in new lambdas.
+   * Fixed handling of single array arg in attrasgn.
+   * Fixed test to call RubyLexer#reset between assertions.
+   * No longer assigning ivar/cvars to env. Only locals should be in env.
+   * Refactored initialize and reset to more properly re-initialize as needed.
+
+-------------------------------------------------------------------

Old:
----
  ruby_parser-3.2.2.gem

New:
----
  ruby_parser-3.4.0.gem

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ rubygem-ruby_parser.spec ++++++
--- /var/tmp/diff_new_pack.nUFK9T/_old  2014-02-12 21:52:00.000000000 +0100
+++ /var/tmp/diff_new_pack.nUFK9T/_new  2014-02-12 21:52:00.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-ruby_parser
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 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
@@ -17,15 +17,15 @@
 
 
 Name:           rubygem-ruby_parser
-Version:        3.2.2
+Version:        3.4.0
 Release:        0
 %define mod_name ruby_parser
 %define mod_full_name %{mod_name}-%{version}
 %define mod_branch -%{version}
-%define mod_weight 30202
+%define mod_weight 30400
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  ruby-macros >= 1
+BuildRequires:  ruby-macros >= 3
 BuildRequires:  update-alternatives
 BuildRequires:  rubygem(rdoc) > 3.10
 Url:            https://github.com/seattlerb/ruby_parser
@@ -93,8 +93,8 @@
 ln -s %{_sysconfdir}/alternatives/ruby_parse_extract_error 
%{buildroot}%{_bindir}/ruby_parse_extract_error
 
 mkdir -p %{buildroot}%{_docdir}/%{name}
-ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/History.txt 
%buildroot/%{_docdir}/%{name}/History.txt
-ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/README.txt 
%buildroot/%{_docdir}/%{name}/README.txt
+ln -s %{gem_base}/gems/%{mod_full_name}/History.txt 
%buildroot/%{_docdir}/%{name}/History.txt
+ln -s %{gem_base}/gems/%{mod_full_name}/README.txt 
%buildroot/%{_docdir}/%{name}/README.txt
 
 %post
 /usr/sbin/update-alternatives --install \
@@ -119,17 +119,17 @@
 %{_bindir}/ruby_parse_extract_error%{mod_branch}
 %{_bindir}/ruby_parse_extract_error
 %ghost %{_sysconfdir}/alternatives/ruby_parse_extract_error
-%{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_full_name}.gem
-%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/
-%exclude %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/test
-%{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_full_name}.gemspec
+%{gem_base}/cache/%{mod_full_name}.gem
+%{gem_base}/gems/%{mod_full_name}/
+%exclude %{gem_base}/gems/%{mod_full_name}/test
+%{gem_base}/specifications/%{mod_full_name}.gemspec
 
 %files doc
 %defattr(-,root,root,-)
-%doc %{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_full_name}/
+%doc %{gem_base}/doc
 
 %files testsuite
 %defattr(-,root,root,-)
-%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/test
+%{gem_base}/gems/%{mod_full_name}/test
 
 %changelog

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to