Hello community,

here is the log from the commit of package yast2-devtools for openSUSE:Factory 
checked in at 2016-07-27 16:05:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-devtools (Old)
 and      /work/SRC/openSUSE:Factory/.yast2-devtools.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yast2-devtools"

Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-devtools/yast2-devtools.changes    
2016-03-20 11:47:34.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.yast2-devtools.new/yast2-devtools.changes       
2016-07-27 16:06:03.000000000 +0200
@@ -1,0 +2,35 @@
+Tue Jul 19 07:14:16 UTC 2016 - jreidin...@suse.com
+
+- Generate simple page if yard is not available (follow-up of
+  previous fix for building) (part of FATE#320356)
+- 3.1.45
+
+-------------------------------------------------------------------
+Mon Jul 18 14:06:06 UTC 2016 - jreidin...@suse.com
+
+- prevent yard failure as it is no longer dependency, so skip
+  ruby autodocs generation if not available (fix yast-rdp and
+  yard-smt build) (part of FATE#320356)
+- 3.1.44
+
+-------------------------------------------------------------------
+Thu Jul 14 11:36:15 UTC 2016 - jreidin...@suse.com
+
+- Update the Rubocop config to prefer method_alias over alias
+  (bsc#988759)
+- 3.1.43
+
+-------------------------------------------------------------------
+Wed Jul 13 13:49:59 UTC 2016 - lsle...@suse.cz
+
+- Update the Rubocop config so YaST can use a new Rubocop version
+  (0.41.x) (bsc#988759)
+- 3.1.42
+
+-------------------------------------------------------------------
+Fri Jun  3 12:13:51 UTC 2016 - igonzalezs...@suse.com
+
+- Remove yard dependency as *-devel-doc packages are not being
+  generated anymore.
+
+-------------------------------------------------------------------

Old:
----
  yast2-devtools-3.1.41.tar.bz2

New:
----
  yast2-devtools-3.1.45.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ yast2-devtools.spec ++++++
--- /var/tmp/diff_new_pack.8RlFcg/_old  2016-07-27 16:06:05.000000000 +0200
+++ /var/tmp/diff_new_pack.8RlFcg/_new  2016-07-27 16:06:05.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-devtools
-Version:        3.1.41
+Version:        3.1.45
 Release:        0
 Url:            http://github.com/yast/yast-devtools
 
@@ -55,8 +55,6 @@
 Requires:       automake
 Requires:       gettext-tools
 Requires:       pkgconfig >= 0.16
-# for building Ruby autodocs
-Requires:       rubygem(%{rb_default_ruby_abi}:yard)
 
 %if 0%{?suse_version} <= 1230
 # extra package for yard Markdown formatting in openSUSE <= 12.3

++++++ yast2-devtools-3.1.41.tar.bz2 -> yast2-devtools-3.1.45.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-devtools-3.1.41/build-tools/aminclude/autodocs-ycp.ami 
new/yast2-devtools-3.1.45/build-tools/aminclude/autodocs-ycp.ami
--- old/yast2-devtools-3.1.41/build-tools/aminclude/autodocs-ycp.ami    
2016-03-14 15:41:20.000000000 +0100
+++ new/yast2-devtools-3.1.45/build-tools/aminclude/autodocs-ycp.ami    
2016-07-19 09:40:24.000000000 +0200
@@ -4,16 +4,16 @@
 # Builds source documentation for YCP sources
 # Uses ycpdoc
 # PARAMETERS:
-#   AUTODOCS_YCP: Files that the ycp autodocs is built from
-#                Optional - the default is $(srcdir)/../../src/*.ycp
-#   AUTODOCS_PM: Files that the perl autodocs is built from
-#                Optional - the default is $(srcdir)/../../src/*.pm
-#   AUTODOCS_RB: Files that the ruby autodocs is built from (using yard)
-#                Optional - the default is $(srcdir)/../../src/modules/*.rb) 
$(srcdir)/../../src/include/*/*.rb
-#   AUTODOCS_SUBDIR: To install the result to $(docdir)/SUBDIR/autodocs
-#              Optional - the default is no subdir, $(docdir)/autodocs
-#   AUTODOCS_STRIP: Strip it from filenames. The remaining / are replaced by __
-#              Optional - the default is $(srcdir)/../../src
+#              AUTODOCS_YCP: Files that the ycp autodocs is built from
+#                              Optional - the default is 
$(srcdir)/../../src/*.ycp
+#              AUTODOCS_PM: Files that the perl autodocs is built from
+#                              Optional - the default is 
$(srcdir)/../../src/*.pm
+#              AUTODOCS_RB: Files that the ruby autodocs is built from (using 
yard)
+#                              Optional - the default is 
$(srcdir)/../../src/modules/*.rb) $(srcdir)/../../src/include/*/*.rb
+#              AUTODOCS_SUBDIR: To install the result to 
$(docdir)/SUBDIR/autodocs
+#                              Optional - the default is no subdir, 
$(docdir)/autodocs
+#              AUTODOCS_STRIP: Strip it from filenames. The remaining / are 
replaced by __
+#                              Optional - the default is $(srcdir)/../../src
 
 htmldir = $(docdir)/$(AUTODOCS_SUBDIR)/autodocs
 
@@ -47,4 +47,23 @@
                pod2html --title=$$b --infile=$$i --outfile=$$b.html; \
                echo "<a href='$$b.html'>$${b/__/::}</a>" > $$b.mod.html; \
        done
-       if [ -n "$(AUTODOCS_RB)" ]; then $(YARD) doc --title "@RPMNAME@ -- 
Development Documentation" $(YARD_OPTIONS) $(AUTODOCS_RB); fi
+       if [ -n "$(AUTODOCS_RB)" ]; then \
+               if which $(YARD) 2>/dev/null; then \
+                       $(YARD) doc --title "@RPMNAME@ -- Development 
Documentation" $(YARD_OPTIONS) $(AUTODOCS_RB);\
+               else \
+                       echo "yard not available, skipping"; \
+                       if [ ! -f index.html ]; then \
+                               echo '<!DOCTYPE html>\
+                                       <html>\
+                                       <head>\
+                                       <meta charset="UTF-8">\
+                                       <title>YaST Package 
Documentation</title>\
+                                       </head>\
+                                       <body>\
+                                       <a href="http://yast.github.io/";>Go to 
official YaST documentation</a>\
+                                       <p>This is just a stub, to generate the 
full source code documentation install the "yardoc" tool.</p>\
+                                       </body>\
+                                       </html>' > index.html;\
+                       fi; \
+               fi; \
+       fi
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-devtools-3.1.41/package/yast2-devtools.changes 
new/yast2-devtools-3.1.45/package/yast2-devtools.changes
--- old/yast2-devtools-3.1.41/package/yast2-devtools.changes    2016-03-14 
15:41:20.000000000 +0100
+++ new/yast2-devtools-3.1.45/package/yast2-devtools.changes    2016-07-19 
09:40:24.000000000 +0200
@@ -1,4 +1,39 @@
 -------------------------------------------------------------------
+Tue Jul 19 07:14:16 UTC 2016 - jreidin...@suse.com
+
+- Generate simple page if yard is not available (follow-up of
+  previous fix for building) (part of FATE#320356)
+- 3.1.45
+
+-------------------------------------------------------------------
+Mon Jul 18 14:06:06 UTC 2016 - jreidin...@suse.com
+
+- prevent yard failure as it is no longer dependency, so skip
+  ruby autodocs generation if not available (fix yast-rdp and
+  yard-smt build) (part of FATE#320356)
+- 3.1.44
+
+-------------------------------------------------------------------
+Thu Jul 14 11:36:15 UTC 2016 - jreidin...@suse.com
+
+- Update the Rubocop config to prefer method_alias over alias
+  (bsc#988759)
+- 3.1.43
+
+-------------------------------------------------------------------
+Wed Jul 13 13:49:59 UTC 2016 - lsle...@suse.cz
+
+- Update the Rubocop config so YaST can use a new Rubocop version
+  (0.41.x) (bsc#988759)
+- 3.1.42
+
+-------------------------------------------------------------------
+Fri Jun  3 12:13:51 UTC 2016 - igonzalezs...@suse.com
+
+- Remove yard dependency as *-devel-doc packages are not being
+  generated anymore.
+
+-------------------------------------------------------------------
 Mon Mar 14 13:52:04 UTC 2016 - mvid...@suse.com
 
 - y2makepot: copy also comments for translators from control.xml
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-devtools-3.1.41/package/yast2-devtools.spec 
new/yast2-devtools-3.1.45/package/yast2-devtools.spec
--- old/yast2-devtools-3.1.41/package/yast2-devtools.spec       2016-03-14 
15:41:20.000000000 +0100
+++ new/yast2-devtools-3.1.45/package/yast2-devtools.spec       2016-07-19 
09:40:24.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-devtools
-Version:        3.1.41
+Version:        3.1.45
 Release:        0
 Url:            http://github.com/yast/yast-devtools
 
@@ -54,8 +54,6 @@
 Requires:       automake
 Requires:       gettext-tools
 Requires:       pkgconfig >= 0.16
-# for building Ruby autodocs
-Requires:       rubygem(%{rb_default_ruby_abi}:yard)
 
 %if 0%{?suse_version} <= 1230
 # extra package for yard Markdown formatting in openSUSE <= 12.3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-devtools-3.1.41/ytools/y2tool/rubocop_yast_style.yml 
new/yast2-devtools-3.1.45/ytools/y2tool/rubocop_yast_style.yml
--- old/yast2-devtools-3.1.41/ytools/y2tool/rubocop_yast_style.yml      
2016-03-14 15:41:20.000000000 +0100
+++ new/yast2-devtools-3.1.45/ytools/y2tool/rubocop_yast_style.yml      
2016-07-19 09:40:24.000000000 +0200
@@ -8,10 +8,12 @@
 #
 
################################################################################
 
-# Disabled, would require too many changes in the current code
-#Lint/EndAlignment:
-# StyleGuide: 
https://github.com/SUSE/style-guides/blob/master/Ruby.md#lintendalignment
-#  AlignWith: variable
+Lint/EndAlignment:
+  StyleGuide: 
https://github.com/SUSE/style-guides/blob/master/Ruby.md#lintendalignment
+  AlignWith: variable
+
+AllCops:
+  TargetRubyVersion: 2.1
 
 Metrics/AbcSize:
   StyleGuide: 
https://github.com/SUSE/style-guides/blob/master/Ruby.md#metricsabcsize
@@ -199,3 +201,32 @@
 #
 Style/DoubleNegation:
   Enabled: false
+
+# Allow block.call:
+#
+#  def foo(&block)
+#    var = block.call
+#    ...
+#
+# is better readable than
+#
+#  def foo
+#    var = yield
+#    ...
+#
+# although it is a bit slower
+Performance/RedundantBlockCall:
+  Enabled: false
+
+# alias method is more convenient method for method aliasing even when in class
+# context self scope is not so clear
+# see https://github.com/bbatsov/ruby-style-guide#alias-method-lexically
+# so force
+# class C
+#   alias_method :a, :b
+#
+# instead of:
+# class C
+#   alias b a
+Style/Alias:
+  EnforcedStyle: prefer_alias_method


Reply via email to