Hello community, here is the log from the commit of package rubygem-flog for openSUSE:Factory checked in at 2017-01-25 23:28:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-flog (Old) and /work/SRC/openSUSE:Factory/.rubygem-flog.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "rubygem-flog" Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-flog/rubygem-flog.changes 2016-06-11 00:01:05.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-flog.new/rubygem-flog.changes 2017-01-25 23:28:33.319558845 +0100 @@ -1,0 +2,12 @@ +Sat Jan 14 05:31:51 UTC 2017 - coolo@suse.com + +- updated to version 4.4.1 + see installed History.rdoc + + === 4.4.1 / 2017-01-13 + + * 1 bug fix: + + * Fixed scoring of Rational lits. + +------------------------------------------------------------------- Old: ---- flog-4.4.0.gem New: ---- flog-4.4.1.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-flog.spec ++++++ --- /var/tmp/diff_new_pack.tLOM26/_old 2017-01-25 23:28:33.627512424 +0100 +++ /var/tmp/diff_new_pack.tLOM26/_new 2017-01-25 23:28:33.635511218 +0100 @@ -1,7 +1,7 @@ # # spec file for package rubygem-flog # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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 @@ -24,7 +24,7 @@ # Name: rubygem-flog -Version: 4.4.0 +Version: 4.4.1 Release: 0 %define mod_name flog %define mod_full_name %{mod_name}-%{version} ++++++ flog-4.4.0.gem -> flog-4.4.1.gem ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/History.rdoc new/History.rdoc --- old/History.rdoc 2016-05-17 01:40:29.000000000 +0200 +++ new/History.rdoc 2017-01-14 00:09:41.000000000 +0100 @@ -1,3 +1,9 @@ +=== 4.4.1 / 2017-01-13 + +* 1 bug fix: + + * Fixed scoring of Rational lits. + === 4.4.0 / 2016-05-16 * 1 minor enhancement: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Rakefile new/Rakefile --- old/Rakefile 2016-05-17 01:40:29.000000000 +0200 +++ new/Rakefile 2017-01-14 00:09:41.000000000 +0100 @@ -20,6 +20,8 @@ self.flog_method = :max_method self.flog_threshold = timebomb 150, 50, '2013-11-01', '2012-11-01' + license "MIT" + dependency "sexp_processor", "~> 4.4" dependency "ruby_parser", ["~> 3.1", "> 3.1.0"] dependency "path_expander", "~> 1.0" @@ -41,6 +43,13 @@ flog.option[:details] = true if details if file then + if File.directory? file then # quick hack to get directory scanning going + argv = [file] + argv.unshift "-v" if ENV["V"] + + FlogCLI.run argv + exit 0 + end flog.flog file else flog.flog_ruby ruby, "-" 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 2016-05-17 01:40:29.000000000 +0200 +++ new/checksums.yaml.gz.sig 2017-01-14 00:09:41.000000000 +0100 @@ -1,4 +1,3 @@ -:�1ð_í6°÷ò;b3ä£÷uc§±^C悽4ÙôCíÜ|¡ - }º‘Û>–¬/KƒÓ/Hέc4ë͉„7¸�¢ìÔ). -¢EkýîùšÓZ�xÍÊë4]G3V!(iz€yèïvØÂê!à´àÁƒ"”Y¦i×ìkÀÇ'LP}ã©'EÎd¶%&^CU³�+.U®¾xµ=ÁÜ›äõrԌޠÊ}ê{ï/ÜAÆŠNÃõS:À’URs¯è 8ºQq±ÄÉsc¶{áÁç®(�¶ ÄGAy]Wä� fðF^¸}÷5œdtÔ -þÚPØ-Á¯„½ô¨.jùÃÜ \ No newline at end of file +‚ÂD"§4�5‡íOÚV…;£×#£`%¨­1 +aº“ý†¶Æ“ºr¡üv&§÷ü“¤?z—Áœ•ÎC�rà7¤Ä>²¬í´Gæm©Öà¤DÏjÓƒb¸|ò Z®_« î^hX¾{*­ŽZ®ÏfÆboK$k¬ê‹’ ìÍÙ×íò.ƒÏṽ-íá%ì +!stêüšÄÌâ÷i*ëØãH‹ÔRdê”r+.°ïYä]$‚¶°š›$pä X#Z?´;ÛÑÆ¯:7|ËTZLò�™1vl�6±øU̘4±£ÚTæd°kŽé£fT„�T×JÄJ0¦VµZ+CìŠ!› \ 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 2016-05-17 01:40:29.000000000 +0200 +++ new/data.tar.gz.sig 2017-01-14 00:09:41.000000000 +0100 @@ -1,2 +1,2 @@ -jKKµû1Ì•¨)†Ô¦yÁ·‹[ì_̱vRü¥…ÛÿPŽcF b�9Þß1?bCÐz�õÑ]0­¹°DÐ.Yf�8ÄI‘USKƒ‚|Â�¬ûÀâ¹ý³¨¯ùçÞt(Ý‘°Œ29íŠjTçR/1Í£.Í„ñáŠ>Ï×ÿ²ÓÝvц5AÞõÈ\Gá9 <Œþ"fŠ“ ~â©ãµ˜á$Ë,J&®qÆ÷©ÔÉ(+_‚ýeµo˜» -ÑNšÖÚ¿ÙPF•a†Ó‰�gH#miîku†Ùéâ5å�ÐÌžÑD¡™BèÎÚIû.ü@ü|aiHèÛ´^ªvpã3ò¿É0¤c \ No newline at end of file +&À&¸cà§{Ÿ�®J÷Úîm Äbn‡”¯#}9bErBCÔ°@<žVŒ‘TÓ3hJG&=JŒËgöK ÕÏ_õ2YÑÛ™”³F¸MJ³ñÁ{§ › eKCW;J0÷¿b­KŒ'ŽL¢-5òàH0ttÝjM¥G¡Ò?,{¶yü Ù0xõ=.bðèŧÆ_�É\¡ñJ„s¦ ½ui­ §³#®EVyD—w{½´·ÖвZÿò† J|ï© ^:µS¢œQ« 'èÉ�2ÿ}à wØŸ^è‰þ/ÿvX›«ô¿jŸÆD­ÄÛø)gˆ +^g¯(Þ‡²K%XN½¡YÊ \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/flog.rb new/lib/flog.rb --- old/lib/flog.rb 2016-05-17 01:40:29.000000000 +0200 +++ new/lib/flog.rb 2017-01-14 00:09:41.000000000 +0100 @@ -11,7 +11,7 @@ end class Flog < MethodBasedSexpProcessor - VERSION = "4.4.0" # :nodoc: + VERSION = "4.4.1" # :nodoc: ## # Cut off point where the report should stop unless --all given. @@ -483,18 +483,20 @@ s() end + Rational = Integer unless defined? Rational # 1.8 / 1.9 + def process_lit(exp) value = exp.shift case value when 0, -1 then # ignore those because they're used as array indicies instead of # first/last - when Integer then + when Integer, Rational then add_to_score :lit_fixnum when Float, Symbol, Regexp, Range then # do nothing else - raise value.inspect + raise "Unhandled lit: #{value.inspect}:#{value.class}" end s() end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata 2016-05-17 01:40:29.000000000 +0200 +++ new/metadata 2017-01-14 00:09:41.000000000 +0100 @@ -1,7 +1,7 @@ --- !ruby/object:Gem::Specification name: flog version: !ruby/object:Gem::Version - version: 4.4.0 + version: 4.4.1 platform: ruby authors: - Ryan Davis @@ -10,9 +10,9 @@ cert_chain: - | -----BEGIN CERTIFICATE----- - MIIDPjCCAiagAwIBAgIBAzANBgkqhkiG9w0BAQUFADBFMRMwEQYDVQQDDApyeWFu + MIIDijCCAnKgAwIBAgIBATANBgkqhkiG9w0BAQUFADBFMRMwEQYDVQQDDApyeWFu ZC1ydWJ5MRkwFwYKCZImiZPyLGQBGRYJemVuc3BpZGVyMRMwEQYKCZImiZPyLGQB - GRYDY29tMB4XDTE1MDkxOTIwNTEyMloXDTE2MDkxODIwNTEyMlowRT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nlh + bmQtcnVieUB6ZW5zcGlkZXIuY29tMCMGA1UdEgQcMBqBGHJ5YW5kLXJ1YnlAemVu + c3BpZGVyLmNvbTANBgkqhkiG9w0BAQUFAAOCAQEAIGzgp0aZ2W9+v96ujmBcQHoC + buy0iU68MVj2VlxMyfr1KPZIh1OyhU4UO4zrkREcH8ML70v9cYHNvOd9oynRHnvC + l2tj/fD3YJ0AEkJxGrYwRWQmvMfC4bJ02bC1+rVOUIXXKp3+cUmiN4sTniof8VFo + bo/YYP4c7erpERa+9hrqygg6WQbJlk2YRlH3JXPFjmu869i2dcbR5ZLOAeEy+axH + E4oJcnPkJAr0rw504JGtlZtONZQblwmRJOIdXzolaE3NRGUzGVOUSptZppAKiavY + fO6tdKQc/5RfA8oQEkg8hrxA5PQSz4TOFJGLpFvIapEk6tMruQ0bHgkhr9auXg== -----END CERTIFICATE----- -date: 2016-05-16 00:00:00.000000000 Z +date: 2017-01-13 00:00:00.000000000 Z dependencies: - !ruby/object:Gem::Dependency name: sexp_processor requirement: !ruby/object:Gem::Requirement requirements: - - - ~> + - - "~>" - !ruby/object:Gem::Version version: '4.4' type: :runtime prerelease: false version_requirements: !ruby/object:Gem::Requirement requirements: - - - ~> + - - "~>" - !ruby/object:Gem::Version version: '4.4' - !ruby/object:Gem::Dependency name: ruby_parser requirement: !ruby/object:Gem::Requirement requirements: - - - ~> + - - "~>" - !ruby/object:Gem::Version version: '3.1' - - - '>' + - - ">" - !ruby/object:Gem::Version version: 3.1.0 type: :runtime prerelease: false version_requirements: !ruby/object:Gem::Requirement requirements: - - - ~> + - - "~>" - !ruby/object:Gem::Version version: '3.1' - - - '>' + - - ">" - !ruby/object:Gem::Version version: 3.1.0 - !ruby/object:Gem::Dependency name: path_expander requirement: !ruby/object:Gem::Requirement requirements: - - - ~> + - - "~>" - !ruby/object:Gem::Version version: '1.0' type: :runtime prerelease: false version_requirements: !ruby/object:Gem::Requirement requirements: - - - ~> + - - "~>" - !ruby/object:Gem::Version version: '1.0' - !ruby/object:Gem::Dependency name: rdoc requirement: !ruby/object:Gem::Requirement requirements: - - - ~> + - - "~>" - !ruby/object:Gem::Version version: '4.0' type: :development prerelease: false version_requirements: !ruby/object:Gem::Requirement requirements: - - - ~> + - - "~>" - !ruby/object:Gem::Version version: '4.0' - !ruby/object:Gem::Dependency name: hoe requirement: !ruby/object:Gem::Requirement requirements: - - - ~> + - - "~>" - !ruby/object:Gem::Version - version: '3.15' + version: '3.16' type: :development prerelease: false version_requirements: !ruby/object:Gem::Requirement requirements: - - - ~> + - - "~>" - !ruby/object:Gem::Version - version: '3.15' + version: '3.16' description: |- Flog reports the most tortured code in an easy to read pain report. The higher the score, the more pain the code is in. @@ -120,7 +121,7 @@ - Manifest.txt - README.rdoc files: -- .autotest +- ".autotest" - History.rdoc - Manifest.txt - README.rdoc @@ -138,23 +139,23 @@ metadata: {} post_install_message: rdoc_options: -- --main +- "--main" - README.rdoc require_paths: - lib required_ruby_version: !ruby/object:Gem::Requirement requirements: - - - '>=' + - - ">=" - !ruby/object:Gem::Version version: '0' required_rubygems_version: !ruby/object:Gem::Requirement requirements: - - - '>=' + - - ">=" - !ruby/object:Gem::Version version: '0' requirements: [] rubyforge_project: -rubygems_version: 2.4.5 +rubygems_version: 2.6.8 signing_key: specification_version: 4 summary: Flog reports the most tortured code in an easy to read pain report Binary files old/metadata.gz.sig and new/metadata.gz.sig differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/test/test_flog.rb new/test/test_flog.rb --- old/test/test_flog.rb 2016-05-17 01:40:29.000000000 +0200 +++ new/test/test_flog.rb 2017-01-14 00:09:41.000000000 +0100 @@ -532,7 +532,7 @@ def test_no_threshold @flog.option[:all] = true - assert_equal nil, @flog.threshold + assert_nil @flog.threshold end def test_calculate