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 2023-11-15 21:08:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-hoe (Old) and /work/SRC/openSUSE:Factory/.rubygem-hoe.new.17445 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-hoe" Wed Nov 15 21:08:01 2023 rev:54 rq:1126372 version:4.0.5 Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-hoe/rubygem-hoe.changes 2022-10-30 18:29:07.842479939 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-hoe.new.17445/rubygem-hoe.changes 2023-11-15 21:09:19.661891349 +0100 @@ -1,0 +2,5 @@ +Tue Nov 14 18:29:24 UTC 2023 - Dan Äermák <[email protected]> + +- New upstream release 4.0.5, see bundled History.rdoc + +------------------------------------------------------------------- Old: ---- hoe-3.26.0.gem New: ---- hoe-4.0.5.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-hoe.spec ++++++ --- /var/tmp/diff_new_pack.0jP2rv/_old 2023-11-15 21:09:20.217911865 +0100 +++ /var/tmp/diff_new_pack.0jP2rv/_new 2023-11-15 21:09:20.221912012 +0100 @@ -1,7 +1,7 @@ # # spec file for package rubygem-hoe # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,13 +24,12 @@ # Name: rubygem-hoe -Version: 3.26.0 +Version: 4.0.5 Release: 0 %define mod_name hoe %define mod_full_name %{mod_name}-%{version} -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: %{ruby < 4} -BuildRequires: %{ruby >= 2.1} +BuildRequires: %{ruby >= 2.7} BuildRequires: %{rubygem gem2rpm} BuildRequires: %{rubygem rdoc > 3.10} BuildRequires: ruby-macros >= 5 @@ -40,7 +39,6 @@ Source1: gem2rpm.yml Summary: Hoe is a rake/rubygems helper for project Rakefiles License: MIT -Group: Development/Languages/Ruby PreReq: update-alternatives %description ++++++ hoe-3.26.0.gem -> hoe-4.0.5.gem ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/History.rdoc new/History.rdoc --- old/History.rdoc 2022-10-20 20:23:43.000000000 +0200 +++ new/History.rdoc 2023-07-25 21:01:22.000000000 +0200 @@ -1,3 +1,49 @@ +=== 4.0.5 / 2023-07-25 + +* 1 bug fix: + + * sow: Fixed nested module directory creation. (chriscz) + +=== 4.0.4 / 2023-06-06 + +* 1 minor enhancement: + + * Bumped minimum ruby to 2.7. So done. + +* 1 bug fix: + + * Fixed a readme parsing oddity for section headers w/ multiple words that collide. + +=== 4.0.3 / 2023-05-02 + +* 1 bug fix: + + * Ensure that license name is a string. + +=== 4.0.2 / 2023-01-21 + +* 1 minor enhancement: + + * Bump minimum ruby version to 2.6+. Can't wait to drop 2.6. + +* 1 bug fix: + + * Fix for rubygems method error. Version used to respect #=~, now needs to #to_s first. + +=== 4.0.1 / 2022-12-17 + +* 1 bug fix: + + * Add extra checks to release_sanity to ensure history file is updated before release. + +=== 4.0.0 / 2022-12-16 + +* 3 major enhancements: + + * Removed Minitest::TestTask. Shipped with minitest 5.16+ now! + * Removed direct support for rspec, test/unit. Still extendable tho. + * Removed support for old style readme parsing. + === 3.26.0 / 2022-10-20 * 2 minor enhancements: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Manifest.txt new/Manifest.txt --- old/Manifest.txt 2022-10-20 20:23:43.000000000 +0200 +++ new/Manifest.txt 2023-07-25 21:01:22.000000000 +0200 @@ -24,7 +24,6 @@ lib/hoe/rdoc.rb lib/hoe/signing.rb lib/hoe/test.rb -lib/minitest/test_task.rb template/.autotest.erb template/History.txt.erb template/Manifest.txt.erb diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Rakefile new/Rakefile --- old/Rakefile 2022-10-20 20:23:43.000000000 +0200 +++ new/Rakefile 2023-07-25 21:01:22.000000000 +0200 @@ -18,8 +18,8 @@ license "MIT" pluggable! - require_rubygems_version ">= 1.4" - require_ruby_version [">= 2.1", "< 4"] + require_rubygems_version ">= 3.0" + require_ruby_version [">= 2.7", "< 4"] dependency "rake", [">= 0.8", "< 15.0"] # FIX: to force it to exist pre-isolate end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bin/sow new/bin/sow --- old/bin/sow 2022-10-20 20:23:43.000000000 +0200 +++ new/bin/sow 2023-07-25 21:01:22.000000000 +0200 @@ -102,12 +102,16 @@ Dir.chdir project do dirs = Dir["**/*"].select { |f| File.directory? f }.sort.reverse dirs.grep(/file_name$/).each do |file| - FileUtils.mv file, file.sub(/file_name$/, file_name) + target = file.sub(/file_name$/, file_name) + FileUtils.mkdir_p File.dirname(target) + FileUtils.mv file, target end dirs = Dir["**/*"].select { |f| File.directory? f }.sort.reverse dirs.grep(/ext_name$/).each do |file| - FileUtils.mv file, file.sub(/ext_name$/, ext_name) + target = file.sub(/ext_name$/, ext_name) + FileUtils.mkdir_p File.dirname(target) + FileUtils.mv file, target end paths = (Dir["**/*"] + Dir["**/.*"]).select { |f| File.file? f }.sort 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-10-20 20:23:43.000000000 +0200 +++ new/checksums.yaml.gz.sig 2023-07-25 21:01:22.000000000 +0200 @@ -1 +1 @@ -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 +{ç'ìÞ±Õ>CºÒøÄÊÞð@ïñZC=äâk]RL÷»ºfBÛ^ìQ-ø4Û»½d|«`['DÕbÿÄ{Ì}|êvAlxmEÑïJYÚÁ×ò¡ÍfñÛVÿ²ñòì¡=jmøù1y:@dq^>ô!?¶½Z!"¿þóÖ,+öV¸ ù'âÄ´Ú¤toÍÉòh&·B¿e$r~2¢ s[Åë È2#ÏL:ÔÖnû§äWÜ)¼>,è.óºîhÞ`ø¸h"®ùXäG7Ìåø;P`¡·q¾c©=Âé \ 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/package.rb new/lib/hoe/package.rb --- old/lib/hoe/package.rb 2022-10-20 20:23:43.000000000 +0200 +++ new/lib/hoe/package.rb 2023-07-25 21:01:22.000000000 +0200 @@ -56,7 +56,7 @@ # no doco, invisible hook task :prerelease do - abort "Fix your version before you release" if spec.version =~ /borked/ + abort "Fix your version before you release" if spec.version.to_s =~ /borked/ end # no doco, invisible hook @@ -72,7 +72,10 @@ pre = ENV["PRERELEASE"] || ENV["PRE"] v += ".#{pre}" if pre - abort "Versions don't match #{v} vs #{version}" if v != version + c = changes[/\d\S+/] + + abort "Versions don't match: %s vs %s" % [v, version] if v != version + abort "Versions don't match %s: %s vs %s" % [history_file, v, c] if v != c end end 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-10-20 20:23:43.000000000 +0200 +++ new/lib/hoe/test.rb 2023-07-25 21:01:22.000000000 +0200 @@ -10,17 +10,10 @@ # test_deps:: Show which test files fail when run alone. module Hoe::Test - def deprecate msg # :nodoc: - where = caller_locations[1] - - warn "DEPRECATED: %s from %s" % [msg, where] - end - ## # Configuration for the supported test frameworks for test task. SUPPORTED_TEST_FRAMEWORKS = { - :testunit => "test/unit", :minitest => "minitest/autorun", :none => nil, } @@ -47,16 +40,6 @@ attr_accessor :test_prelude ## - # Optional: RSpec dirs. [default: %w(spec lib)] - - attr_accessor :rspec_dirs - - ## - # Optional: RSpec options. [default: []] - - attr_accessor :rspec_options - - ## # The test task created for this plugin. attr_accessor :test_task @@ -68,8 +51,7 @@ self.multiruby_skip ||= [] self.testlib ||= :minitest self.test_prelude ||= nil - self.rspec_dirs ||= %w[spec lib] - self.rspec_options ||= [] + self.test_task = nil end ## @@ -83,44 +65,13 @@ if File.directory? "test" then case testlib when :minitest then - require "minitest/test_task" # currently in hoe, but will move + require "minitest/test_task" # in minitest 5.16+ test_prelude = self.test_prelude self.test_task = Minitest::TestTask.create :test do |t| t.test_prelude = test_prelude t.libs.prepend Hoe.include_dirs.uniq end - when :testunit then - desc "Run the test suite. Use FILTER or TESTOPTS to add flags/args." - task :test do - ruby make_test_cmd - end - - desc "Print out the test command. Good for profiling and other tools." - task :test_cmd do - puts make_test_cmd - end - - desc "Show which test files fail when run alone." - task :test_deps do - tests = Dir[*self.test_globs].uniq - - paths = %w[bin lib test].join(File::PATH_SEPARATOR) - null_dev = Hoe::WINDOZE ? "> NUL 2>&1" : "> /dev/null 2>&1" - - tests.each do |test| - unless system "ruby -I#{paths} #{test} #{null_dev}" then - puts "Dependency Issues: #{test}" - end - end - end - - if testlib == :minitest then - desc "Show bottom 25 tests wrt time." - task "test:slow" do - sh "rake TESTOPTS=-v | sort -n -k2 -t= | tail -25" - end - end when :none then # do nothing else @@ -140,16 +91,6 @@ default_tasks << :test end - if File.directory? "spec" then - found = try_loading_rspec2 || try_loading_rspec1 - - if found then - default_tasks << :spec - else - warn "Found spec dir, but couldn't load rspec (1 or 2) task. skipping." - end - end - desc "Run the default task(s)." task :default => default_tasks @@ -159,71 +100,4 @@ sh "zentest -I=#{libs} #{spec.files.grep(/^(lib|test)/).join(" ")}" end end - - ## - # Generate the test command-line. - - def make_test_cmd - unless SUPPORTED_TEST_FRAMEWORKS.key?(testlib) - raise "unsupported test framework #{testlib}" - end - - deprecate "Moving to Minitest::TestTask. Let me know if you use this!" - - framework = SUPPORTED_TEST_FRAMEWORKS[testlib] - - tests = ["rubygems"] - tests << framework if framework - tests << test_globs.sort.map { |g| Dir.glob(g) } - tests.flatten! - tests.map! { |f| %(require "#{f}") } - - tests.insert 1, test_prelude if test_prelude - - filter = (ENV["FILTER"] || ENV["TESTOPTS"] || "").dup - filter << " -n #{ENV["N"]}" if ENV["N"] - filter << " -e #{ENV["X"]}" if ENV["X"] - - "#{Hoe::RUBY_FLAGS} -e '#{tests.join("; ")}' -- #{filter}" - end - - ## - # Attempt to load RSpec 2, returning true if successful - - def try_loading_rspec2 - deprecate "I want to drop this entirely. Let me know if you use this!" - - require "rspec/core/rake_task" - - desc "Run all specifications" - RSpec::Core::RakeTask.new(:spec) do |t| - t.rspec_opts = self.rspec_options - t.rspec_opts << "-I#{self.rspec_dirs.join(":")}" unless - rspec_dirs.empty? - end - - true - rescue LoadError => err - warn "%p while trying to load RSpec 2: %s" % [ err.class, err.message ] - false - end - - ## - # Attempt to load RSpec 1, returning true if successful - - def try_loading_rspec1 - deprecate "I want to drop this entirely. Let me know if you use this!" - - require "spec/rake/spectask" - - desc "Run all specifications" - Spec::Rake::SpecTask.new(:spec) do |t| - t.libs = self.rspec_dirs - t.spec_opts = self.rspec_options - end - true - rescue LoadError => err - warn "%p while trying to load RSpec 1: %s" % [ err.class, err.message ] - false - end end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/hoe.rb new/lib/hoe.rb --- old/lib/hoe.rb 2022-10-20 20:23:43.000000000 +0200 +++ new/lib/hoe.rb 2023-07-25 21:01:22.000000000 +0200 @@ -87,7 +87,7 @@ include Rake::DSL if defined?(Rake::DSL) # duh - VERSION = "3.26.0" + VERSION = "4.0.5" @@plugins = [:clean, :debug, :deps, :flay, :flog, :newb, :package, :publish, :gemcutter, :signing, :test] @@ -458,7 +458,7 @@ # Call it multiple times if you are releasing under multiple licenses. # def license name - self.licenses << name + self.licenses << name.to_s end ## @@ -675,12 +675,13 @@ .chunk { |l| l[/^(?:=+|#+)/] || "" } .map(&:last) .each_slice(2) - .map { |k, v| - kp = k.join - kp = kp.strip.chomp(":").split.last.downcase if k.size == 1 - [kp, v.join.strip] - } - .to_h + .to_h { |k, v| + kp = k.map { |s| + s.strip.chomp(":").sub(/(?:=+|#+)\s*/, '').downcase + }.join("\n") + + [kp, v.join.strip] + } unless readme.empty? then desc = readme.values_at(*description_sections).join("\n\n") @@ -726,10 +727,7 @@ if lines.first =~ /::/ then Hash[lines.map { |line| line.split(/\s*::\s*/) }] else - warn "DEPRECATED: Please switch readme to hash format for urls." - warn " Only defining 'home' url." - warn " This will be removed on or after 2020-10-28." - { "home" => lines.first } + raise "Please switch readme to hash format for urls." end end 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-10-20 20:23:43.000000000 +0200 +++ new/lib/minitest/test_task.rb 1970-01-01 01:00:00.000000000 +0100 @@ -1,314 +0,0 @@ -require "shellwords" -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: - - ## - # Minitest::TestTask is a rake helper that generates several rake - # tasks under the main test task's name-space. - # - # task <name> :: the main test task - # task <name>:cmd :: prints the command to use - # task <name>:deps :: runs each test file by itself to find dependency errors - # task <name>:slow :: runs the tests and reports the slowest 25 tests. - # - # Examples: - # - # Minitest::TestTask.create - # - # The most basic and default setup. - # - # Minitest::TestTask.create :my_tests - # - # The most basic/default setup, but with a custom name - # - # Minitest::TestTask.create :unit do |t| - # t.test_globs = ["test/unit/**/*_test.rb"] - # t.warning = false - # end - # - # Customize the name and only run unit tests. - - class TestTask < Rake::TaskLib - WINDOWS = RbConfig::CONFIG["host_os"] =~ /mswin|mingw/ # :nodoc: - - ## - # Create several test-oriented tasks under +name+. Takes an - # optional block to customize variables. - - def self.create name = :test, &block - task = new name - task.instance_eval(&block) if block - task.process_env - task.define - task - end - - ## - # Extra arguments to pass to the tests. Defaults empty but gets - # populated by a number of enviroment variables: - # - # N (-n flag) :: a string or regexp of tests to run. - # X (-e flag) :: a string or regexp of tests to exclude. - # A (arg) :: quick way to inject an arbitrary argument (eg A=--help). - # - # See #process_env - - attr_accessor :extra_args - - ## - # The code to load the framework. Defaults to requiring - # minitest/autorun... - # - # Why do I have this as an option? - - attr_accessor :framework - - ## - # Extra library directories to include. Defaults to %w[lib test - # .]. Also uses $MT_LIB_EXTRAS allowing you to dynamically - # override/inject directories for custom runs. - - attr_accessor :libs - - ## - # The name of the task and base name for the other tasks generated. - - attr_accessor :name - - ## - # File globs to find test files. Defaults to something sensible to - # find test files under the test directory. - - attr_accessor :test_globs - - ## - # Turn on ruby warnings (-w flag). Defaults to true. - - attr_accessor :warning - - ## - # Optional: Additional ruby to run before the test framework is loaded. - - attr_accessor :test_prelude - - ## - # Print out commands as they run. Defaults to Rake's +trace+ (-t - # flag) option. - - attr_accessor :verbose - - ## - # Use TestTask.create instead. - - def initialize name = :test # :nodoc: - self.extra_args = [] - self.framework = %(require "minitest/autorun") - self.libs = %w[lib test .] - self.name = name - self.test_globs = ["test/**/{test,spec}_*.rb", - "test/**/*_{test,spec}.rb"] - self.test_prelude = nil - self.verbose = Rake.application.options.trace - self.warning = true - end - - ## - # Extract variables from the environment and convert them to - # command line arguments. See #extra_args. - # - # Environment Variables: - # - # MT_LIB_EXTRAS :: Extra libs to dynamically override/inject for custom runs. - # N :: Tests to run (string or /regexp/). - # X :: Tests to exclude (string or /regexp/). - # A :: Any extra arguments. Honors shell quoting. - # - # Deprecated: - # - # TESTOPTS :: For argument passing, use +A+. - # N :: For parallel testing, use +MT_CPU+. - # FILTER :: Same as +TESTOPTS+. - - def process_env - warn "TESTOPTS is deprecated in Minitest::TestTask. Use A instead" if - ENV["TESTOPTS"] - warn "FILTER is deprecated in Minitest::TestTask. Use A instead" if - ENV["FILTER"] - warn "N is deprecated in Minitest::TestTask. Use MT_CPU instead" if - ENV["N"] && ENV["N"].to_i > 0 - - lib_extras = (ENV["MT_LIB_EXTRAS"] || "").split File::PATH_SEPARATOR - self.libs[0,0] = lib_extras - - extra_args << "-n" << ENV["N"] if ENV["N"] - extra_args << "-e" << ENV["X"] if ENV["X"] - extra_args.concat Shellwords.split(ENV["TESTOPTS"]) if ENV["TESTOPTS"] - extra_args.concat Shellwords.split(ENV["FILTER"]) if ENV["FILTER"] - extra_args.concat Shellwords.split(ENV["A"]) if ENV["A"] - - ENV.delete "N" if ENV["N"] - - # TODO? RUBY_DEBUG = ENV["RUBY_DEBUG"] - # TODO? ENV["RUBY_FLAGS"] - - extra_args.compact! - end - - def define # :nodoc: - default_tasks = [] - - desc "Run the test suite. Use N, X, A, and TESTOPTS to add flags/args." - task name do - ruby make_test_cmd, verbose:verbose - end - - desc "Print out the test command. Good for profiling and other tools." - task "#{name}:cmd" do - puts "ruby #{make_test_cmd}" - end - - desc "Show which test files fail when run in isolation." - task "#{name}:isolated" do - tests = Dir[*self.test_globs].uniq - - # 3 seems to be the magic number... (tho not by that much) - bad, good, n = {}, [], (ENV.delete("K") || 3).to_i - file = ENV.delete("F") - times = {} - - tt0 = Time.now - - n.threads_do tests.sort do |path| - t0 = Time.now - output = `#{Gem.ruby} #{make_test_cmd path} 2>&1` - t1 = Time.now - t0 - - times[path] = t1 - - if $?.success? - $stderr.print "." - good << path - else - $stderr.print "x" - bad[path] = output - end - end - - puts "done" - puts "Ran in %.2f seconds" % [ Time.now - tt0 ] - - if file then - require "json" - File.open file, "w" do |io| - io.puts JSON.pretty_generate times - end - end - - unless good.empty? - puts - puts "# Good tests:" - puts - good.sort.each do |path| - puts "%.2fs: %s" % [times[path], path] - end - end - - unless bad.empty? - puts - puts "# Bad tests:" - puts - bad.keys.sort.each do |path| - puts "%.2fs: %s" % [times[path], path] - end - puts - puts "# Bad Test Output:" - puts - bad.sort.each do |path, output| - puts - puts "# #{path}:" - puts output - end - exit 1 - end - end - - task "#{name}:deps" => "#{name}:isolated" # now just an alias - - desc "Show bottom 25 tests wrt time." - task "#{name}:slow" do - sh ["rake #{name} TESTOPTS=-v", - "egrep '#test_.* s = .'", - "sort -n -k2 -t=", - "tail -25"].join " | " - end - - default_tasks << name - - desc "Run the default task(s)." - task :default => default_tasks - end - - ## - # Generate the test command-line. - - def make_test_cmd globs = test_globs - tests = [] - tests.concat Dir[*globs].sort.shuffle # TODO: SEED -> srand first? - tests.map! { |f| %(require "#{f}") } - - runner = [] - runner << test_prelude if test_prelude - runner << framework - runner.concat tests - runner = runner.join "; " - - args = [] - args << "-I#{libs.join(File::PATH_SEPARATOR)}" unless libs.empty? - args << "-w" if warning - args << '-e' - args << "'#{runner}'" - args << '--' - args << extra_args.map(&:shellescape) - - args.join " " - end - end -end - -class Work < Queue - def initialize jobs = [] - super() - - jobs.each do |job| - self << job - end - - close - end -end - -class Integer - def threads_do(jobs) # :nodoc: - require "thread" - q = Work.new jobs - - self.times.map { - Thread.new do - while job = q.pop # go until quit value - yield job - end - end - }.each(&:join) - end -end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata 2022-10-20 20:23:43.000000000 +0200 +++ new/metadata 2023-07-25 21:01:22.000000000 +0200 @@ -1,7 +1,7 @@ --- !ruby/object:Gem::Specification name: hoe version: !ruby/object:Gem::Version - version: 3.26.0 + version: 4.0.5 platform: ruby authors: - Ryan Davis @@ -10,9 +10,9 @@ cert_chain: - | -----BEGIN CERTIFICATE----- - MIIDPjCCAiagAwIBAgIBBjANBgkqhkiG9w0BAQsFADBFMRMwEQYDVQQDDApyeWFu + MIIDPjCCAiagAwIBAgIBBzANBgkqhkiG9w0BAQsFADBFMRMwEQYDVQQDDApyeWFu ZC1ydWJ5MRkwFwYKCZImiZPyLGQBGRYJemVuc3BpZGVyMRMwEQYKCZImiZPyLGQB - GRYDY29tMB4XDTIxMTIyMzIzMTkwNFoXDTIyMTIyMzIzMTkwNFowRTETMBEGA1UE + GRYDY29tMB4XDTIzMDEwMTA3NTExN1oXDTI0MDEwMTA3NTExN1owRTETMBEGA1UE AwwKcnlhbmQtcnVieTEZMBcGCgmSJomT8ixkARkWCXplbnNwaWRlcjETMBEGCgmS JomT8ixkARkWA2NvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALda b9DCgK+627gPJkB6XfjZ1itoOQvpqH1EXScSaba9/S2VF22VYQbXU1xQXL/WzCkx @@ -22,14 +22,14 @@ qhtV7HJxNKuPj/JFH0D2cswvzznE/a5FOYO68g+YCuFi5L8wZuuM8zzdwjrWHqSV gBEfoTEGr7Zii72cx+sCAwEAAaM5MDcwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAw HQYDVR0OBBYEFEfFe9md/r/tj/Wmwpy+MI8d9k/hMA0GCSqGSIb3DQEBCwUAA4IB - AQCKB5jfsuSnKb+t/Wrh3UpdkmX7TrEsjVmERC0pPqzQ5GQJgmEXDD7oMgaKXaAq - x2m+KSZDrqk7c8uho5OX6YMqg4KdxehfSLqqTZGoeV78qwf/jpPQZKTf+W9gUSJh - zsWpo4K50MP+QtdSbKXZwjAafpQ8hK0MnnZ/aeCsW9ov5vdXpYbf3dpg6ADXRGE7 - lQY2y1tJ5/chqu6h7dQmnm2ABUqx9O+JcN9hbCYoA5i/EeubUEtFIh2w3SpO6YfB - JFmxn4h9YO/pVdB962BdBNNDia0kgIjI3ENnkLq0dKpYU3+F3KhEuTksLO0L6X/V - YsuyUzsMz6GQA4khyaMgKNSD + AQAkg3y+PBnBAPWdxxITm5sPHqdWQgSyCpRA20o4LTuWr8BWhSXBkfQNa7cY6fOn + xyM34VPzBFbExv6XOGDfOMFBVaYTHuN9peC/5/umL7kLl+nflXzL2QA7K6LYj5Bg + sM574Onr0dZDM6Vn69bzQ7rBIFDfK/OhlPzqKZad4nsdcsVH8ODCiT+ATMIZyz5K + WCnNtqlyiWXI8tdTpahDgcUwfcN/oN7v4K8iU5IbLJX6HQ5DKgmKjfb6XyMth16k + ROfWo9Uyp8ba/j9eVG14KkYRaLydAY1MNQk2yd3R5CGfeOpD1kttxjoypoUJ2dOG + nsNBRuQJ1UfiCG97a6DNm+Fr -----END CERTIFICATE----- -date: 2022-10-20 00:00:00.000000000 Z +date: 2023-07-25 00:00:00.000000000 Z dependencies: - !ruby/object:Gem::Dependency name: rake @@ -132,7 +132,6 @@ - lib/hoe/rdoc.rb - lib/hoe/signing.rb - lib/hoe/test.rb -- lib/minitest/test_task.rb - template/.autotest.erb - template/History.txt.erb - template/Manifest.txt.erb @@ -166,7 +165,7 @@ requirements: - - ">=" - !ruby/object:Gem::Version - version: '2.1' + version: '2.7' - - "<" - !ruby/object:Gem::Version version: '4' @@ -174,9 +173,9 @@ requirements: - - ">=" - !ruby/object:Gem::Version - version: '1.4' + version: '3.0' requirements: [] -rubygems_version: 3.3.12 +rubygems_version: 3.4.10 signing_key: specification_version: 4 summary: Hoe is a rake/rubygems helper for project Rakefiles 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-10-20 20:23:43.000000000 +0200 +++ new/test/test_hoe.rb 2023-07-25 21:01:22.000000000 +0200 @@ -1,4 +1,3 @@ -# coding: utf-8 require "minitest/autorun" require "hoe" require "tempfile" @@ -192,11 +191,8 @@ "* http://docs.seattlerb.org/hoe/Hoe.pdf", "* http://github.com/jbarnette/hoe-plugin-examples"].join "\n" - exp = { "home" => "https://github.com/seattlerb/hoe" } - err = /DEPRECATED: Please switch readme to hash format/ - - assert_output "", err do - assert_equal exp, hoe.parse_urls(ary) + assert_raises RuntimeError do + hoe.parse_urls ary end end 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-10-20 20:23:43.000000000 +0200 +++ new/test/test_hoe_test.rb 2023-07-25 21:01:22.000000000 +0200 @@ -19,14 +19,6 @@ end end - def assert_deprecated - err_re = /DEPRECATED:/ - - assert_output "", err_re do - yield - end - end - path = %w[lib bin test .].join File::PATH_SEPARATOR mt_path = %w[lib test .].join File::PATH_SEPARATOR @@ -38,26 +30,6 @@ -e '%srequire "test/test_hoe_test.rb"' --].join(" ") + " " - def test_make_test_cmd_defaults_to_minitest - skip "Using TESTOPTS... skipping" if ENV["TESTOPTS"] - - # default - assert_deprecated do - autorun = %(require "minitest/autorun"; ) - assert_equal EXPECTED % autorun, @tester.make_test_cmd - end - end - - def test_make_test_cmd_for_testunit - skip "Using TESTOPTS... skipping" if ENV["TESTOPTS"] - - assert_deprecated do - @tester.testlib = :testunit - testunit = %(require "test/unit"; ) - assert_equal EXPECTED % testunit, @tester.make_test_cmd - end - end - def test_make_test_cmd_for_minitest skip "Using TESTOPTS... skipping" if ENV["TESTOPTS"] @@ -85,24 +57,4 @@ assert_equal MT_EXPECTED % [prelude, framework].join("; "), @tester.make_test_cmd end - - def test_make_test_cmd_for_no_framework - skip "Using TESTOPTS... skipping" if ENV["TESTOPTS"] - - assert_deprecated do - @tester.testlib = :none - assert_equal EXPECTED % "", @tester.make_test_cmd - end - end - - def test_make_test_cmd_for_faketestlib - skip "Using TESTOPTS... skipping" if ENV["TESTOPTS"] - - @tester.testlib = :faketestlib - e = assert_raises(RuntimeError) do - @tester.make_test_cmd - end - - assert_equal "unsupported test framework faketestlib", e.to_s - end end
