Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package rubygem-hoe for openSUSE:Factory checked in at 2022-10-30 18:28:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-hoe (Old) and /work/SRC/openSUSE:Factory/.rubygem-hoe.new.2275 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-hoe" Sun Oct 30 18:28:53 2022 rev:53 rq:1032145 version:3.26.0 Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-hoe/rubygem-hoe.changes 2022-09-03 23:18:55.587791641 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-hoe.new.2275/rubygem-hoe.changes 2022-10-30 18:29:07.842479939 +0100 @@ -1,0 +2,18 @@ +Fri Oct 28 04:58:58 UTC 2022 - Stephan Kulow <[email protected]> + +updated to version 3.26.0 + see installed History.rdoc + + === 3.26.0 / 2022-10-20 + + * 2 minor enhancements: + + * Added warning to bundled minitest/test_task. + * Removed dead rcov plugin and added (simple)cov plugin. + + * 1 bug fix: + + * Fixed test task load path issue, prepend Hoe.include_dirs to ensure they come first. + + +------------------------------------------------------------------- Old: ---- hoe-3.25.0.gem New: ---- hoe-3.26.0.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-hoe.spec ++++++ --- /var/tmp/diff_new_pack.TH0iIK/_old 2022-10-30 18:29:08.310482467 +0100 +++ /var/tmp/diff_new_pack.TH0iIK/_new 2022-10-30 18:29:08.318482511 +0100 @@ -24,7 +24,7 @@ # Name: rubygem-hoe -Version: 3.25.0 +Version: 3.26.0 Release: 0 %define mod_name hoe %define mod_full_name %{mod_name}-%{version} ++++++ hoe-3.25.0.gem -> hoe-3.26.0.gem ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/History.rdoc new/History.rdoc --- old/History.rdoc 2022-08-18 19:39:18.000000000 +0200 +++ new/History.rdoc 2022-10-20 20:23:43.000000000 +0200 @@ -1,3 +1,14 @@ +=== 3.26.0 / 2022-10-20 + +* 2 minor enhancements: + + * Added warning to bundled minitest/test_task. + * Removed dead rcov plugin and added (simple)cov plugin. + +* 1 bug fix: + + * Fixed test task load path issue, prepend Hoe.include_dirs to ensure they come first. + === 3.25.0 / 2022-08-18 * 1 minor enhancement: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Manifest.txt new/Manifest.txt --- old/Manifest.txt 2022-08-18 19:39:18.000000000 +0200 +++ new/Manifest.txt 2022-10-20 20:23:43.000000000 +0200 @@ -8,6 +8,7 @@ lib/hoe.rb lib/hoe/clean.rb lib/hoe/compiler.rb +lib/hoe/cov.rb lib/hoe/debug.rb lib/hoe/deps.rb lib/hoe/flay.rb @@ -20,7 +21,6 @@ lib/hoe/publish.rb lib/hoe/racc.rb lib/hoe/rake.rb -lib/hoe/rcov.rb lib/hoe/rdoc.rb lib/hoe/signing.rb lib/hoe/test.rb diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Rakefile new/Rakefile --- old/Rakefile 2022-08-18 19:39:18.000000000 +0200 +++ new/Rakefile 2022-10-20 20:23:43.000000000 +0200 @@ -6,6 +6,7 @@ Hoe.plugin :seattlerb Hoe.plugin :isolate Hoe.plugin :rdoc +Hoe.plugin :cov Hoe.spec "hoe" do developer "Ryan Davis", "[email protected]" 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 2022-08-18 19:39:18.000000000 +0200 +++ new/checksums.yaml.gz.sig 2022-10-20 20:23:43.000000000 +0200 @@ -1,4 +1 @@ -o?5???????2z@??_<?Ym??+~???m??:+ZX$?@I?FB($??N?!@?????fX1Q?*??? -?{W?????o????e?Ca*%NE??Y7??????]3?'/i???vK??qu}?/??????u???(K?P?*dN?+?YS3?n?o4?Q3TsG?u0:(Bj4_g??????:=?vcL`???OQo????M??d?ps? -????k?pK?????JE/=???(??o#??y -?c%G?????~ ]? \ No newline at end of file +Xa?/j??|?tYW???"?????`???^???{??3????@C??!??'???r+??t???QLv ?k???c??4$?C??H(Bk??????|?O?????:???42??wC??????R??w=U57?_x_?'??z??????-?X????O-????O???u?u??!???*???;J?7?^??????g??I#???????"????zg>??n??bK? ??s???N!I4v??Y??V%?FPG?????, ???/ \ No newline at end of file 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/hoe/clean.rb new/lib/hoe/clean.rb --- old/lib/hoe/clean.rb 2022-08-18 19:39:18.000000000 +0200 +++ new/lib/hoe/clean.rb 2022-10-20 20:23:43.000000000 +0200 @@ -16,7 +16,7 @@ def initialize_clean self.clean_globs ||= %w[diff diff.txt TAGS ri deps .source_index - *.gem **/*~ **/.*~ **/*.rbc coverage*] + *.gem **/*~ **/.*~ **/*.rbc] end ## diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/hoe/cov.rb new/lib/hoe/cov.rb --- old/lib/hoe/cov.rb 1970-01-01 01:00:00.000000000 +0100 +++ new/lib/hoe/cov.rb 2022-10-20 20:23:43.000000000 +0200 @@ -0,0 +1,34 @@ +## +# Coverage plugin for hoe. Uses simplecov. +# +# === Tasks Provided: +# +# cov:: Analyze code coverage with tests using simplecov. + +module Hoe::Cov + + ## + # Activate the cov dependencies. + + def activate_cov_deps + dependency "simplecov", "~> 0.21", :development + end + + ## + # Define tasks for plugin. + + def define_cov_tasks + task :isolate # ensure it exists + + self.clean_globs << "coverage" + + desc "Run tests and analyze code coverage" + task :cov => :isolate do + test_task.test_prelude = "require \"simplecov\"; SimpleCov.start" + + Rake::Task[:test].invoke + end + rescue LoadError + warn "simplecov not found" + end +end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/hoe/rcov.rb new/lib/hoe/rcov.rb --- old/lib/hoe/rcov.rb 2022-08-18 19:39:18.000000000 +0200 +++ new/lib/hoe/rcov.rb 1970-01-01 01:00:00.000000000 +0100 @@ -1,68 +0,0 @@ -## -# RCov plugin for hoe. -# -# === Tasks Provided: -# -# rcov:: Analyze code coverage with tests - -module Hoe::RCov - - ## - # Activate the rcov dependencies. - - def activate_rcov_deps - dependency "rcov", "~> 0.9", :development - end - - ## - # Define tasks for plugin. - - def define_rcov_tasks - task :isolate # ensure it exists - - task :rcov => :isolate do - sh(*make_rcov_cmd) - end - - task :clobber_rcov do - rm_rf "coverage" - end - - task :clobber => :clobber_rcov - - # this is for my emacs rcov overlay stuff on emacswiki. - task :rcov_overlay do - path = ENV["FILE"] - rcov, eol = Marshal.load(File.read("coverage.info")).last[path], 1 - puts rcov[:lines].zip(rcov[:coverage]).map { |line, coverage| - bol, eol = eol, eol + line.length - [bol, eol, "#ffcccc"] unless coverage - }.compact.inspect - end - rescue LoadError - # skip - task :clobber_rcov # in case rcov didn't load - # TODO: didn't load? this must be terribly historical - end - - def make_rcov_cmd # :nodoc: - rcov = Gem.bin_wrapper "rcov" - tests = test_globs.sort.map { |g| Dir.glob(g) }.flatten.map(&:inspect) - - cmd = %W[#{rcov} - #{Hoe::RUBY_FLAGS} - --text-report - --no-color - --save coverage.info - -x ^/ - -x tmp/isolate - --sort coverage - --sort-reverse - -o coverage - ] + tests - - cmd - end -end - -task :clean => :clobber_rcov diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/hoe/test.rb new/lib/hoe/test.rb --- old/lib/hoe/test.rb 2022-08-18 19:39:18.000000000 +0200 +++ new/lib/hoe/test.rb 2022-10-20 20:23:43.000000000 +0200 @@ -57,6 +57,11 @@ attr_accessor :rspec_options ## + # The test task created for this plugin. + + attr_accessor :test_task + + ## # Initialize variables for plugin. def initialize_test @@ -81,9 +86,9 @@ require "minitest/test_task" # currently in hoe, but will move test_prelude = self.test_prelude - Minitest::TestTask.create :test do |t| + self.test_task = Minitest::TestTask.create :test do |t| t.test_prelude = test_prelude - t.libs += Hoe.include_dirs.uniq + t.libs.prepend Hoe.include_dirs.uniq end when :testunit then desc "Run the test suite. Use FILTER or TESTOPTS to add flags/args." diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/hoe.rb new/lib/hoe.rb --- old/lib/hoe.rb 2022-08-18 19:39:18.000000000 +0200 +++ new/lib/hoe.rb 2022-10-20 20:23:43.000000000 +0200 @@ -87,7 +87,7 @@ include Rake::DSL if defined?(Rake::DSL) # duh - VERSION = "3.25.0" + VERSION = "3.26.0" @@plugins = [:clean, :debug, :deps, :flay, :flog, :newb, :package, :publish, :gemcutter, :signing, :test] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/minitest/test_task.rb new/lib/minitest/test_task.rb --- old/lib/minitest/test_task.rb 2022-08-18 19:39:18.000000000 +0200 +++ new/lib/minitest/test_task.rb 2022-10-20 20:23:43.000000000 +0200 @@ -2,6 +2,15 @@ require "rbconfig" require "rake/tasklib" +warn <<~EOM + minitest/test_task.rb is now packaged with minitest. If you see + this, you are getting it from hoe instead. If you're NOT able to + upgrade minitest to pick this up, please drop an issue on + seattlerb/hoe and let me know. + + Required from #{caller[2]} +EOM + module Minitest # :nodoc: ## diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata 2022-08-18 19:39:18.000000000 +0200 +++ new/metadata 2022-10-20 20:23:43.000000000 +0200 @@ -1,7 +1,7 @@ --- !ruby/object:Gem::Specification name: hoe version: !ruby/object:Gem::Version - version: 3.25.0 + version: 3.26.0 platform: ruby authors: - Ryan Davis @@ -29,7 +29,7 @@ JFmxn4h9YO/pVdB962BdBNNDia0kgIjI3ENnkLq0dKpYU3+F3KhEuTksLO0L6X/V YsuyUzsMz6GQA4khyaMgKNSD -----END CERTIFICATE----- -date: 2022-08-18 00:00:00.000000000 Z +date: 2022-10-20 00:00:00.000000000 Z dependencies: - !ruby/object:Gem::Dependency name: rake @@ -52,20 +52,6 @@ - !ruby/object:Gem::Version version: '15.0' - !ruby/object:Gem::Dependency - name: minitest - requirement: !ruby/object:Gem::Requirement - requirements: - - - "~>" - - !ruby/object:Gem::Version - version: '5.16' - type: :development - prerelease: false - version_requirements: !ruby/object:Gem::Requirement - requirements: - - - "~>" - - !ruby/object:Gem::Version - version: '5.16' -- !ruby/object:Gem::Dependency name: rdoc requirement: !ruby/object:Gem::Requirement requirements: @@ -85,6 +71,20 @@ - - "<" - !ruby/object:Gem::Version version: '7' +- !ruby/object:Gem::Dependency + name: simplecov + requirement: !ruby/object:Gem::Requirement + requirements: + - - "~>" + - !ruby/object:Gem::Version + version: '0.21' + type: :development + prerelease: false + version_requirements: !ruby/object:Gem::Requirement + requirements: + - - "~>" + - !ruby/object:Gem::Version + version: '0.21' description: |- Hoe is a rake/rubygems helper for project Rakefiles. It helps you manage, maintain, and release your project and includes a dynamic @@ -116,6 +116,7 @@ - lib/hoe.rb - lib/hoe/clean.rb - lib/hoe/compiler.rb +- lib/hoe/cov.rb - lib/hoe/debug.rb - lib/hoe/deps.rb - lib/hoe/flay.rb @@ -128,7 +129,6 @@ - lib/hoe/publish.rb - lib/hoe/racc.rb - lib/hoe/rake.rb -- lib/hoe/rcov.rb - lib/hoe/rdoc.rb - lib/hoe/signing.rb - lib/hoe/test.rb 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_hoe.rb new/test/test_hoe.rb --- old/test/test_hoe.rb 2022-08-18 19:39:18.000000000 +0200 +++ new/test/test_hoe.rb 2022-10-20 20:23:43.000000000 +0200 @@ -265,7 +265,7 @@ h = nil nokogiri_readme = <<~EOM ## Links - + * https://nokogiri.org * [Installation Help](https://nokogiri.org/tutorials/installing_nokogiri.html) * [Tutorials](https://nokogiri.org/tutorials/toc.html) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/test/test_hoe_debug.rb new/test/test_hoe_debug.rb --- old/test/test_hoe_debug.rb 2022-08-18 19:39:18.000000000 +0200 +++ new/test/test_hoe_debug.rb 2022-10-20 20:23:43.000000000 +0200 @@ -1,8 +1,7 @@ +require "minitest/autorun" require "hoe" -require File.expand_path "lib/hoe/debug.rb" # ugh. avoid dupe warnings +require_relative "../lib/hoe/debug" require "tmpdir" -require "tempfile" -require "minitest/autorun" class TestHoeDebug < Minitest::Test diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/test/test_hoe_gemcutter.rb new/test/test_hoe_gemcutter.rb --- old/test/test_hoe_gemcutter.rb 2022-08-18 19:39:18.000000000 +0200 +++ new/test/test_hoe_gemcutter.rb 2022-10-20 20:23:43.000000000 +0200 @@ -1,6 +1,6 @@ -require "hoe" -require "hoe/gemcutter" unless defined? Hoe::Gemcutter require "minitest/autorun" +require "hoe" +require_relative "../lib/hoe/gemcutter" class TestHoeGemcutter < Minitest::Test include Hoe::Gemcutter diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/test/test_hoe_package.rb new/test/test_hoe_package.rb --- old/test/test_hoe_package.rb 2022-08-18 19:39:18.000000000 +0200 +++ new/test/test_hoe_package.rb 2022-10-20 20:23:43.000000000 +0200 @@ -1,5 +1,5 @@ -require "hoe" require "minitest/autorun" +require "hoe" Hoe.load_plugins diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/test/test_hoe_publish.rb new/test/test_hoe_publish.rb --- old/test/test_hoe_publish.rb 2022-08-18 19:39:18.000000000 +0200 +++ new/test/test_hoe_publish.rb 2022-10-20 20:23:43.000000000 +0200 @@ -1,4 +1,3 @@ -require "rubygems" require "minitest/autorun" require "hoe" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/test/test_hoe_test.rb new/test/test_hoe_test.rb --- old/test/test_hoe_test.rb 2022-08-18 19:39:18.000000000 +0200 +++ new/test/test_hoe_test.rb 2022-10-20 20:23:43.000000000 +0200 @@ -1,5 +1,6 @@ require "minitest/autorun" require "hoe" +require "minitest/test_task" # currently in hoe, but will move Hoe.load_plugins # make sure Hoe::Test is loaded @@ -60,11 +61,9 @@ def test_make_test_cmd_for_minitest skip "Using TESTOPTS... skipping" if ENV["TESTOPTS"] - require "minitest/test_task" # currently in hoe, but will move - framework = %(require "minitest/autorun"; ) - @tester = Minitest::TestTask.create :test do |t| + @tester = Minitest::TestTask.create :testtest do |t| t.libs += Hoe.include_dirs.uniq t.test_globs = ["test/test_hoe_test.rb"] end @@ -75,8 +74,6 @@ def test_make_test_cmd_for_minitest_prelude skip "Using TESTOPTS... skipping" if ENV["TESTOPTS"] - require "minitest/test_task" # currently in hoe, but will move - prelude = %(require "other/file") framework = %(require "minitest/autorun"; )
