commit rubygem-flog for openSUSE:Factory

2020-03-07 Thread root
Hello community,

here is the log from the commit of package rubygem-flog for openSUSE:Factory 
checked in at 2020-03-07 21:38:04

Comparing /work/SRC/openSUSE:Factory/rubygem-flog (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-flog.new.26092 (New)


Package is "rubygem-flog"

Sat Mar  7 21:38:04 2020 rev:26 rq:773760 version:4.6.4

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-flog/rubygem-flog.changes
2018-02-18 11:44:57.288021201 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-flog.new.26092/rubygem-flog.changes 
2020-03-07 21:38:07.436267506 +0100
@@ -1,0 +2,24 @@
+Mon Feb 10 14:35:01 UTC 2020 - Stephan Kulow 
+
+- updated to version 4.6.4
+ see installed History.rdoc
+
+  === 4.6.4 / 2019-12-14
+  
+  * 2 minor enhancements:
+  
+* Added basic support for safe_call (nic-potter).
+* Added extra complexity penalty to safe_call processing.
+  
+  === 4.6.3 / 2019-09-14
+  
+  * 1 minor enhancement:
+  
+* Removed --18 and --19 options to cmdline. No real value anymore.
+  
+  * 2 bug fixes:
+  
+* Fixed some sexp access under STRICT_SEXP=2.
+* Fixed option / arg processing bug that caused a hang (reading from 
stdin).
+
+---

Old:

  flog-4.6.2.gem

New:

  flog-4.6.4.gem



Other differences:
--
++ rubygem-flog.spec ++
--- /var/tmp/diff_new_pack.K2xswk/_old  2020-03-07 21:38:07.884267809 +0100
+++ /var/tmp/diff_new_pack.K2xswk/_new  2020-03-07 21:38:07.888267811 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-flog
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # 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-flog
-Version:4.6.2
+Version:4.6.4
 Release:0
 %define mod_name flog
 %define mod_full_name %{mod_name}-%{version}
@@ -34,7 +34,7 @@
 BuildRequires:  %{ruby}
 BuildRequires:  ruby-macros >= 5
 BuildRequires:  update-alternatives
-Url:http://ruby.sadi.st/
+URL:http://ruby.sadi.st/
 Source: https://rubygems.org/gems/%{mod_full_name}.gem
 Source1:gem2rpm.yml
 Summary:Flog reports the most tortured code in an easy to read pain 
report

++ flog-4.6.2.gem -> flog-4.6.4.gem ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/History.rdoc new/History.rdoc
--- old/History.rdoc2018-02-14 23:19:16.0 +0100
+++ new/History.rdoc2019-12-15 02:03:36.0 +0100
@@ -1,3 +1,21 @@
+=== 4.6.4 / 2019-12-14
+
+* 2 minor enhancements:
+
+  * Added basic support for safe_call (nic-potter).
+  * Added extra complexity penalty to safe_call processing.
+
+=== 4.6.3 / 2019-09-14
+
+* 1 minor enhancement:
+
+  * Removed --18 and --19 options to cmdline. No real value anymore.
+
+* 2 bug fixes:
+
+  * Fixed some sexp access under STRICT_SEXP=2.
+  * Fixed option / arg processing bug that caused a hang (reading from stdin).
+
 === 4.6.2 / 2018-02-14
 
 * 1 bug fix:
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
Binary files old/checksums.yaml.gz.sig and new/checksums.yaml.gz.sig differ
Binary 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/flog.rb new/lib/flog.rb
--- old/lib/flog.rb 2018-02-14 23:19:16.0 +0100
+++ new/lib/flog.rb 2019-12-15 02:03:36.0 +0100
@@ -11,7 +11,7 @@
 end
 
 class Flog < MethodBasedSexpProcessor
-  VERSION = "4.6.2" # :nodoc:
+  VERSION = "4.6.4" # :nodoc:
 
   ##
   # Cut off point where the report should stop unless --all given.
@@ -143,10 +143,12 @@
   def dsl_name? args
 return false unless args and not args.empty?
 
-first_arg = args.first
-first_arg = first_arg[1] if first_arg[0] == :hash
+first_arg, = args
+first_arg = first_arg[1] if first_arg.sexp_type == :hash
 
-[:lit, :str].include? first_arg[0] and first_arg[1]
+type, value, * = first_arg
+
+value if [:lit, :str].include? type
   end
 
   ##
@@ -362,7 +364,7 @@
 
 add_to_score :block_pass
 
-case arg.first
+case arg.sexp_type
 when :lvar, :dvar, :ivar, :cvar, :self, :const, :colon2, :nil then # f()
   # do nothing
 when :lit, :call then  

commit rubygem-flog for openSUSE:Factory

2018-02-18 Thread root
Hello community,

here is the log from the commit of package rubygem-flog for openSUSE:Factory 
checked in at 2018-02-18 11:44:49

Comparing /work/SRC/openSUSE:Factory/rubygem-flog (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-flog.new (New)


Package is "rubygem-flog"

Sun Feb 18 11:44:49 2018 rev:25 rq:577556 version:4.6.2

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-flog/rubygem-flog.changes
2017-04-11 09:32:14.210641755 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-flog.new/rubygem-flog.changes   
2018-02-18 11:44:57.288021201 +0100
@@ -1,0 +2,12 @@
+Thu Feb 15 05:31:22 UTC 2018 - factory-a...@kulow.org
+
+- updated to version 4.6.2
+ see installed History.rdoc
+
+  === 4.6.2 / 2018-02-14
+  
+  * 1 bug fix:
+  
+* Don't process stdin if cmdline args expand to nothing.
+
+---

Old:

  flog-4.6.1.gem

New:

  flog-4.6.2.gem



Other differences:
--
++ rubygem-flog.spec ++
--- /var/tmp/diff_new_pack.w9uu17/_old  2018-02-18 11:44:58.187988894 +0100
+++ /var/tmp/diff_new_pack.w9uu17/_new  2018-02-18 11:44:58.187988894 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-flog
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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.6.1
+Version:4.6.2
 Release:0
 %define mod_name flog
 %define mod_full_name %{mod_name}-%{version}
@@ -35,7 +35,7 @@
 BuildRequires:  ruby-macros >= 5
 BuildRequires:  update-alternatives
 Url:http://ruby.sadi.st/
-Source: http://rubygems.org/gems/%{mod_full_name}.gem
+Source: https://rubygems.org/gems/%{mod_full_name}.gem
 Source1:gem2rpm.yml
 Summary:Flog reports the most tortured code in an easy to read pain 
report
 License:MIT

++ flog-4.6.1.gem -> flog-4.6.2.gem ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/History.rdoc new/History.rdoc
--- old/History.rdoc2017-02-09 06:35:07.0 +0100
+++ new/History.rdoc2018-02-14 23:19:16.0 +0100
@@ -1,3 +1,9 @@
+=== 4.6.2 / 2018-02-14
+
+* 1 bug fix:
+
+  * Don't process stdin if cmdline args expand to nothing.
+
 === 4.6.1 / 2017-02-08
 
 * 1 bug fix:
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
Binary files old/checksums.yaml.gz.sig and new/checksums.yaml.gz.sig differ
Binary 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/flog.rb new/lib/flog.rb
--- old/lib/flog.rb 2017-02-09 06:35:07.0 +0100
+++ new/lib/flog.rb 2018-02-14 23:19:16.0 +0100
@@ -11,7 +11,7 @@
 end
 
 class Flog < MethodBasedSexpProcessor
-  VERSION = "4.6.1" # :nodoc:
+  VERSION = "4.6.2" # :nodoc:
 
   ##
   # Cut off point where the report should stop unless --all given.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/flog_cli.rb new/lib/flog_cli.rb
--- old/lib/flog_cli.rb 2017-02-09 06:35:07.0 +0100
+++ new/lib/flog_cli.rb 2018-02-14 23:19:16.0 +0100
@@ -19,6 +19,9 @@
 expander = PathExpander.new args, "**/*.{rb,rake}"
 files = expander.process
 
+abort "no files or stdin (-) to process, aborting." if
+  files.empty? and args.empty?
+
 options = parse_options args
 
 flogger = new options
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata2017-02-09 06:35:07.0 +0100
+++ new/metadata2018-02-14 23:19:16.0 +0100
@@ -1,7 +1,7 @@
 --- !ruby/object:Gem::Specification
 name: flog
 version: !ruby/object:Gem::Version
-  version: 4.6.1
+  version: 4.6.2
 platform: ruby
 authors:
 - Ryan Davis
@@ -10,9 +10,9 @@
 cert_chain:
 - |
   -BEGIN CERTIFICATE-
-  MIIDijCCAnKgAwIBAgIBATANBgkqhkiG9w0BAQUFADBFMRMwEQYDVQQDDApyeWFu
+  MIIDPjCCAiagAwIBAgIBAjANBgkqhkiG9w0BAQUFADBFMRMwEQYDVQQDDApyeWFu
   ZC1ydWJ5MRkwFwYKCZImiZPyLGQBGRYJemVuc3BpZGVyMRMwEQYKCZImiZPyLGQB
-  GRYDY29tMB4XDTE2MDkyNjAxNTczNVoXDTE3MDkyNjAxNTczNVowRTETMBEGA1UE
+  GRYDY29tMB4XDTE3MTEyMTIxMTExMFoXDTE4MTEyMTIxMTExMFowRTETMBEGA1UE
   AwwKcnlhbmQtcnVieTEZMBcGCgmSJomT8ixkARkWCXplbnNwaWRlcjETMBEGCgmS
   JomT8ixkARkWA2NvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALda
   b9DCgK+627gPJkB6XfjZ1itoOQvpqH1EXScSaba9/S2VF22VYQbXU1xQXL/WzCkx
@@ -20,17 +20,16 @@
   

commit rubygem-flog for openSUSE:Factory

2017-04-11 Thread root
Hello community,

here is the log from the commit of package rubygem-flog for openSUSE:Factory 
checked in at 2017-04-11 09:32:12

Comparing /work/SRC/openSUSE:Factory/rubygem-flog (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-flog.new (New)


Package is "rubygem-flog"

Tue Apr 11 09:32:12 2017 rev:24 rq:457318 version:4.6.1

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-flog/rubygem-flog.changes
2017-01-25 23:28:33.319558845 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-flog.new/rubygem-flog.changes   
2017-04-11 09:32:14.210641755 +0200
@@ -1,0 +2,33 @@
+Tue Feb 14 05:33:48 UTC 2017 - co...@suse.com
+
+- updated to version 4.6.1
+ see installed History.rdoc
+
+  === 4.6.1 / 2017-02-08
+  
+  * 1 bug fix:
+  
+* Fixed max line number in range report. AKA I'm an idiot.
+  
+  === 4.6.0 / 2017-02-01
+  
+  * 2 minor enhancements:
+  
+* Bumped dependency on sexp_processor to 4.8 and up.
+* Include new Sexp#line_max info for in_method so DSLs can record line 
span.
+
+---
+Fri Jan 20 05:30:51 UTC 2017 - co...@suse.com
+
+- updated to version 4.5.0
+ see installed History.rdoc
+
+  === 4.5.0 / 2017-01-19
+  
+  * 3 minor enhancements:
+  
+* Added -t=N and --threshold N processing to FlogCLI.
+* Added tweakable threshold to Flog (still defaults to 60%).
+* Renamed Flog::THRESHOLD to Flog::DEFAULT_THRESHOLD (but kept an alias 
around).
+
+---

Old:

  flog-4.4.1.gem

New:

  flog-4.6.1.gem



Other differences:
--
++ rubygem-flog.spec ++
--- /var/tmp/diff_new_pack.y6QHJz/_old  2017-04-11 09:32:15.098516360 +0200
+++ /var/tmp/diff_new_pack.y6QHJz/_new  2017-04-11 09:32:15.102515795 +0200
@@ -24,7 +24,7 @@
 #
 
 Name:   rubygem-flog
-Version:4.4.1
+Version:4.6.1
 Release:0
 %define mod_name flog
 %define mod_full_name %{mod_name}-%{version}

++ flog-4.4.1.gem -> flog-4.6.1.gem ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/History.rdoc new/History.rdoc
--- old/History.rdoc2017-01-14 00:09:41.0 +0100
+++ new/History.rdoc2017-02-09 06:35:07.0 +0100
@@ -1,3 +1,24 @@
+=== 4.6.1 / 2017-02-08
+
+* 1 bug fix:
+
+  * Fixed max line number in range report. AKA I'm an idiot.
+
+=== 4.6.0 / 2017-02-01
+
+* 2 minor enhancements:
+
+  * Bumped dependency on sexp_processor to 4.8 and up.
+  * Include new Sexp#line_max info for in_method so DSLs can record line span.
+
+=== 4.5.0 / 2017-01-19
+
+* 3 minor enhancements:
+
+  * Added -t=N and --threshold N processing to FlogCLI.
+  * Added tweakable threshold to Flog (still defaults to 60%).
+  * Renamed Flog::THRESHOLD to Flog::DEFAULT_THRESHOLD (but kept an alias 
around).
+
 === 4.4.1 / 2017-01-13
 
 * 1 bug fix:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Rakefile new/Rakefile
--- old/Rakefile2017-01-14 00:09:41.0 +0100
+++ new/Rakefile2017-02-09 06:35:07.0 +0100
@@ -22,7 +22,7 @@
 
   license "MIT"
 
-  dependency "sexp_processor", "~> 4.4"
+  dependency "sexp_processor", "~> 4.8"
   dependency "ruby_parser",["~> 3.1", "> 3.1.0"]
   dependency "path_expander", "~> 1.0"
 end
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
Binary files old/checksums.yaml.gz.sig and new/checksums.yaml.gz.sig differ
Binary 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/flog.rb new/lib/flog.rb
--- old/lib/flog.rb 2017-01-14 00:09:41.0 +0100
+++ new/lib/flog.rb 2017-02-09 06:35:07.0 +0100
@@ -11,12 +11,14 @@
 end
 
 class Flog < MethodBasedSexpProcessor
-  VERSION = "4.4.1" # :nodoc:
+  VERSION = "4.6.1" # :nodoc:
 
   ##
   # Cut off point where the report should stop unless --all given.
 
-  THRESHOLD = 0.60
+  DEFAULT_THRESHOLD = 0.60
+
+  THRESHOLD = DEFAULT_THRESHOLD # :nodoc:
 
   ##
   # The scoring system hash. Maps node type to score.
@@ -98,6 +100,7 @@
   attr_reader :calls, :option, :mass
   attr_reader :method_scores, :scores
   attr_reader :total_score, :totals
+  attr_writer :threshold
 
   # :startdoc:
 
@@ -230,9 +233,9 @@
   def initialize option = {}
 super()
 @option  = option
-@method_locations= {}
 @mass= {}
 @parser  = nil
+@threshold   = option[:threshold] || DEFAULT_THRESHOLD
 self.auto_shift_type = true
 self.reset
   end
@@ -294,7 +297,7 @@
   # Final threshold that is used for report
 
   def threshold
-option[:all] ? 

commit rubygem-flog for openSUSE:Factory

2017-01-25 Thread root


binyBTqA0zpr7.bin
Description: Binary data


commit rubygem-flog for openSUSE:Factory

2016-06-10 Thread h_root


binlUie6e_UE6.bin
Description: Binary data


commit rubygem-flog for openSUSE:Factory

2015-02-11 Thread h_root


bincCI3_ze64I.bin
Description: Binary data


commit rubygem-flog for openSUSE:Factory

2014-10-15 Thread h_root
Hello community,

here is the log from the commit of package rubygem-flog for openSUSE:Factory 
checked in at 2014-10-15 16:20:14

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
2014-10-14 07:12:16.0 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-flog.new/rubygem-flog.changes   
2014-10-15 16:21:45.0 +0200
@@ -1,0 +2,12 @@
+Wed Oct 15 09:16:20 UTC 2014 - co...@suse.com
+
+- updated to version 4.3.0
+  * 1 minor enhancement:
+* Added methods_only param to FlogTask. (jocranford)
+  
+  * 2 bug fixes:
+  
+* Fixed grouping by class name. (guilhermesimoes)
+* Removed dead rubyforge setting in Rakefile
+
+---

Old:

  flog-4.2.0.gem

New:

  flog-4.3.0.gem



Other differences:
--
++ rubygem-flog.spec ++
--- /var/tmp/diff_new_pack.nHZkP7/_old  2014-10-15 16:21:47.0 +0200
+++ /var/tmp/diff_new_pack.nHZkP7/_new  2014-10-15 16:21:47.0 +0200
@@ -16,18 +16,24 @@
 #
 
 
+#
+# This file was generated with a gem2rpm.yml and not just plain gem2rpm.
+# All sections marked as MANUAL, license headers, summaries and descriptions
+# can be maintained in that file. Please consult this file before editing any
+# of those fields
+#
+
 Name:   rubygem-flog
-Version:4.2.0
+Version:4.3.0
 Release:0
 %define mod_name flog
 %define mod_full_name %{mod_name}-%{version}
-%define mod_branch -%{version}
-%define mod_weight 40200
-
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  %{rubygem gem2rpm}
+BuildRequires:  %{rubygem rdoc  3.10}
+BuildRequires:  %{ruby}
 BuildRequires:  ruby-macros = 5
 BuildRequires:  update-alternatives
-BuildRequires:  rubygem(rdoc)  3.10
 Url:http://ruby.sadi.st/
 Source: http://rubygems.org/gems/%{mod_full_name}.gem
 Source1:gem2rpm.yml
@@ -40,7 +46,6 @@
 Flog reports the most tortured code in an easy to read pain
 report. The higher the score, the more pain the code is in.
 
-
 %prep
 
 %build

++ flog-4.2.0.gem - flog-4.3.0.gem ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/History.txt new/History.txt
--- old/History.txt 1970-01-01 01:00:00.0 +0100
+++ new/History.txt 2014-07-19 01:17:07.0 +0200
@@ -1,3 +1,16 @@
+=== 4.3.0 / 2014-07-18
+
+* 1 minor enhancement:
+
+  * Added methods_only param to FlogTask. (jocranford)
+
+=== 4.2.1 / 2014-05-29
+
+* 2 bug fixes:
+
+  * Fixed grouping by class name. (guilhermesimoes)
+  * Removed dead rubyforge setting in Rakefile
+
 === 4.2.0 / 2013-10-18
 
 * 3 minor enhancements:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/README.txt new/README.txt
--- old/README.txt  1970-01-01 01:00:00.0 +0100
+++ new/README.txt  2014-07-19 01:17:07.0 +0200
@@ -3,6 +3,7 @@
 home :: http://ruby.sadi.st/
 code :: https://github.com/seattlerb/flog
 rdoc :: http://seattlerb.rubyforge.org/flog
+vim  :: http://github.com/sentientmonkey/vim-flog
 
 == DESCRIPTION:
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Rakefile new/Rakefile
--- old/Rakefile1970-01-01 01:00:00.0 +0100
+++ new/Rakefile2014-07-19 01:17:07.0 +0200
@@ -15,8 +15,6 @@
 Hoe.spec 'flog' do
   developer 'Ryan Davis', 'ryand-r...@zenspider.com'
 
-  self.rubyforge_name = 'seattlerb'
-
   self.flog_method = :max_method
   self.flog_threshold = timebomb 150, 50, '2013-11-01', '2012-11-01'
 
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/flog.rb new/lib/flog.rb
--- old/lib/flog.rb 1970-01-01 01:00:00.0 +0100
+++ new/lib/flog.rb 2014-07-19 01:17:07.0 +0200
@@ -11,7 +11,7 @@
 end
 
 class Flog  MethodBasedSexpProcessor
-  VERSION = 4.2.0 # :nodoc:
+  VERSION = 4.3.0 # :nodoc:
 
   ##
   # Cut off point where the report should stop unless --all given.
@@ -124,7 +124,7 @@
 
   def calculate
 each_by_score threshold do |class_method, score, call_list|
-  klass = class_method.split(/#|::/).first
+  klass = class_method.scan(/.+(?=#|::)/).first
 
   method_scores[klass]  [class_method, score]
   scores[klass] += score
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 

commit rubygem-flog for openSUSE:Factory

2014-10-13 Thread h_root
Hello community,

here is the log from the commit of package rubygem-flog for openSUSE:Factory 
checked in at 2014-10-14 07:11:31

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
2014-09-12 12:22:49.0 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-flog.new/rubygem-flog.changes   
2014-10-14 07:12:16.0 +0200
@@ -1,0 +2,5 @@
+Sun Oct 12 11:06:27 UTC 2014 - adr...@suse.de
+
+- adapt to new rubygem packaging style
+
+---



Other differences:
--
++ rubygem-flog.spec ++
--- /var/tmp/diff_new_pack.lf4umW/_old  2014-10-14 07:12:17.0 +0200
+++ /var/tmp/diff_new_pack.lf4umW/_new  2014-10-14 07:12:17.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-flog
 #
-# 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
@@ -25,7 +25,7 @@
 %define mod_weight 40200
 
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  ruby-macros = 1
+BuildRequires:  ruby-macros = 5
 BuildRequires:  update-alternatives
 BuildRequires:  rubygem(rdoc)  3.10
 Url:http://ruby.sadi.st/
@@ -40,70 +40,20 @@
 Flog reports the most tortured code in an easy to read pain
 report. The higher the score, the more pain the code is in.
 
-%package doc
-Summary:RDoc documentation for %{mod_name}
-Group:  Development/Languages/Ruby
-Requires:   %{name} = %{version}
-
-%description doc
-Documentation generated at gem installation time.
-Usually in RDoc and RI formats.
-
-%package testsuite
-Summary:Test suite for %{mod_name}
-Group:  Development/Languages/Ruby
-Requires:   %{name} = %{version}
-
-%description testsuite
-Test::Unit or RSpec files, useful for developers.
 
 %prep
-#gem_unpack
-#if you need patches, apply them here and replace the # with a % sign in the 
surrounding lines
-#gem_build
 
 %build
 
 %install
-%gem_install -f
-mkdir -p %{buildroot}%{_sysconfdir}/alternatives
-mv %{buildroot}%{_bindir}/flog{,%{mod_branch}}
-touch %{buildroot}%{_sysconfdir}/alternatives/flog
-ln -s %{_sysconfdir}/alternatives/flog %{buildroot}%{_bindir}/flog
-
-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
+%gem_install \
+  --symlink-binaries \
+  --doc-files=History.txt README.txt \
+  -f
 # MANUAL
 perl -p -i -e 's|#!\S+|#!/usr/bin/ruby|g' 
%{buildroot}%{_libdir}/*/gems/*/gems/%{mod_full_name}/bin/flog
 # /MANUAL
 
-%post
-/usr/sbin/update-alternatives --install \
-%{_bindir}/flog flog %{_bindir}/flog%{mod_branch} %{mod_weight}
-
-%preun
-if [ $1 = 0 ] ; then
-/usr/sbin/update-alternatives --remove flog %{_bindir}/flog%{mod_branch}
-fi
-
-%files
-%defattr(-,root,root,-)
-%{_docdir}/%{name}
-%{_bindir}/flog%{mod_branch}
-%{_bindir}/flog
-%ghost %{_sysconfdir}/alternatives/flog
-%{_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
-
-%files doc
-%defattr(-,root,root,-)
-%doc %{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_full_name}/
-
-%files testsuite
-%defattr(-,root,root,-)
-%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/test
+%gem_packages
 
 %changelog

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rubygem-flog for openSUSE:Factory

2014-09-12 Thread h_root
Hello community,

here is the log from the commit of package rubygem-flog for openSUSE:Factory 
checked in at 2014-09-12 11:28:28

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
2013-10-31 15:55:05.0 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-flog.new/rubygem-flog.changes   
2014-09-12 12:22:49.0 +0200
@@ -1,0 +2,14 @@
+Wed Sep 10 13:59:44 UTC 2014 - mrueck...@suse.de
+
+- added gem2rpm.yml as source
+
+---
+Wed Sep 10 09:32:05 UTC 2014 - mrueck...@suse.de
+
+- added a small scriptlet to fix the shebang line of the wrapper
+  script in the gem dir. the installed copy has it overwritten
+  but our she bang line checks the not installed copy too.
+- also added a gem2rpm.yml for later, but did not regenerate the
+  specfile just yet.
+
+---

New:

  gem2rpm.yml



Other differences:
--
++ rubygem-flog.spec ++
--- /var/tmp/diff_new_pack.xpOuNf/_old  2014-09-12 12:22:50.0 +0200
+++ /var/tmp/diff_new_pack.xpOuNf/_new  2014-09-12 12:22:50.0 +0200
@@ -30,6 +30,7 @@
 BuildRequires:  rubygem(rdoc)  3.10
 Url:http://ruby.sadi.st/
 Source: http://rubygems.org/gems/%{mod_full_name}.gem
+Source1:gem2rpm.yml
 Summary:Flog reports the most tortured code in an easy to read pain 
report
 License:MIT
 Group:  Development/Languages/Ruby
@@ -73,6 +74,9 @@
 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
+# MANUAL
+perl -p -i -e 's|#!\S+|#!/usr/bin/ruby|g' 
%{buildroot}%{_libdir}/*/gems/*/gems/%{mod_full_name}/bin/flog
+# /MANUAL
 
 %post
 /usr/sbin/update-alternatives --install \

++ gem2rpm.yml ++
# ---
# ## used by gem2rpm
# :summary: this is a custom summary
# ## used by gem2rpm
# :description: |-
#   this is a custom description
#
#   it can be multiline
# ## used by gem2rpm
# :license: MIT or Ruby
# ## used by gem2rpm and gem_packages
# :version_suffix: -x_y
# ## used by gem2rpm and gem_packages
# :disable_docs: true
# ## used by gem2rpm
# :disable_automatic_rdoc_dep: true
# ## used by gem2rpm
# :preamble: |-
#   BuildRequires: foobar
#   Requires: foobar
# ## used by gem2rpm
# :patches:
#   foo.patch: -p1
#   bar.patch: 
# ## used by gem2rpm
# :sources:
# - foo.desktop
# - bar.desktop
# :gem_install_args: ''
# ## used by gem2rpm
# :pre_install: |-
#   %if 0%{?use_system_libev}
#   export USE_VENDORED_LIBEV=no
#   %endif
# ## used by gem2rpm
# :post_install: |-
#   # delete custom files here or do other fancy stuff
#   install -D -m 0644 %{S:1} %{buildroot}%{_bindir}/gem2rpm-opensuse
# ## used by gem2rpm
# :testsuite_command: |-
#   (pushd %{buildroot}%{gem_base}/gems/%{mod_full_name}  rake test)
# ## used by gem2rpm
# :filelist: |-
#   /usr/bin/gem2rpm-opensuse
# ## used by gem2rpm
# :scripts:
#   :post: |-
# /bin/echo foo
# ## used by gem_packages
# :main:
#   :preamble: |-
# Requires: util-linux
# Recommends: pwgen
#   :filelist: |-
# /usr/bin/gem2rpm-opensuse
# ## used by gem_packages
# :custom:
#   apache:
# :preamble: |-
#   Requires: .
# :filelist: |-
#   /etc/apache2/conf.d/passenger.conf
# :summary: Custom summary is optional
# :description: |-
#   Custom description is optional
#
#   bar
# :post: |-
#   /bin/echo foo
#
---
:post_install: |-
  perl -p -i -e 's|#!\S+|#!/usr/bin/ruby|g' 
%{buildroot}%{_libdir}/*/gems/*/gems/%{mod_full_name}/bin/flog
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rubygem-flog for openSUSE:Factory

2013-10-31 Thread h_root
Hello community,

here is the log from the commit of package rubygem-flog for openSUSE:Factory 
checked in at 2013-10-31 15:55:03

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
2013-09-27 18:06:39.0 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-flog.new/rubygem-flog.changes   
2013-10-31 15:55:05.0 +0100
@@ -1,0 +2,10 @@
+Sun Oct 20 12:05:34 UTC 2013 - co...@suse.com
+
+- updated to version 4.2.0
+* 3 minor enhancements:
+
+  * Added --extended / -e to put file:line output on next line (for rubymine  
friends)
+  * Extracted MethodBasedSexpProcessor and pushed up to sexp_processor gem.
+  * Updated dependency on sexp_processor to ~ 4.4.
+
+---

Old:

  flog-4.1.2.gem

New:

  flog-4.2.0.gem



Other differences:
--
++ rubygem-flog.spec ++
--- /var/tmp/diff_new_pack.pZFGG2/_old  2013-10-31 15:55:06.0 +0100
+++ /var/tmp/diff_new_pack.pZFGG2/_new  2013-10-31 15:55:06.0 +0100
@@ -17,12 +17,12 @@
 
 
 Name:   rubygem-flog
-Version:4.1.2
+Version:4.2.0
 Release:0
 %define mod_name flog
 %define mod_full_name %{mod_name}-%{version}
 %define mod_branch -%{version}
-%define mod_weight 40102
+%define mod_weight 40200
 
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  ruby-macros = 1

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rubygem-flog for openSUSE:Factory

2013-09-27 Thread h_root
Hello community,

here is the log from the commit of package rubygem-flog for openSUSE:Factory 
checked in at 2013-09-27 18:06:38

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
2013-07-16 16:22:29.0 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-flog.new/rubygem-flog.changes   
2013-09-27 18:06:39.0 +0200
@@ -1,0 +2,9 @@
+Sat Sep  7 05:20:00 UTC 2013 - co...@suse.com
+
+- updated to version 4.1.2
+ * 2 bug fixes:
+ 
+   * Don't even record a score if method stack is empty and user used 
--methods-only.
+   * Fixed Flog task's default method. (jasonrobertfox)
+
+---

Old:

  flog-4.1.1.gem

New:

  flog-4.1.2.gem



Other differences:
--
++ rubygem-flog.spec ++
--- /var/tmp/diff_new_pack.hu8bdz/_old  2013-09-27 18:06:39.0 +0200
+++ /var/tmp/diff_new_pack.hu8bdz/_new  2013-09-27 18:06:39.0 +0200
@@ -17,12 +17,12 @@
 
 
 Name:   rubygem-flog
-Version:4.1.1
+Version:4.1.2
 Release:0
 %define mod_name flog
 %define mod_full_name %{mod_name}-%{version}
 %define mod_branch -%{version}
-%define mod_weight 40101
+%define mod_weight 40102
 
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  ruby-macros = 1

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rubygem-flog for openSUSE:Factory

2013-07-16 Thread h_root
Hello community,

here is the log from the commit of package rubygem-flog for openSUSE:Factory 
checked in at 2013-07-16 16:22:28

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
2013-05-27 09:59:28.0 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-flog.new/rubygem-flog.changes   
2013-07-16 16:22:29.0 +0200
@@ -1,0 +2,10 @@
+Fri Jul 12 19:09:12 UTC 2013 - co...@suse.com
+
+- updated to version 4.1.1
+ * 1 minor enhancement:
+   * Added max_method to delegators.
+ 
+ * 1 bug fix:
+   * Fixed FlogTask to use FlogCLI. (envygeeks)
+
+---

Old:

  flog-4.1.0.gem

New:

  flog-4.1.1.gem



Other differences:
--
++ rubygem-flog.spec ++
--- /var/tmp/diff_new_pack.eiGQvf/_old  2013-07-16 16:22:30.0 +0200
+++ /var/tmp/diff_new_pack.eiGQvf/_new  2013-07-16 16:22:30.0 +0200
@@ -17,21 +17,22 @@
 
 
 Name:   rubygem-flog
-Version:4.1.0
+Version:4.1.1
 Release:0
 %define mod_name flog
 %define mod_full_name %{mod_name}-%{version}
+%define mod_branch -%{version}
+%define mod_weight 40101
 
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  ruby-macros = 1
+BuildRequires:  update-alternatives
 BuildRequires:  rubygem(rdoc)  3.10
 Url:http://ruby.sadi.st/
 Source: http://rubygems.org/gems/%{mod_full_name}.gem
 Summary:Flog reports the most tortured code in an easy to read pain 
report
 License:MIT
 Group:  Development/Languages/Ruby
-%define mod_branch -%{version}
-%define mod_weight 4
 PreReq: update-alternatives
 
 %description
@@ -64,9 +65,13 @@
 
 %install
 %gem_install -f
+mkdir -p %{buildroot}%{_sysconfdir}/alternatives
 mv %{buildroot}%{_bindir}/flog{,%{mod_branch}}
-ln -s flog%{mod_branch} %{buildroot}%{_bindir}/flog
+touch %{buildroot}%{_sysconfdir}/alternatives/flog
+ln -s %{_sysconfdir}/alternatives/flog %{buildroot}%{_bindir}/flog
+
 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
@@ -82,7 +87,8 @@
 %defattr(-,root,root,-)
 %{_docdir}/%{name}
 %{_bindir}/flog%{mod_branch}
-%ghost %{_bindir}/flog
+%{_bindir}/flog
+%ghost %{_sysconfdir}/alternatives/flog
 %{_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: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rubygem-flog for openSUSE:Factory

2013-05-27 Thread h_root
Hello community,

here is the log from the commit of package rubygem-flog for openSUSE:Factory 
checked in at 2013-05-27 09:59:26

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
2013-05-02 11:46:39.0 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-flog.new/rubygem-flog.changes   
2013-05-27 09:59:28.0 +0200
@@ -1,0 +2,14 @@
+Mon May 13 08:11:28 UTC 2013 - co...@suse.com
+
+- updated to version 4.1.0
+ * 3 minor enhancements:
+ 
+   * Cleaned up tests by adding assert_hash_in_epsilon. yay!
+   * Fixed method_location is now cleared on #reset. (makaroni4)
+   * to_proc_normal is now penalized based on RUBY_VERSION. Scores were 
benchmarked.
+ 
+ * 1 bug fix:
+ 
+   * Fixed code/home urls in readme/gem.
+
+---

Old:

  flog-4.0.0.gem

New:

  flog-4.1.0.gem



Other differences:
--
++ rubygem-flog.spec ++
--- /var/tmp/diff_new_pack.wrwQ9s/_old  2013-05-27 09:59:29.0 +0200
+++ /var/tmp/diff_new_pack.wrwQ9s/_new  2013-05-27 09:59:29.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   rubygem-flog
-Version:4.0.0
+Version:4.1.0
 Release:0
 %define mod_name flog
 %define mod_full_name %{mod_name}-%{version}
@@ -30,7 +30,7 @@
 Summary:Flog reports the most tortured code in an easy to read pain 
report
 License:MIT
 Group:  Development/Languages/Ruby
-%define mod_branch -4.0.0
+%define mod_branch -%{version}
 %define mod_weight 4
 PreReq: update-alternatives
 
@@ -66,6 +66,8 @@
 %gem_install -f
 mv %{buildroot}%{_bindir}/flog{,%{mod_branch}}
 ln -s flog%{mod_branch} %{buildroot}%{_bindir}/flog
+mkdir -p %{buildroot}%{_docdir}/%{name}
+ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/README.txt 
%buildroot/%{_docdir}/%{name}/README.txt
 
 %post
 /usr/sbin/update-alternatives --install \
@@ -78,6 +80,7 @@
 
 %files
 %defattr(-,root,root,-)
+%{_docdir}/%{name}
 %{_bindir}/flog%{mod_branch}
 %ghost %{_bindir}/flog
 %{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_full_name}.gem

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rubygem-flog for openSUSE:Factory

2013-05-02 Thread h_root
Hello community,

here is the log from the commit of package rubygem-flog for openSUSE:Factory 
checked in at 2013-05-02 11:46:37

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
2013-04-02 12:55:33.0 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-flog.new/rubygem-flog.changes   
2013-05-02 11:46:39.0 +0200
@@ -1,0 +2,13 @@
+Wed Apr 24 05:55:14 UTC 2013 - co...@suse.com
+
+- updated to version 4.0.0
+ * 1 major enhancement:
+   * Renamed Flog#methods to #method_scores. (makaroni4)
+ 
+ * 4 minor enhancements:
+   * Added accessors for methods, scores. Now available for CIs! (makaroni4)
+   * Refactored calculations down to 2 methods: total_score and totals. 
(makaroni4)
+   * Refactored to #calculate, #threshold. (makaroni4)
+   * Track stack of nested sclass scopes for parser (pithyless)
+
+---

Old:

  flog-3.2.3.gem

New:

  flog-4.0.0.gem



Other differences:
--
++ rubygem-flog.spec ++
--- /var/tmp/diff_new_pack.ffQhr1/_old  2013-05-02 11:46:40.0 +0200
+++ /var/tmp/diff_new_pack.ffQhr1/_new  2013-05-02 11:46:40.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   rubygem-flog
-Version:3.2.3
+Version:4.0.0
 Release:0
 %define mod_name flog
 %define mod_full_name %{mod_name}-%{version}
@@ -30,8 +30,8 @@
 Summary:Flog reports the most tortured code in an easy to read pain 
report
 License:MIT
 Group:  Development/Languages/Ruby
-%define mod_branch -3.2.3
-%define mod_weight 3
+%define mod_branch -4.0.0
+%define mod_weight 4
 PreReq: update-alternatives
 
 %description

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rubygem-flog for openSUSE:Factory

2013-04-02 Thread h_root
Hello community,

here is the log from the commit of package rubygem-flog for openSUSE:Factory 
checked in at 2013-04-02 12:55:32

Comparing /work/SRC/openSUSE:Factory/rubygem-flog (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-flog.new (New)


Package is rubygem-flog, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-flog/rubygem-flog.changes
2013-01-24 15:45:25.0 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-flog.new/rubygem-flog.changes   
2013-04-02 12:55:33.0 +0200
@@ -1,0 +2,7 @@
+Sat Mar 23 08:05:09 UTC 2013 - co...@suse.com
+
+- updated to version 3.2.3
+ * 1 bug fix:
+   * Don't blow up if a path doesn't exist or isn't readable.
+
+---

Old:

  flog-3.2.2.gem

New:

  flog-3.2.3.gem



Other differences:
--
++ rubygem-flog.spec ++
--- /var/tmp/diff_new_pack.l4s1Gs/_old  2013-04-02 12:55:35.0 +0200
+++ /var/tmp/diff_new_pack.l4s1Gs/_new  2013-04-02 12:55:35.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   rubygem-flog
-Version:3.2.2
+Version:3.2.3
 Release:0
 %define mod_name flog
 %define mod_full_name %{mod_name}-%{version}
@@ -26,10 +26,13 @@
 BuildRequires:  ruby-macros = 1
 BuildRequires:  rubygem(rdoc)  3.10
 Url:http://ruby.sadi.st/
-Source: %{mod_full_name}.gem
+Source: http://rubygems.org/gems/%{mod_full_name}.gem
 Summary:Flog reports the most tortured code in an easy to read pain 
report
 License:MIT
 Group:  Development/Languages/Ruby
+%define mod_branch -3.2.3
+%define mod_weight 3
+PreReq: update-alternatives
 
 %description
 Flog reports the most tortured code in an easy to read pain
@@ -61,10 +64,22 @@
 
 %install
 %gem_install -f
+mv %{buildroot}%{_bindir}/flog{,%{mod_branch}}
+ln -s flog%{mod_branch} %{buildroot}%{_bindir}/flog
+
+%post
+/usr/sbin/update-alternatives --install \
+%{_bindir}/flog flog %{_bindir}/flog%{mod_branch} %{mod_weight}
+
+%preun
+if [ $1 = 0 ] ; then
+/usr/sbin/update-alternatives --remove flog %{_bindir}/flog%{mod_branch}
+fi
 
 %files
 %defattr(-,root,root,-)
-%{_bindir}/flog
+%{_bindir}/flog%{mod_branch}
+%ghost %{_bindir}/flog
 %{_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: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rubygem-flog for openSUSE:Factory

2013-01-24 Thread h_root
Hello community,

here is the log from the commit of package rubygem-flog for openSUSE:Factory 
checked in at 2013-01-24 15:45:23

Comparing /work/SRC/openSUSE:Factory/rubygem-flog (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-flog.new (New)


Package is rubygem-flog, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-flog/rubygem-flog.changes
2012-11-25 14:05:49.0 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-flog.new/rubygem-flog.changes   
2013-01-24 15:45:25.0 +0100
@@ -1,0 +2,27 @@
+Wed Jan 23 06:30:36 UTC 2013 - co...@suse.com
+
+- updated to version 3.2.2
+   * Fixed stupid error when run on empty file.
+
+---
+Fri Dec 21 17:23:05 UTC 2012 - co...@suse.com
+
+- updated to version 3.2.1
+  * Relaxed (and fixed) the ruby_parser dependency.
+
+---
+Wed Dec 19 06:38:09 UTC 2012 - co...@suse.com
+
+- updated to version 3.2.0
+ * 4 minor enhancements:
+ 
+   * Ensure rake/tasklib is loaded when defining FlogTask. (ferrous26)
+   * Fixed reporting / recording of methods in singleton class blocks. (mihu)
+   * Refactored error handling code to flog_ruby. Calls flog_ruby! for actual 
work
+   * Refactored ruby processing code to flog_ruby!
+ 
+ * 1 bug fix:
+ 
+   * Fixed flogging of || iters. (JacobNinja)
+
+---

Old:

  flog-3.1.0.gem

New:

  flog-3.2.2.gem



Other differences:
--
++ rubygem-flog.spec ++
--- /var/tmp/diff_new_pack.tHMgyQ/_old  2013-01-24 15:45:26.0 +0100
+++ /var/tmp/diff_new_pack.tHMgyQ/_new  2013-01-24 15:45:26.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-flog
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 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,7 +17,7 @@
 
 
 Name:   rubygem-flog
-Version:3.1.0
+Version:3.2.2
 Release:0
 %define mod_name flog
 %define mod_full_name %{mod_name}-%{version}

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rubygem-flog for openSUSE:Factory

2012-11-25 Thread h_root
Hello community,

here is the log from the commit of package rubygem-flog for openSUSE:Factory 
checked in at 2012-11-25 14:05:46

Comparing /work/SRC/openSUSE:Factory/rubygem-flog (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-flog.new (New)


Package is rubygem-flog, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-flog/rubygem-flog.changes
2012-11-12 07:06:08.0 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-flog.new/rubygem-flog.changes   
2012-11-25 14:05:49.0 +0100
@@ -1,0 +2,16 @@
+Sat Nov 17 05:58:24 UTC 2012 - co...@suse.com
+
+- updated to version 3.1.0
+ * 4 minor enhancements:
+ 
+   * --quiet option is now false by default, and changed to silence parse 
warnings.
+   * Added max_score and max_method. (aselder)
+   * FlogTask can now take a method to use to figure out score, allowing for 
total or max_score.
+   * Switched to capturing RubyParser::SyntaxError (RP 3.0 change).
+ 
+ * 2 bug fixes:
+ 
+   * Avoid redefined warning for File::RUBY19. (svendahlstrand)
+   * Fixed flog to default to RubyParser if not specified. Allows cleaner 
programmatic access.
+
+---

Old:

  flog-3.0.0.gem

New:

  flog-3.1.0.gem



Other differences:
--
++ rubygem-flog.spec ++
--- /var/tmp/diff_new_pack.axeUGA/_old  2012-11-25 14:05:51.0 +0100
+++ /var/tmp/diff_new_pack.axeUGA/_new  2012-11-25 14:05:51.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   rubygem-flog
-Version:3.0.0
+Version:3.1.0
 Release:0
 %define mod_name flog
 %define mod_full_name %{mod_name}-%{version}

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rubygem-flog for openSUSE:Factory

2012-11-11 Thread h_root
Hello community,

here is the log from the commit of package rubygem-flog for openSUSE:Factory 
checked in at 2012-11-12 07:06:07

Comparing /work/SRC/openSUSE:Factory/rubygem-flog (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-flog.new (New)


Package is rubygem-flog, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-flog/rubygem-flog.changes
2012-09-01 10:33:47.0 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-flog.new/rubygem-flog.changes   
2012-11-12 07:06:08.0 +0100
@@ -1,0 +2,35 @@
+Sat Nov  3 07:55:51 UTC 2012 - co...@suse.com
+
+- updated to version 3.0.0
+ * 1 minor enhancement:
+ 
+   * Added a timeout handler to skip when RubyParser times out on a large file
+ 
+ * 1 bug fix:
+ 
+   * Fixed handling of plain literals in masgn in args.
+ 
+ * 4 minor enhancements:
+ 
+   * Added .rake as a supported extension.
+   * Create a new parser for every file, preventing state barkification
+   * Extended DSL support to include hash args (eg task :blah = :dep).
+   * Extended DSL support to report nested names (eg 
namespace(blah)::task#woot)
+ 
+ * 1 bug fix:
+ 
+   * Fix for sexp structure changes (no arglists).
+ 
+ * 4 minor enhancements:
+ 
+   * Added --18 and --19 flags to specify parser. Defaults to hybrid.
+   * Explicitly use Ruby18Parser to remove deprecation warnings.
+   * Modified processor to deal with cleaner sexps from RP 3.x.
+   * Use File.binread (File.read in 1.8) to bypass encoding errors
+ 
+ * 2 bug fixes:
+ 
+   * Cleaned up some 1.9 warnings.
+   * Fixed failing tests against ruby_parser 3
+
+---

Old:

  flog-2.5.3.gem

New:

  flog-3.0.0.gem



Other differences:
--
++ rubygem-flog.spec ++
--- /var/tmp/diff_new_pack.SyHEaL/_old  2012-11-12 07:06:09.0 +0100
+++ /var/tmp/diff_new_pack.SyHEaL/_new  2012-11-12 07:06:09.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   rubygem-flog
-Version:2.5.3
+Version:3.0.0
 Release:0
 %define mod_name flog
 %define mod_full_name %{mod_name}-%{version}

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rubygem-flog for openSUSE:Factory

2012-07-23 Thread h_root
Hello community,

here is the log from the commit of package rubygem-flog for openSUSE:Factory 
checked in at 2012-07-23 10:32:20

Comparing /work/SRC/openSUSE:Factory/rubygem-flog (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-flog.new (New)


Package is rubygem-flog, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-flog/rubygem-flog.changes
2012-04-17 22:01:31.0 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-flog.new/rubygem-flog.changes   
2012-07-23 10:32:22.0 +0200
@@ -1,0 +2,5 @@
+Sun Jul 22 12:33:43 UTC 2012 - co...@suse.com
+
+- fix gem requires
+
+---



Other differences:
--
++ rubygem-flog.spec ++
--- /var/tmp/diff_new_pack.q1AKJs/_old  2012-07-23 10:32:23.0 +0200
+++ /var/tmp/diff_new_pack.q1AKJs/_new  2012-07-23 10:32:23.0 +0200
@@ -25,10 +25,12 @@
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  rubygems_with_buildroot_patch
 %rubygems_requires
-BuildRequires:  rubygem-sexp_processor = 3.0
-Requires:   rubygem-sexp_processor = 3.0
-BuildRequires:  rubygem-ruby_parser = 2.0
-Requires:   rubygem-ruby_parser = 2.0
+# sexp_processor ~ 3.0
+BuildRequires:  rubygem-sexp_processor-3 = 3.0
+Requires:   rubygem-sexp_processor-3 = 3.0
+# ruby_parser ~ 2.0
+BuildRequires:  rubygem-ruby_parser-2 = 2.0
+Requires:   rubygem-ruby_parser-2 = 2.0
 #
 Url:http://ruby.sadi.st/
 Source: %{mod_name}-%{version}.gem


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rubygem-flog for openSUSE:Factory

2012-04-17 Thread h_root
Hello community,

here is the log from the commit of package rubygem-flog for openSUSE:Factory 
checked in at 2012-04-17 22:01:27

Comparing /work/SRC/openSUSE:Factory/rubygem-flog (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-flog.new (New)


Package is rubygem-flog, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-flog/rubygem-flog.changes
2012-04-17 07:49:32.0 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-flog.new/rubygem-flog.changes   
2012-04-17 22:01:31.0 +0200
@@ -7,0 +8,12 @@
+Mon Apr  9 18:37:18 UTC 2012 - co...@suse.com
+
+- update to version 2.5.3
+* class_stack now always pushes on symbols or strings for class names.
+* Fixed klass_name returning an ugly mix of sexps and strings.
+* Improved parse error output. (impurist)
+* Added RegexpError to error handler.
+* Improved error output and suggest --continue
+* Record the flog score for the full class name, not just suffix. (dkubb)
+* Fixed block_pass when passed a multi-level const (xavier)
+
+---
@@ -10 +22 @@
-- update to version 2.0.5
+- update to version 2.5.0

Old:

  flog-2.5.0.gem

New:

  flog-2.5.3.gem



Other differences:
--
++ rubygem-flog.spec ++
--- /var/tmp/diff_new_pack.WhB8VP/_old  2012-04-17 22:01:33.0 +0200
+++ /var/tmp/diff_new_pack.WhB8VP/_new  2012-04-17 22:01:33.0 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package rubygem-flog (Version 2.5.0)
+# spec file for package rubygem-flog
 #
-# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 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
@@ -15,14 +15,12 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
+
 Name:   rubygem-flog
-Version:2.5.0
+Version:2.5.3
 Release:0
 %define mod_name flog
 #
-Group:  Development/Languages/Ruby
-License:MIT
 #
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  rubygems_with_buildroot_patch
@@ -36,6 +34,9 @@
 Source: %{mod_name}-%{version}.gem
 #
 Summary:Flog reports the most tortured code in an easy to read pain 
report
+License:MIT
+Group:  Development/Languages/Ruby
+
 %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.

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org