diff --git a/ruby_parser-3.2.2.gem b/ruby_parser-3.2.2.gem deleted file mode 100644 index d48a524..0000000 --- a/ruby_parser-3.2.2.gem +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:117d814b406876a8b6a85a28e2745de524924edefced9233d597bae6fefd7fcb -size 198656 diff --git a/ruby_parser-3.3.0.gem b/ruby_parser-3.3.0.gem new file mode 100644 index 0000000..01c33aa --- /dev/null +++ b/ruby_parser-3.3.0.gem @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1a4d3a0eb26d33dedacc1e3d125ae7578d23e6f4d98bdcdf7c2f5a55569d5578 +size 198656 diff --git a/rubygem-ruby_parser.changes b/rubygem-ruby_parser.changes index 981552e..db1f89c 100644 --- a/rubygem-ruby_parser.changes +++ b/rubygem-ruby_parser.changes @@ -1,3 +1,43 @@ +------------------------------------------------------------------- +Mon Jan 20 09:29:11 UTC 2014 - coolo@suse.com + +- 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. + ------------------------------------------------------------------- Tue Jul 30 18:46:52 UTC 2013 - coolo@suse.com diff --git a/rubygem-ruby_parser.spec b/rubygem-ruby_parser.spec index 5a627e3..5636ff2 100644 --- a/rubygem-ruby_parser.spec +++ b/rubygem-ruby_parser.spec @@ -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.3.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 30300 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 @@ 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 +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 @@ fi %{_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