Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package rubygem-yard for openSUSE:Factory 
checked in at 2022-10-12 18:25:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-yard (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-yard.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-yard"

Wed Oct 12 18:25:09 2022 rev:35 rq:1010058 version:0.9.28

Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-yard/rubygem-yard.changes        
2022-02-02 22:45:02.742054782 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-yard.new.2275/rubygem-yard.changes      
2022-10-12 18:26:56.477987008 +0200
@@ -1,0 +2,7 @@
+Mon Oct 10 13:27:24 UTC 2022 - Stephan Kulow <[email protected]>
+
+updated to version 0.9.28
+ see installed CHANGELOG.md
+
+
+-------------------------------------------------------------------

Old:
----
  yard-0.9.27.gem

New:
----
  yard-0.9.28.gem

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

Other differences:
------------------
++++++ rubygem-yard.spec ++++++
--- /var/tmp/diff_new_pack.KzVseY/_old  2022-10-12 18:26:56.973988099 +0200
+++ /var/tmp/diff_new_pack.KzVseY/_new  2022-10-12 18:26:56.977988108 +0200
@@ -24,7 +24,7 @@
 #
 
 Name:           rubygem-yard
-Version:        0.9.27
+Version:        0.9.28
 Release:        0
 %define mod_name yard
 %define mod_full_name %{mod_name}-%{version}

++++++ yard-0.9.27.gem -> yard-0.9.28.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/.github/workflows/ci.yml new/.github/workflows/ci.yml
--- old/.github/workflows/ci.yml        2021-11-29 23:07:06.000000000 +0100
+++ new/.github/workflows/ci.yml        2022-06-01 22:20:17.000000000 +0200
@@ -9,11 +9,11 @@
       fail-fast: false
       matrix:
         os: [ubuntu-20.04, macos-10.15, windows-2019]
-        # 3.0 is interpreted as 3
-        ruby: [2.2, 2.3, 2.4, 2.5, 2.6, 2.7, "3.0"]
+        # 3.0 is interpreted as 3. also disable 2.5 due to bundler crashes
+        ruby: [2.2, 2.3, 2.4, 2.6, 2.7, "3.0", 3.1]
         exclude:
-          - { os: windows-2019 , ruby: 2.2 }
-          - { os: windows-2019 , ruby: 2.3 }
+          - { os: windows-2019, ruby: 2.2 }
+          - { os: windows-2019, ruby: 2.3 }
     steps:
       - name: Checkout
         uses: actions/checkout@v2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md    2021-11-29 23:07:06.000000000 +0100
+++ new/CHANGELOG.md    2022-06-01 22:20:17.000000000 +0200
@@ -1,6 +1,15 @@
 # main
 
-# 0.9.27 - November 29th, 2021
+# [0.9.28] - June 1st, 2022
+
+[0.9.28]: https://github.com/lsegal/yard/compare/v0.9.27...v0.9.28
+
+- Safe load config YAML files (#1385)
+- Handle empty string constants (#1415)
+- Pre-emptively support removal of `Object#taint` in Ruby 3.2 (#1419)
+- Fix Ruby 3.1 forward args Ripper change (#1431)
+
+# [0.9.27] - November 29th, 2021
 
 [0.9.27]: https://github.com/lsegal/yard/compare/v0.9.26...v0.9.27
 
@@ -16,14 +25,14 @@
 - Fix `@!scope` maintaining state in lone comment blocks (#1411)
 - Remove support for Travis CI
 
-# 0.9.26 - December 26th, 2020
+# [0.9.26] - December 26th, 2020
 
 [0.9.26]: https://github.com/lsegal/yard/compare/v0.9.25...v0.9.26
 
 - Add support for Ruby 3.0 and fix tests
 - Fix support for `frozen_string_literal: false` magic comments (#1363)
 
-# 0.9.25 - May 3rd, 2020
+# [0.9.25] - May 3rd, 2020
 
 [0.9.25]: https://github.com/lsegal/yard/compare/v0.9.24...v0.9.25
 
@@ -38,7 +47,7 @@
 - Omit spec files in gem package (#1307)
 - README updates (#1322)
 
-# 0.9.24 - January 8th, 2020
+# [0.9.24] - January 8th, 2020
 
 [0.9.24]: https://github.com/lsegal/yard/compare/v0.9.23...v0.9.24
 
@@ -46,20 +55,20 @@
   cache is changed.
 - Fix issue where Registry fails to resolve first-time lookups on instance 
methods.
 
-# 0.9.23 - January 5th, 2020
+# [0.9.23] - January 5th, 2020
 
 [0.9.23]: https://github.com/lsegal/yard/compare/v0.9.22...v0.9.23
 
 - Fix issues with double encoded code blocks when highlighted from an extra
   file.
 
-# 0.9.22 - December 31st, 2019
+# [0.9.22] - December 31st, 2019
 
 [0.9.22]: https://github.com/lsegal/yard/compare/v0.9.21...v0.9.22
 
 - Revert jquery update in last release since it requires more changes. (#1298)
 
-# 0.9.21 - December 31st, 2019
+# [0.9.21] - December 31st, 2019
 
 [0.9.21]: https://github.com/lsegal/yard/compare/v0.9.20...v0.9.21
 
@@ -75,7 +84,7 @@
 - Update jquery to 3.4.1 (#1294)
 - Test fixes (#1244)
 
-# 0.9.20 - June 27th, 2019
+# [0.9.20] - June 27th, 2019
 
 [0.9.20]: https://github.com/lsegal/yard/compare/v0.9.19...v0.9.20
 
@@ -85,7 +94,7 @@
   `yard server` host under certain conditions. Thanks to CuongMX from
   Viettel Cyber Security for discovering this vulnerability.
 
-# 0.9.19 - April 2nd, 2019
+# [0.9.19] - April 2nd, 2019
 
 [0.9.19]: https://github.com/lsegal/yard/compare/v0.9.16...v0.9.19
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Gemfile new/Gemfile
--- old/Gemfile 2021-11-29 23:07:06.000000000 +0100
+++ new/Gemfile 2022-06-01 22:20:17.000000000 +0200
@@ -2,13 +2,13 @@
 source 'https://rubygems.org'
 
 group :development do
-  gem 'rspec'
+  gem 'rspec', '>= 3.11.0'
   gem 'rake'
   gem 'rdoc'
   gem 'json'
   gem 'simplecov'
   gem 'samus', '~> 3.0.9', :require => false
-  gem 'coveralls', :require => false
+  gem 'coveralls_reborn', :require => false
   gem 'webrick'
 end
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/LICENSE new/LICENSE
--- old/LICENSE 2021-11-29 23:07:06.000000000 +0100
+++ new/LICENSE 2022-06-01 22:20:17.000000000 +0200
@@ -1,4 +1,4 @@
-Copyright (c) 2007-2018 Loren Segal
+Copyright (c) 2007-2022 Loren Segal
 
 Permission is hereby granted, free of charge, to any person
 obtaining a copy of this software and associated documentation
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/yard/cli/stats.rb new/lib/yard/cli/stats.rb
--- old/lib/yard/cli/stats.rb   2021-11-29 23:07:06.000000000 +0100
+++ new/lib/yard/cli/stats.rb   2022-06-01 22:20:17.000000000 +0200
@@ -225,7 +225,8 @@
         end
 
         opts.on('--query QUERY', "Only includes objects that match a specific 
query") do |query|
-          options[:verifier].add_expressions(query.taint)
+          query.taint if query.respond_to?(:taint)
+          options[:verifier].add_expressions(query)
         end
       end
     end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/yard/cli/yardoc.rb new/lib/yard/cli/yardoc.rb
--- old/lib/yard/cli/yardoc.rb  2021-11-29 23:07:06.000000000 +0100
+++ new/lib/yard/cli/yardoc.rb  2022-06-01 22:20:17.000000000 +0200
@@ -650,7 +650,8 @@
 
         opts.on('--query QUERY', "Only show objects that match a specific 
query") do |query|
           next if YARD::Config.options[:safe_mode]
-          options.verifier.add_expressions(query.taint)
+          query.taint if query.respond_to?(:taint)
+          options.verifier.add_expressions(query)
         end
 
         opts.on('--title TITLE', 'Add a specific title to HTML documents') do 
|title|
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/yard/config.rb new/lib/yard/config.rb
--- old/lib/yard/config.rb      2021-11-29 23:07:06.000000000 +0100
+++ new/lib/yard/config.rb      2022-06-01 22:20:17.000000000 +0200
@@ -236,7 +236,11 @@
     def self.read_config_file
       if File.file?(CONFIG_FILE)
         require 'yaml'
-        YAML.load_file(CONFIG_FILE)
+        if YAML.respond_to?(:safe_load_file)
+          YAML.safe_load_file(CONFIG_FILE, permitted_classes: [SymbolHash, 
Symbol])
+        else
+          YAML.load_file(CONFIG_FILE)
+        end
       else
         {}
       end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/yard/handlers/ruby/method_handler.rb 
new/lib/yard/handlers/ruby/method_handler.rb
--- old/lib/yard/handlers/ruby/method_handler.rb        2021-11-29 
23:07:06.000000000 +0100
+++ new/lib/yard/handlers/ruby/method_handler.rb        2022-06-01 
22:20:17.000000000 +0200
@@ -97,7 +97,7 @@
       params << ['**' + args.double_splat_param.source, nil]
     end
 
-    params << ['&' + args.block_param.source, nil] if args.block_param
+    params << ['&' + args.block_param.source, nil] if args.block_param && 
!args.args_forward
 
     params
   end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/yard/parser/ruby/ast_node.rb 
new/lib/yard/parser/ruby/ast_node.rb
--- old/lib/yard/parser/ruby/ast_node.rb        2021-11-29 23:07:06.000000000 
+0100
+++ new/lib/yard/parser/ruby/ast_node.rb        2022-06-01 22:20:17.000000000 
+0200
@@ -426,6 +426,13 @@
         def block_param
           self[-1] ? self[-1][0] : nil
         end
+
+        def args_forward
+          # shape is (required, optional, rest, more, keyword, keyword_rest, 
block)
+          # Ruby 3.1 moves :args_forward from rest to keyword_rest
+          args_index = YARD.ruby31? ? -2 : 2
+          self[args_index].type == :args_forward if self[args_index]
+        end
       end
 
       class MethodCallNode < AstNode
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/yard/templates/helpers/method_helper.rb 
new/lib/yard/templates/helpers/method_helper.rb
--- old/lib/yard/templates/helpers/method_helper.rb     2021-11-29 
23:07:06.000000000 +0100
+++ new/lib/yard/templates/helpers/method_helper.rb     2022-06-01 
22:20:17.000000000 +0200
@@ -66,7 +66,9 @@
 
       # @return [String] formats source code of a constant value
       def format_constant(value)
-        sp = value.split("\n").last[/^(\s+)/, 1]
+        # last can return nil, so default to empty string
+        sp = value.split("\n").last || ""
+        sp = sp[/^(\s+)/, 1]
         num = sp ? sp.size : 0
         html_syntax_highlight value.gsub(/^\s{#{num}}/, '')
       end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/yard/templates/template.rb 
new/lib/yard/templates/template.rb
--- old/lib/yard/templates/template.rb  2021-11-29 23:07:06.000000000 +0100
+++ new/lib/yard/templates/template.rb  2022-06-01 22:20:17.000000000 +0200
@@ -176,7 +176,9 @@
         def load_setup_rb
           setup_file = File.join(full_path, 'setup.rb')
           if File.file? setup_file
-            module_eval(File.read(setup_file).taint, setup_file, 1)
+            setup_code = File.read(setup_file)
+            setup_code.taint if setup_code.respond_to?(:taint)
+            module_eval(setup_code, setup_file, 1)
           end
         end
       end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/yard/version.rb new/lib/yard/version.rb
--- old/lib/yard/version.rb     2021-11-29 23:07:06.000000000 +0100
+++ new/lib/yard/version.rb     2022-06-01 22:20:17.000000000 +0200
@@ -2,5 +2,5 @@
 # frozen_string_literal: true
 
 module YARD
-  VERSION = '0.9.27'
+  VERSION = '0.9.28'
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/yard.rb new/lib/yard.rb
--- old/lib/yard.rb     2021-11-29 23:07:06.000000000 +0100
+++ new/lib/yard.rb     2022-06-01 22:20:17.000000000 +0200
@@ -51,6 +51,9 @@
 
   # @return [Boolean] whether YARD is being run in Ruby 3.0
   def self.ruby3?; @ruby3 ||= (RUBY_VERSION >= '3.0.0') end
+
+  # @return [Boolean] whether YARD is being run in Ruby 3.1
+  def self.ruby31?; @ruby31 ||= (RUBY_VERSION >= '3.1.0') end
 end
 
 # Keep track of Ruby version for compatibility code
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2021-11-29 23:07:06.000000000 +0100
+++ new/metadata        2022-06-01 22:20:17.000000000 +0200
@@ -1,14 +1,14 @@
 --- !ruby/object:Gem::Specification
 name: yard
 version: !ruby/object:Gem::Version
-  version: 0.9.27
+  version: 0.9.28
 platform: ruby
 authors:
 - Loren Segal
 autorequire: 
 bindir: bin
 cert_chain: []
-date: 2021-11-29 00:00:00.000000000 Z
+date: 2022-06-01 00:00:00.000000000 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: webrick
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/templates/default/layout/html/footer.erb 
new/templates/default/layout/html/footer.erb
--- old/templates/default/layout/html/footer.erb        2021-11-29 
23:07:06.000000000 +0100
+++ new/templates/default/layout/html/footer.erb        2022-06-01 
22:20:17.000000000 +0200
@@ -1,5 +1,5 @@
 <div id="footer">
   Generated on <%= Time.now.strftime("%c") %> by
-  <a href="http://yardoc.org"; title="Yay! A Ruby Documentation Tool" 
target="_parent">yard</a>
+  <a href="https://yardoc.org"; title="Yay! A Ruby Documentation Tool" 
target="_parent">yard</a>
   <%= YARD::VERSION %> (ruby-<%= RUBY_VERSION %>).
 </div>

++++++ yard-do-not-record-timestamps.diff ++++++
--- /var/tmp/diff_new_pack.KzVseY/_old  2022-10-12 18:26:57.217988636 +0200
+++ /var/tmp/diff_new_pack.KzVseY/_new  2022-10-12 18:26:57.221988645 +0200
@@ -1,11 +1,10 @@
-diff -ru yard-0.8.7.6.orig/templates/default/layout/html/footer.erb 
yard-0.8.7.6/templates/default/layout/html/footer.erb
---- yard-0.8.7.6.orig/templates/default/layout/html/footer.erb 2015-02-01 
06:57:19.645038949 +0100
-+++ yard-0.8.7.6/templates/default/layout/html/footer.erb      2015-02-01 
06:57:48.165415016 +0100
+--- yard-0.9.28.orig/templates/default/layout/html/footer.erb  2022-10-10 
15:36:56.140861171 +0200
++++ yard-0.9.28/templates/default/layout/html/footer.erb       2022-10-10 
15:37:54.948788698 +0200
 @@ -1,5 +1,5 @@
  <div id="footer">
 -  Generated on <%= Time.now.strftime("%c") %> by
 +  Generated by
-   <a href="http://yardoc.org"; title="Yay! A Ruby Documentation Tool" 
target="_parent">yard</a>
+   <a href="https://yardoc.org"; title="Yay! A Ruby Documentation Tool" 
target="_parent">yard</a>
 -  <%= YARD::VERSION %> (ruby-<%= RUBY_VERSION %>).
 +  <%= YARD::VERSION %>.
  </div>

Reply via email to