Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package rubygem-airbrussh for openSUSE:Factory checked in at 2023-11-14 21:43:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-airbrussh (Old) and /work/SRC/openSUSE:Factory/.rubygem-airbrussh.new.17445 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-airbrussh" Tue Nov 14 21:43:21 2023 rev:11 rq:1122988 version:1.5.0 Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-airbrussh/rubygem-airbrussh.changes 2022-08-06 22:08:37.090736796 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-airbrussh.new.17445/rubygem-airbrussh.changes 2023-11-14 21:43:25.377486986 +0100 @@ -1,0 +2,28 @@ +Thu Nov 2 15:35:23 UTC 2023 - Dan Äermák <[email protected]> + +- 1.5.0: + +## ⨠New Features + +- Use `Module.prepend` instead of `alias_method` to patch Rake (#152) @mattbrictson + +**Full Changelog:** https://github.com/mattbrictson/airbrussh/compare/v1.4.2...v1.5.0 + + +1.4.2: + +This is a gem housekeeping release. No user-facing changes. + +## ð Housekeeping + +- Ensure rubocop task runs on Ruby >= 3.1 (#149) @mattbrictson +- Add Ruby 3.2 to the CI matrix (#148) @mattbrictson +- Fix test failures due to minitest 5.19 release (#146, #147) @mattbrictson +- Fix CI build for Ruby 2.2 (#145) @mattbrictson + +**Full Changelog:** https://github.com/mattbrictson/airbrussh/compare/v1.4.1...v1.4.2 + + + + +------------------------------------------------------------------- Old: ---- airbrussh-1.4.1.gem New: ---- airbrussh-1.5.0.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-airbrussh.spec ++++++ --- /var/tmp/diff_new_pack.zaMJGj/_old 2023-11-14 21:43:27.117551398 +0100 +++ /var/tmp/diff_new_pack.zaMJGj/_new 2023-11-14 21:43:27.117551398 +0100 @@ -1,7 +1,7 @@ # # spec file for package rubygem-airbrussh # -# 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,11 +24,10 @@ # Name: rubygem-airbrussh -Version: 1.4.1 +Version: 1.5.0 Release: 0 %define mod_name airbrussh %define mod_full_name %{mod_name}-%{version} -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: %{rubygem gem2rpm} BuildRequires: %{ruby} BuildRequires: ruby-macros >= 5 @@ -37,7 +36,6 @@ Source1: gem2rpm.yml Summary: Airbrussh pretties up your SSHKit and Capistrano output License: MIT -Group: Development/Languages/Ruby %description A replacement log formatter for SSHKit that makes Capistrano output much ++++++ airbrussh-1.4.1.gem -> airbrussh-1.5.0.gem ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.circleci/config.yml new/.circleci/config.yml --- old/.circleci/config.yml 2022-07-23 20:23:41.000000000 +0200 +++ new/.circleci/config.yml 2023-09-23 00:56:11.000000000 +0200 @@ -5,10 +5,12 @@ parameters: version: description: "Ruby version number" - default: "3.1" + default: "3.2" type: string docker: - image: ruby:<< parameters.version >> + environment: + MT_COMPAT: "1" # Allows old versions of mocha gem to work with minitest commands: bundle_install: @@ -16,7 +18,7 @@ parameters: key: description: "Cache key" - default: "3.1" + default: "3.2" type: string steps: - restore_cache: @@ -48,7 +50,7 @@ parameters: ruby: description: "Ruby version number" - default: "3.1" + default: "3.2" type: string executor: name: ruby @@ -98,6 +100,7 @@ - "2.7" - "3.0" - "3.1" + - "3.2" - spec_legacy_ruby: matrix: &legacy_ruby_matrix parameters: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Gemfile new/Gemfile --- old/Gemfile 2022-07-23 20:23:41.000000000 +0200 +++ new/Gemfile 2023-09-23 00:56:11.000000000 +0200 @@ -7,10 +7,15 @@ # These gems need specific version for Ruby 1.9 gem "json", "~> 1.8" gem "minitest", "~> 5.11.3" + gem "mocha", "~> 1.2" gem "net-ssh", "~> 2.8" gem "rake", "< 12.3" gem "term-ansicolor", "~> 1.3.2" gem "tins", "~> 1.6.0" +elsif RUBY_VERSION < "2.6" + # These gems need specific versions for Ruby < 2.6 + gem "minitest", "< 5.16" # rubocop:disable Bundler/DuplicatedGem + gem "net-ssh", "< 7" # rubocop:disable Bundler/DuplicatedGem end if RUBY_VERSION >= "2.5" @@ -18,8 +23,8 @@ gem "coveralls_reborn", "~> 0.24.0" end -if RUBY_VERSION >= "2.1" - # These gems need at least Ruby 2.1 +if RUBY_VERSION >= "2.5" + # These gems need at least Ruby 2.5 gem "rubocop", "0.50.0" # Optional development dependencies; requires bundler >= 1.10. @@ -35,6 +40,9 @@ end end +# Needed to make rubocop 0.50.0 work on modern rubies +gem "safe_yaml" if RUBY_VERSION >= "3.1" + if (sshkit_version = ENV["sshkit"]) requirement = begin Gem::Dependency.new("sshkit", sshkit_version).requirement diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/airbrussh.gemspec new/airbrussh.gemspec --- old/airbrussh.gemspec 2022-07-23 20:23:41.000000000 +0200 +++ new/airbrussh.gemspec 2023-09-23 00:56:11.000000000 +0200 @@ -33,5 +33,5 @@ spec.add_development_dependency "rake", "~> 12.0" spec.add_development_dependency "minitest", "~> 5.10" spec.add_development_dependency "minitest-reporters", "~> 1.1" - spec.add_development_dependency "mocha", "~> 1.2" + spec.add_development_dependency "mocha", "~> 2.1" end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appveyor.yml new/appveyor.yml --- old/appveyor.yml 2022-07-23 20:23:41.000000000 +0200 +++ new/appveyor.yml 2023-09-23 00:56:11.000000000 +0200 @@ -1,6 +1,8 @@ version: "{build}" skip_tags: true skip_branch_with_pr: true +environment: + MT_COMPAT: "1" # Allows old versions of mocha gem to work with minitest install: - set PATH=C:\Ruby26-x64\bin;%PATH% - bundle install --retry=3 Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/airbrussh/rake/context.rb new/lib/airbrussh/rake/context.rb --- old/lib/airbrussh/rake/context.rb 2022-07-23 20:23:41.000000000 +0200 +++ new/lib/airbrussh/rake/context.rb 2023-09-23 00:56:11.000000000 +0200 @@ -13,6 +13,10 @@ # for the `position` of a command. # class Context + class << self + attr_accessor :current_task_name + end + def initialize(config=Airbrussh.configuration) @history = [] @enabled = config.monkey_patch_rake @@ -47,10 +51,22 @@ history.index(command.to_s) end - class << self - attr_accessor :current_task_name + if Object.respond_to?(:prepend) + module Patch + def execute(args=nil) + ::Airbrussh::Rake::Context.current_task_name = name.to_s + super + end + end + + def self.install_monkey_patch + require "rake" + return if ::Rake::Task.include?(::Airbrussh::Rake::Context::Patch) - def install_monkey_patch + ::Rake::Task.prepend(::Airbrussh::Rake::Context::Patch) + end + else + def self.install_monkey_patch require "rake" return if ::Rake::Task.instance_methods.include?(:_airbrussh_execute) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/airbrussh/version.rb new/lib/airbrussh/version.rb --- old/lib/airbrussh/version.rb 2022-07-23 20:23:41.000000000 +0200 +++ new/lib/airbrussh/version.rb 2023-09-23 00:56:11.000000000 +0200 @@ -1,5 +1,5 @@ # frozen_string_literal: true module Airbrussh - VERSION = "1.4.1".freeze + VERSION = "1.5.0".freeze end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata 2022-07-23 20:23:41.000000000 +0200 +++ new/metadata 2023-09-23 00:56:11.000000000 +0200 @@ -1,14 +1,14 @@ --- !ruby/object:Gem::Specification name: airbrussh version: !ruby/object:Gem::Version - version: 1.4.1 + version: 1.5.0 platform: ruby authors: - Matt Brictson autorequire: bindir: exe cert_chain: [] -date: 2022-07-23 00:00:00.000000000 Z +date: 2023-09-22 00:00:00.000000000 Z dependencies: - !ruby/object:Gem::Dependency name: sshkit @@ -92,14 +92,14 @@ requirements: - - "~>" - !ruby/object:Gem::Version - version: '1.2' + version: '2.1' type: :development prerelease: false version_requirements: !ruby/object:Gem::Requirement requirements: - - "~>" - !ruby/object:Gem::Version - version: '1.2' + version: '2.1' description: A replacement log formatter for SSHKit that makes Capistrano output much easier on the eyes. Just add Airbrussh to your Capfile and enjoy concise, useful log output that is easy to read. @@ -164,7 +164,7 @@ - !ruby/object:Gem::Version version: '0' requirements: [] -rubygems_version: 3.3.18 +rubygems_version: 3.2.33 signing_key: specification_version: 4 summary: Airbrussh pretties up your SSHKit and Capistrano output
