Hello community,

here is the log from the commit of package rubygem-ruby_parser for 
openSUSE:Factory checked in at 2013-08-04 20:42:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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-04-29 09:59:04.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-ruby_parser.new/rubygem-ruby_parser.changes 
    2013-08-04 23:52:43.000000000 +0200
@@ -1,0 +2,53 @@
+Tue Jul 30 18:46:52 UTC 2013 - [email protected]
+
+- updated to version 3.2.2
+ 
+ * 5 bug fixes:
+ 
+   * 1.9/2.0: fixed assocs in return args. (presidentbeef)
+   * Fixed handling of parse error when class is nested in multiple defs. 
(whitequark)
+   * Fixed lexing of %w[] w/ funny whitespace separators. (whitequark)
+   * Fixed more call nodes that have trailing comma syntax. (presidentbeef)
+   * Fixed more call_args slippage.
+ 
+ === 3.2.1 / 2013-07-03
+ 
+ * 1 bug fix:
+ 
+   * 1.9/2.0: Trailing assocs were being munged into arrays. (presidentbeef)
+ 
+ === 3.2.0 / 2013-07-02
+ 
+ * 1 major enhancement:
+ 
+   * Added (rough draft) 2.0 support. Still missing some small / rare things.
+ 
+ * 12 minor enhancements:
+ 
+   * Added %i(symbol-names...) support. (%I too)
+   * Added 140 more tests, jumping test count from 1376 to 2143. Yay for test 
reuse!
+   * Added RubyLexer#brace_nest.
+   * Added compare20 rake task to diff the grammar architecture against MRI.
+   * Added lpar_beg and paren_nest to lexer to track state of parens in 
stabbies
+   * Added shadow nodes for scoped block args.
+   * Compound RubyParser now defaults to 2.0.
+   * Fixed rake to < 10, because 10's file dependency handling is so very 
broken.
+   * Made it possible to specify version in bin/ruby_parse_extract_error w/ -v 
18|19|20
+   * Refactored to RubyParserStuff::ENCODING_ORDER to allow custom tweaking of 
encoding guessing. (samlown)
+   * Switched `rake debug` to default to 2.0.
+   * Translated some fixes across 1.8 and 1.9 from 2.0.
+ 
+ * 42 bug fixes:
+ 
+   * 2.0: Fixed a number of block args scenarios w/ kwargs
+   * 2.0: Fixed args_tail mismatching against lexer.
+   * 2.0: Fixed assocs to return a hash node.
+   * 2.0: Fixed f_block_kw production.
+   * 2.0: Fixed f_block_kwarg production.
+   * 2.0: Fixed handling of stabby proc args in parens.
+   * 2.0: Fixed lexing of kwsplat nodes.
+   * 2.0: Implemented kwsplat nodes.
+   * Added tUBANG to lexer.
+   ...
+
+-------------------------------------------------------------------

Old:
----
  ruby_parser-3.1.3.gem

New:
----
  ruby_parser-3.2.2.gem

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

Other differences:
------------------
++++++ rubygem-ruby_parser.spec ++++++
--- /var/tmp/diff_new_pack.U0qo0P/_old  2013-08-04 23:52:44.000000000 +0200
+++ /var/tmp/diff_new_pack.U0qo0P/_new  2013-08-04 23:52:44.000000000 +0200
@@ -17,21 +17,22 @@
 
 
 Name:           rubygem-ruby_parser
-Version:        3.1.3
+Version:        3.2.2
 Release:        0
 %define mod_name ruby_parser
 %define mod_full_name %{mod_name}-%{version}
+%define mod_branch -%{version}
+%define mod_weight 30202
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  ruby-macros >= 1
+BuildRequires:  update-alternatives
 BuildRequires:  rubygem(rdoc) > 3.10
 Url:            https://github.com/seattlerb/ruby_parser
 Source:         http://rubygems.org/gems/%{mod_full_name}.gem
 Summary:        ruby_parser (RP) is a ruby parser written in pure ruby 
(utilizing
 License:        MIT
 Group:          Development/Languages/Ruby
-%define mod_branch -3.1.3
-%define mod_weight 3
 PreReq:         update-alternatives
 
 %description
@@ -51,6 +52,10 @@
 s(:return, s(:lit, 1)),
 nil),
 s(:return, s(:lit, 0)))
+Tested against 801,039 files from the latest of all rubygems (as of 2013-05):
+* 1.8 parser is at 99.9739% accuracy, 3.651 sigma
+* 1.9 parser is at 99.9940% accuracy, 4.013 sigma
+* 2.0 parser is at 99.9939% accuracy, 4.008 sigma
 
 %package doc
 Summary:        RDoc documentation for %{mod_name}
@@ -78,10 +83,18 @@
 
 %install
 %gem_install -f
+mkdir -p %{buildroot}%{_sysconfdir}/alternatives
 mv %{buildroot}%{_bindir}/ruby_parse{,%{mod_branch}}
-ln -s ruby_parse%{mod_branch} %{buildroot}%{_bindir}/ruby_parse
+touch %{buildroot}%{_sysconfdir}/alternatives/ruby_parse
+ln -s %{_sysconfdir}/alternatives/ruby_parse %{buildroot}%{_bindir}/ruby_parse
+
 mv %{buildroot}%{_bindir}/ruby_parse_extract_error{,%{mod_branch}}
-ln -s ruby_parse_extract_error%{mod_branch} 
%{buildroot}%{_bindir}/ruby_parse_extract_error
+touch %{buildroot}%{_sysconfdir}/alternatives/ruby_parse_extract_error
+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
 
 %post
 /usr/sbin/update-alternatives --install \
@@ -99,10 +112,13 @@
 
 %files
 %defattr(-,root,root,-)
+%{_docdir}/%{name}
 %{_bindir}/ruby_parse%{mod_branch}
-%ghost %{_bindir}/ruby_parse
+%{_bindir}/ruby_parse
+%ghost %{_sysconfdir}/alternatives/ruby_parse
 %{_bindir}/ruby_parse_extract_error%{mod_branch}
-%ghost %{_bindir}/ruby_parse_extract_error
+%{_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

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

Reply via email to