commit rubygem-ruby_parser for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-ruby_parser for openSUSE:Factory checked in at 2015-10-30 21:52:59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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 2015-09-30 05:48:56.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-ruby_parser.new/rubygem-ruby_parser.changes 2015-10-30 21:53:00.000000000 +0100 @@ -1,0 +2,12 @@ +Tue Oct 27 05:31:29 UTC 2015 - coolo@suse.com + +- updated to version 3.7.2 + see installed History.txt + + === 3.7.2 / 2015-10-26 + + * 1 bug fix: + + * I hate regexen. Fixed a lexing bug confusing strings vs labels. (phiggins) + +------------------------------------------------------------------- Old: ---- ruby_parser-3.7.1.gem New: ---- ruby_parser-3.7.2.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-ruby_parser.spec ++++++ --- /var/tmp/diff_new_pack.Ae7GTO/_old 2015-10-30 21:53:01.000000000 +0100 +++ /var/tmp/diff_new_pack.Ae7GTO/_new 2015-10-30 21:53:01.000000000 +0100 @@ -24,7 +24,7 @@ # Name: rubygem-ruby_parser -Version: 3.7.1 +Version: 3.7.2 Release: 0 %define mod_name ruby_parser %define mod_full_name %{mod_name}-%{version} ++++++ ruby_parser-3.7.1.gem -> ruby_parser-3.7.2.gem ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/History.txt new/History.txt --- old/History.txt 2015-08-06 23:31:41.000000000 +0200 +++ new/History.txt 2015-10-26 23:42:46.000000000 +0100 @@ -1,3 +1,9 @@ +=== 3.7.2 / 2015-10-26 + +* 1 bug fix: + + * I hate regexen. Fixed a lexing bug confusing strings vs labels. (phiggins) + === 3.7.1 / 2015-08-06 * 1 minor enhancement: Files old/checksums.yaml.gz and new/checksums.yaml.gz differ Files old/checksums.yaml.gz.sig and new/checksums.yaml.gz.sig differ Files old/data.tar.gz.sig and new/data.tar.gz.sig differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/ruby18_parser.rb new/lib/ruby18_parser.rb --- old/lib/ruby18_parser.rb 2015-08-06 23:31:41.000000000 +0200 +++ new/lib/ruby18_parser.rb 2015-10-26 23:42:46.000000000 +0100 @@ -1,6 +1,6 @@ # # DO NOT MODIFY!!!! -# This file is automatically generated by Racc 1.4.12 +# This file is automatically generated by Racc 1.4.13 # from Racc grammer file "". # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/ruby19_parser.rb new/lib/ruby19_parser.rb --- old/lib/ruby19_parser.rb 2015-08-06 23:31:41.000000000 +0200 +++ new/lib/ruby19_parser.rb 2015-10-26 23:42:46.000000000 +0100 @@ -1,6 +1,6 @@ # # DO NOT MODIFY!!!! -# This file is automatically generated by Racc 1.4.12 +# This file is automatically generated by Racc 1.4.13 # from Racc grammer file "". # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/ruby20_parser.rb new/lib/ruby20_parser.rb --- old/lib/ruby20_parser.rb 2015-08-06 23:31:41.000000000 +0200 +++ new/lib/ruby20_parser.rb 2015-10-26 23:42:46.000000000 +0100 @@ -1,6 +1,6 @@ # # DO NOT MODIFY!!!! -# This file is automatically generated by Racc 1.4.12 +# This file is automatically generated by Racc 1.4.13 # from Racc grammer file "". # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/ruby21_parser.rb new/lib/ruby21_parser.rb --- old/lib/ruby21_parser.rb 2015-08-06 23:31:42.000000000 +0200 +++ new/lib/ruby21_parser.rb 2015-10-26 23:42:47.000000000 +0100 @@ -1,6 +1,6 @@ # # DO NOT MODIFY!!!! -# This file is automatically generated by Racc 1.4.12 +# This file is automatically generated by Racc 1.4.13 # from Racc grammer file "". # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/ruby22_parser.rb new/lib/ruby22_parser.rb --- old/lib/ruby22_parser.rb 2015-08-06 23:31:42.000000000 +0200 +++ new/lib/ruby22_parser.rb 2015-10-26 23:42:47.000000000 +0100 @@ -1,6 +1,6 @@ # # DO NOT MODIFY!!!! -# This file is automatically generated by Racc 1.4.12 +# This file is automatically generated by Racc 1.4.13 # from Racc grammer file "". # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/ruby_lexer.rb new/lib/ruby_lexer.rb --- old/lib/ruby_lexer.rb 2015-08-06 23:31:42.000000000 +0200 +++ new/lib/ruby_lexer.rb 2015-10-26 23:42:47.000000000 +0100 @@ -668,10 +668,10 @@ end def process_label_or_string text - if @was_label && text =~ /:$/ then + if @was_label && text =~ /:\Z/ then @was_label = nil return process_label text - elsif text =~ /:$/ then + elsif text =~ /:\Z/ then ss.pos -= 1 # put back ":" text = text[0..-2] end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/ruby_parser_extras.rb new/lib/ruby_parser_extras.rb --- old/lib/ruby_parser_extras.rb 2015-08-06 23:31:42.000000000 +0200 +++ new/lib/ruby_parser_extras.rb 2015-10-26 23:42:47.000000000 +0100 @@ -91,7 +91,7 @@ end module RubyParserStuff - VERSION = "3.7.1" unless constants.include? "VERSION" # SIGH + VERSION = "3.7.2" unless constants.include? "VERSION" # SIGH attr_accessor :lexer, :in_def, :in_single, :file attr_reader :env, :comments diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata 2015-08-06 23:31:41.000000000 +0200 +++ new/metadata 2015-10-26 23:42:46.000000000 +0100 @@ -1,7 +1,7 @@ --- !ruby/object:Gem::Specification name: ruby_parser version: !ruby/object:Gem::Version - version: 3.7.1 + version: 3.7.2 platform: ruby authors: - Ryan Davis @@ -10,9 +10,9 @@ cert_chain: - | -----BEGIN CERTIFICATE----- - MIIDPjCCAiagAwIBAgIBAjANBgkqhkiG9w0BAQUFADBFMRMwEQYDVQQDDApyeWFu + MIIDPjCCAiagAwIBAgIBAzANBgkqhkiG9w0BAQUFADBFMRMwEQYDVQQDDApyeWFu ZC1ydWJ5MRkwFwYKCZImiZPyLGQBGRYJemVuc3BpZGVyMRMwEQYKCZImiZPyLGQB - GRYDY29tMB4XDTE0MDkxNzIzMDcwN1oXDTE1MDkxNzIzMDcwN1owRTETMBEGA1UE + GRYDY29tMB4XDTE1MDkxOTIwNTEyMloXDTE2MDkxODIwNTEyMlowRTETMBEGA1UE AwwKcnlhbmQtcnVieTEZMBcGCgmSJomT8ixkARkWCXplbnNwaWRlcjETMBEGCgmS JomT8ixkARkWA2NvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALda b9DCgK+627gPJkB6XfjZ1itoOQvpqH1EXScSaba9/S2VF22VYQbXU1xQXL/WzCkx @@ -22,14 +22,14 @@ qhtV7HJxNKuPj/JFH0D2cswvzznE/a5FOYO68g+YCuFi5L8wZuuM8zzdwjrWHqSV gBEfoTEGr7Zii72cx+sCAwEAAaM5MDcwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAw HQYDVR0OBBYEFEfFe9md/r/tj/Wmwpy+MI8d9k/hMA0GCSqGSIb3DQEBBQUAA4IB - AQAFoDJRokCQdxFfOrmsKX41KOFlU/zjrbDVM9hgB/Ur999M6OXGSi8FitXNtMwY - FVjsiAPeU7HaWVVcZkj6IhINelTkXsxgGz/qCzjHy3iUMuZWw36cS0fiWJ5rvH+e - hD7uXxJSFuyf1riDGI1aeWbQ74WMwvNstOxLUMiV5a1fzBhlxPqb537ubDjq/M/h - zPUFPVYeL5KjDHLCqI2FwIk2sEMOQgjpXHzl+3NlD2LUgUhHDMevmgVua0e2GT1B - xJcC6UN6NHMOVMyAXsr2HR0gRRx4ofN1LoP2KhXzSr8UMvQYlwPmE0N5GQv1b5AO - VpzF30vNaJK6ZT7xlIsIlwmH + AQB+Hx8xUgrpZa4P8H8gR8zme5kISwQrG80MbpqJV6/G3/ZicRFhN5sjwu0uHGue + bd9Cymf6oIRwHVarJux2M32T6bL07Hmi07w2QaPc3MnMKB/D46SRZ2JSSGPFRBTc + SilobMRoGs/7B15uGFUEnNrCB/ltMqhwwSx1r++UQPfeySHEV9uqu03E5Vb7J37O + 2Er6PLXHRiYsIycD1LkMi6YnixdITRHmrqJYE2rsjaIfpIehiusVAPHkNf7qbpHq + qx3h45R1CAsObX0SQDIT+rRbQrtKz1GHIZTOFYvEJjUY1XmRTZupD3CJ8Q7sDqSy + NLq5jm1fq6Y9Uolu3RJbmycf -----END CERTIFICATE----- -date: 2015-08-06 00:00:00.000000000 Z +date: 2015-10-26 00:00:00.000000000 Z dependencies: - !ruby/object:Gem::Dependency name: sexp_processor @@ -51,14 +51,14 @@ requirements: - - ~> - !ruby/object:Gem::Version - version: '5.7' + version: '5.8' type: :development prerelease: false version_requirements: !ruby/object:Gem::Requirement requirements: - - ~> - !ruby/object:Gem::Version - version: '5.7' + version: '5.8' - !ruby/object:Gem::Dependency name: rdoc requirement: !ruby/object:Gem::Requirement @@ -121,14 +121,14 @@ requirements: - - ~> - !ruby/object:Gem::Version - version: '3.13' + version: '3.14' type: :development prerelease: false version_requirements: !ruby/object:Gem::Requirement requirements: - - ~> - !ruby/object:Gem::Version - version: '3.13' + version: '3.14' 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 @@ -168,7 +168,6 @@ - README.txt files: - .autotest -- .gemtest - History.txt - Manifest.txt - README.txt Files old/metadata.gz.sig and new/metadata.gz.sig differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/test/test_ruby_parser.rb new/test/test_ruby_parser.rb --- old/test/test_ruby_parser.rb 2015-08-06 23:31:42.000000000 +0200 +++ new/test/test_ruby_parser.rb 2015-10-26 23:42:47.000000000 +0100 @@ -575,6 +575,13 @@ # TODO: add more including interpolation etc end + def test_label_vs_string + rb = "_buf << ':\n'" + pt = s(:call, s(:call, nil, :_buf), :<<, s(:str, ":\n")) + + assert_parse rb, pt + end + def test_str_backslashes long_string = '\n' * 100 rb = "x '#{long_string}'"
participants (1)
-
root@hilbert.suse.de