Hello community, here is the log from the commit of package rubygem-sexp_processor for openSUSE:Factory checked in at 2019-03-27 16:17:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-sexp_processor (Old) and /work/SRC/openSUSE:Factory/.rubygem-sexp_processor.new.25356 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "rubygem-sexp_processor" Wed Mar 27 16:17:34 2019 rev:30 rq:685121 version:4.12.0 Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-sexp_processor/rubygem-sexp_processor.changes 2018-07-18 22:52:27.431255910 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-sexp_processor.new.25356/rubygem-sexp_processor.changes 2019-03-27 16:17:35.155577496 +0100 @@ -1,0 +2,14 @@ +Thu Mar 14 11:06:41 UTC 2019 - Stephan Kulow + +- updated to version 4.12.0 + see installed History.rdoc + + === 4.12.0 / 2019-03-12 + + * 3 bug fixes: + + * Fixed sexp_body to return empty sexp instead of nil when using STRICT_SEXP. + * STRICT_SEXP=4+ fails w/ current use of concat. Removed concat from strictness for now. + * Use concat internally instead of splat. Some people have 20000 node sexps! (presidentbeef) + +------------------------------------------------------------------- Old: ---- sexp_processor-4.11.0.gem New: ---- sexp_processor-4.12.0.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-sexp_processor.spec ++++++ --- /var/tmp/diff_new_pack.5R2ub8/_old 2019-03-27 16:17:36.159577287 +0100 +++ /var/tmp/diff_new_pack.5R2ub8/_new 2019-03-27 16:17:36.159577287 +0100 @@ -1,7 +1,7 @@ # # spec file for package rubygem-sexp_processor # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -24,7 +24,7 @@ # Name: rubygem-sexp_processor -Version: 4.11.0 +Version: 4.12.0 Release: 0 %define mod_name sexp_processor %define mod_full_name %{mod_name}-%{version} ++++++ sexp_processor-4.11.0.gem -> sexp_processor-4.12.0.gem ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/History.rdoc new/History.rdoc --- old/History.rdoc 2018-04-06 00:55:28.000000000 +0200 +++ new/History.rdoc 2019-03-13 02:49:10.000000000 +0100 @@ -1,3 +1,11 @@ +=== 4.12.0 / 2019-03-12 + +* 3 bug fixes: + + * Fixed sexp_body to return empty sexp instead of nil when using STRICT_SEXP. + * STRICT_SEXP=4+ fails w/ current use of concat. Removed concat from strictness for now. + * Use concat internally instead of splat. Some people have 20000 node sexps! (presidentbeef) + === 4.11.0 / 2018-04-05 * 1 minor enhancement: Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/checksums.yaml.gz.sig new/checksums.yaml.gz.sig --- old/checksums.yaml.gz.sig 2018-04-06 00:55:28.000000000 +0200 +++ new/checksums.yaml.gz.sig 2019-03-13 02:49:10.000000000 +0100 @@ -1,3 +1,2 @@ - -{ÀõÞ¶qƒw7ÃÙt,.øA\S{³Õ›}ê!es#v·ê}Õ,8›m¸a¹Û>±Aý2Ì–TéÈî±Y#¥‘‚¬ÇéüM -Ú=¡v#pÚdlÉKé4„›]膖H%ÛQªÄ+a–ó(²ìÇcr¡Ñµë:NÏ”Å~Â’v4´ |©^ÈÝy¥øêŒ­Õ:HKeÓ@¾ÒOev!\cTõc:t©Åܺç¾pY'ÑúWV,¬¯Õ.¦E(9VÊ�)†ùMG“uÀ¥4ñb·ÿëuùó+Òáé\�ð¦5(�uý%ó`½ú:Û}†�°A£EÓ»yŸ†LÜ8€ÑÄÓÍ \ No newline at end of file +(ž¿ºÓ± }n5vsîØ(^6ªÓ ¸( !ù ô§!Áó6¾Ìe¼¿Ô?—¨úwÊ¥@.(�dá¥=ŠX¶Öeqš>tMàOŽkϰrIi&9XV„Õù¤.pjß +¤(*3Âg¨Úë×�«‚//˜û›Ð—aºBÐPE?¿¹¸iù²!iç— nÚ�Ëã3³5GfÄgËIøl‹^ÿÛ)öÿjGPvãYp³”Ĺovv›1`•kÏ|ˆYÈf‡ÎöU.Œªp|K+²øqËû=é´Û –ï�™¢n½©j+«¹Xuß+ÓÛË OZL—¿Kž·Ê×éÛ \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/data.tar.gz.sig new/data.tar.gz.sig --- old/data.tar.gz.sig 2018-04-06 00:55:28.000000000 +0200 +++ new/data.tar.gz.sig 2019-03-13 02:49:10.000000000 +0100 @@ -1,2 +1,2 @@ -œ« _Ч;Ô»ö:$O)Ť›8@eIA~“ýx -H[=lµ˜Õõ<ì¦9ub!bÀX˜ûç ¯·y,!"2ò^C•XÑL,3~ßïëfC{äʆBÌ9fÿL°¡«/Ã×¶àÎ=xŸ%(êþI÷f˜R5t·Ö2—Ò"ÛæÞé:­ßÌ&yÅ€æïÆsƯ 䪢±¡Ï¤=;š&¸I/¶²*žn“Ô{´ÐtP/|‚Ñ„E‰£¢¶\xåI ‡�bÔ)ÀáõèI^�<™Z¼æ6I åÍ!5{~W&E¾ \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/pt_testcase.rb new/lib/pt_testcase.rb --- old/lib/pt_testcase.rb 2018-04-06 00:55:28.000000000 +0200 +++ new/lib/pt_testcase.rb 2019-03-13 02:49:10.000000000 +0100 @@ -77,7 +77,7 @@ end def self.add_19tests name, hash - add_tests "#{name}__19_20_21_22_23_24_25", hash # HACK? + add_tests "#{name}__19_20_21_22_23_24_25_26", hash # HACK? end def self.add_19edgecases ruby, sexp, cases @@ -102,7 +102,7 @@ testcases[verbose][klass] = testcases[nonverbose][klass] end - VER_RE = "(1[89]|2[012345])" + VER_RE = "(1[89]|2[0123456])" def self.generate_test klass, node, data, input_name, output_name klass.send :define_method, "test_#{node}" do diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/sexp.rb new/lib/sexp.rb --- old/lib/sexp.rb 2018-04-06 00:55:28.000000000 +0200 +++ new/lib/sexp.rb 2019-03-13 02:49:10.000000000 +0100 @@ -37,7 +37,7 @@ def self.from_array a ary = Array === a ? a : [a] - self.new(*ary.map { |x| + self.new.concat(ary.map { |x| case x when Sexp x @@ -54,7 +54,7 @@ # same +file+, +line+, and +comment+ as self. def new(*body) - r = self.class.new(*body) # ensures a sexp from map + r = self.class.new.concat(body) # ensures a sexp from map r.file = self.file if self.file r.line = self.line if self.line r.comments = self.comments if self.comments @@ -62,7 +62,7 @@ end def map &blk # :nodoc: - self.new(*super(&blk)) # ensures a sexp from map + self.new.concat(super(&blk)) # ensures a sexp from map end def == obj # :nodoc: @@ -278,7 +278,7 @@ # the values without the node type. def sexp_body from = 1 - self.new(*self[from..-1]) + self.new.concat(self[from..-1] || []) end ## diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/sexp_processor.rb new/lib/sexp_processor.rb --- old/lib/sexp_processor.rb 2018-04-06 00:55:28.000000000 +0200 +++ new/lib/sexp_processor.rb 2019-03-13 02:49:10.000000000 +0100 @@ -34,7 +34,7 @@ class SexpProcessor # duh - VERSION = "4.11.0" + VERSION = "4.12.0" ## # Automatically shifts off the Sexp type before handing the diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/strict_sexp.rb new/lib/strict_sexp.rb --- old/lib/strict_sexp.rb 2018-04-06 00:55:28.000000000 +0200 +++ new/lib/strict_sexp.rb 2019-03-13 02:49:10.000000000 +0100 @@ -44,7 +44,7 @@ def self.nuke_method name, level define_method name do |*args| - raise "no: %p.%s %p" % [self, name, args] + raise "no mutation allowed on sexps: %s.%s %s" % [self, name, args] end if __strict >= level end @@ -87,7 +87,7 @@ nuke_method :collect!, 4 nuke_method :compact!, 4 - nuke_method :concat, 4 + # nuke_method :concat, 4 # HACK: using self.class.new.concat(...) for speed nuke_method :flatten!, 4 nuke_method :map!, 4 nuke_method :pop, 4 @@ -111,7 +111,7 @@ end def sexp_body from = 1 - safe_idx from..-1 + self.new.concat(safe_idx(from..-1) || []) end def sexp_type= v diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata 2018-04-06 00:55:28.000000000 +0200 +++ new/metadata 2019-03-13 02:49:10.000000000 +0100 @@ -1,7 +1,7 @@ --- !ruby/object:Gem::Specification name: sexp_processor version: !ruby/object:Gem::Version - version: 4.11.0 + version: 4.12.0 platform: ruby authors: - Ryan Davis @@ -10,9 +10,9 @@ cert_chain: - | -----BEGIN CERTIFICATE----- - MIIDPjCCAiagAwIBAgIBAjANBgkqhkiG9w0BAQUFADBFMRMwEQYDVQQDDApyeWFu + MIIDPjCCAiagAwIBAgIBAzANBgkqhkiG9w0BAQsFADBFMRMwEQYDVQQDDApyeWFu ZC1ydWJ5MRkwFwYKCZImiZPyLGQBGRYJemVuc3BpZGVyMRMwEQYKCZImiZPyLGQB - GRYDY29tMB4XDTE3MTEyMTIxMTExMFoXDTE4MTEyMTIxMTExMFowRTETMBEGA1UE + GRYDY29tMB4XDTE4MTIwNDIxMzAxNFoXDTE5MTIwNDIxMzAxNFowRTETMBEGA1UE AwwKcnlhbmQtcnVieTEZMBcGCgmSJomT8ixkARkWCXplbnNwaWRlcjETMBEGCgmS JomT8ixkARkWA2NvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALda b9DCgK+627gPJkB6XfjZ1itoOQvpqH1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END CERTIFICATE----- -date: 2018-04-05 00:00:00.000000000 Z +date: 2019-03-13 00:00:00.000000000 Z dependencies: - !ruby/object:Gem::Dependency name: rdoc requirement: !ruby/object:Gem::Requirement requirements: - - - "~>" + - - ">=" - !ruby/object:Gem::Version version: '4.0' + - - "<" + - !ruby/object:Gem::Version + version: '7' type: :development prerelease: false version_requirements: !ruby/object:Gem::Requirement requirements: - - - "~>" + - - ">=" - !ruby/object:Gem::Version version: '4.0' + - - "<" + - !ruby/object:Gem::Version + version: '7' - !ruby/object:Gem::Dependency name: hoe requirement: !ruby/object:Gem::Requirement requirements: - - "~>" - !ruby/object:Gem::Version - version: '3.16' + version: '3.17' type: :development prerelease: false version_requirements: !ruby/object:Gem::Requirement requirements: - - "~>" - !ruby/object:Gem::Version - version: '3.16' + version: '3.17' description: |- sexp_processor branches from ParseTree bringing all the generic sexp processing tools with it. Sexp, SexpProcessor, Environment, etc... all @@ -107,8 +113,7 @@ - !ruby/object:Gem::Version version: '0' requirements: [] -rubyforge_project: -rubygems_version: 2.7.3 +rubygems_version: 3.0.2 signing_key: specification_version: 4 summary: sexp_processor branches from ParseTree bringing all the generic sexp processing diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata.gz.sig new/metadata.gz.sig --- old/metadata.gz.sig 2018-04-06 00:55:28.000000000 +0200 +++ new/metadata.gz.sig 2019-03-13 02:49:10.000000000 +0100 @@ -1,2 +1,2 @@ -£¬Á/ 1èú'æfºÄS«‰¦Yc¾ñ ­—÷E6EÚX1Mq{›m/€ Îò#2f�;1EŒÒ´Û`ßÈ–ïYI0� aÿu]³±'yÞî[M}a&*P˜ÿª¿kÎ#Á_O*Ó’‡¸óL)©‘‰¹(BªIŒ‚ƒºS°þ!WÝ ¾9ª »Y®Å>à`ÿnH˜Æ*ëܘ…Ý—[!>™ýmôˆÉ;†>,}‘Ý«Î*® 5æ¶kÉÌçˆD,„Káq\ üü‘NÒH8ˆžœË”aðI3ƒ¥o -ýþU I@Îdþ�–•«°Ïû'#æÂ[ô˜§¡ˆtÅû� \ No newline at end of file + V˜*Þà=à�I™Yá7éíO›Æ@{%Å�ïìü½îEz¹Îd'_ñÆÄ*u‰°wœ­!Àó««“ëé’&eª·WÖBPÿpÌWBr�¬÷ÌÔ.“/î^H??Žä¶²X4ÖØA¹%1óŠdi`l%�Qõ×»]»"ïLÔ ¸Å ¡è³ù~7rƒÕíM¼:Ìkkžø ¾Ó¸ž«ÙQÔ\Ðødy¦sͪÁ%ÄÀP«VõçªÁ‰¶(Mm'tý;M‚ª¹ßS +RóÁ7†î¬£8™@ÃÔ5E*Ì(qÄ*KRD‡èK^ noÓXŒ*[MùgÌÝâ)¥é½Ëp\¿ \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/test/test_sexp.rb new/test/test_sexp.rb --- old/test/test_sexp.rb 2018-04-06 00:55:28.000000000 +0200 +++ new/test/test_sexp.rb 2019-03-13 02:49:10.000000000 +0100 @@ -519,7 +519,11 @@ end def test_sexp_body - assert_equal [2, 3], @sexp.sexp_body + assert_equal s(2, 3), @sexp.sexp_body + assert_equal s(), s(:x).sexp_body + assert_equal s(), s().sexp_body + + assert_instance_of Sexp, s().sexp_body end def test_shift @@ -662,7 +666,7 @@ def test_deep_each_without_block assert_kind_of Enumerator, @complex_sexp.deep_each - assert_equal DEEP_EXP, @complex_sexp.deep_each.map(&:first) + assert_equal DEEP_EXP, @complex_sexp.deep_each.map(&:sexp_type) end def test_unary_not