Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package rubygem-net-sftp for openSUSE:Factory checked in at 2022-11-03 19:59:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-net-sftp (Old) and /work/SRC/openSUSE:Factory/.rubygem-net-sftp.new.2275 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-net-sftp" Thu Nov 3 19:59:30 2022 rev:10 rq:1033035 version:4.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-net-sftp/rubygem-net-sftp.changes 2020-05-11 13:41:42.869165403 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-net-sftp.new.2275/rubygem-net-sftp.changes 2022-11-03 19:59:36.144054082 +0100 @@ -1,0 +2,6 @@ +Tue Nov 1 14:32:51 UTC 2022 - Dan ??erm??k <dcer...@suse.com> + +- New upstream release 4.0.0 + see installed CHANGES.txt + +------------------------------------------------------------------- Old: ---- net-sftp-3.0.0.gem New: ---- net-sftp-4.0.0.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-net-sftp.spec ++++++ --- /var/tmp/diff_new_pack.jUuHfI/_old 2022-11-03 19:59:36.668057149 +0100 +++ /var/tmp/diff_new_pack.jUuHfI/_new 2022-11-03 19:59:36.676057195 +0100 @@ -1,7 +1,7 @@ # # spec file for package rubygem-net-sftp # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,28 +16,26 @@ # +%define mod_name net-sftp +%define mod_full_name %{mod_name}-%{version} # # This file was generated with a gem2rpm.yml and not just plain gem2rpm. # All sections marked as MANUAL, license headers, summaries and descriptions # can be maintained in that file. Please consult this file before editing any # of those fields # - Name: rubygem-net-sftp -Version: 3.0.0 +Version: 4.0.0 Release: 0 -%define mod_name net-sftp -%define mod_full_name %{mod_name}-%{version} -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: %{rubygem gem2rpm} -BuildRequires: %{ruby} -BuildRequires: ruby-macros >= 5 -URL: https://github.com/net-ssh/net-sftp -Source: https://rubygems.org/gems/%{mod_full_name}.gem -Source1: gem2rpm.yml Summary: A pure Ruby implementation of the SFTP client protocol License: MIT Group: Development/Languages/Ruby +URL: https://github.com/net-ssh/net-sftp +Source: https://rubygems.org/gems/%{mod_full_name}.gem +Source1: gem2rpm.yml +BuildRequires: %{rubygem gem2rpm} +BuildRequires: %{ruby} +BuildRequires: ruby-macros >= 5 %description A pure Ruby implementation of the SFTP client protocol. @@ -50,6 +48,10 @@ %gem_install \ --doc-files="CHANGES.txt LICENSE.txt README.rdoc" \ -f +# MANUAL +find %{buildroot}/%{_libdir}/ruby/gems/ \( -name '.github' -o -name '.gitignore' \) | xargs rm -rf +# /MANUAL + %gem_packages ++++++ gem2rpm.yml ++++++ --- /var/tmp/diff_new_pack.jUuHfI/_old 2022-11-03 19:59:36.720057453 +0100 +++ /var/tmp/diff_new_pack.jUuHfI/_new 2022-11-03 19:59:36.724057476 +0100 @@ -1,4 +1,4 @@ -# --- +--- # ## used by gem2rpm # :summary: this is a custom summary # ## used by gem2rpm @@ -21,7 +21,7 @@ # ## used by gem2rpm # :patches: # foo.patch: -p1 -# bar.patch: +# bar.patch: # ## used by gem2rpm :sources: # - foo.desktop @@ -33,9 +33,8 @@ # export USE_VENDORED_LIBEV="no" # %endif # ## used by gem2rpm -# :post_install: |- -# # delete custom files here or do other fancy stuff -# install -D -m 0644 %{S:1} %{buildroot}%{_bindir}/gem2rpm-opensuse +:post_install: |- + find %{buildroot}/%{_libdir}/ruby/gems/ \( -name '.github' -o -name '.gitignore' \) | xargs rm -rf # ## used by gem2rpm # :testsuite_command: |- # (pushd %{buildroot}%{gem_base}/gems/%{mod_full_name} && rake test) ++++++ net-sftp-3.0.0.gem -> net-sftp-4.0.0.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 1970-01-01 01:00:00.000000000 +0100 +++ new/.github/workflows/ci.yml 2022-11-01 14:50:33.000000000 +0100 @@ -0,0 +1,35 @@ +name: CI +on: [push, pull_request] +jobs: + test: + runs-on: ubuntu-18.04 + continue-on-error: ${{ matrix.flaky }} + strategy: + matrix: + ruby-version: ["2.5", "2.6", "2.7", "3.0", "3.1", "truffleruby-22", "truffleruby-21"] + flaky: [false] + include: + - ruby-version: "ruby-head" + flaky: true + - ruby-version: "jruby-9.2" + flaky: true + - ruby-version: "jruby-9.3" + flaky: true + - ruby-version: "jruby-head" + flaky: true + - ruby-version: "truffleruby-head" + flaky: true + steps: + - uses: actions/checkout@v1 + + - name: Set up Ruby ${{ matrix.ruby-version }} + uses: ruby/setup-ruby@v1 + with: + ruby-version: ${{ matrix.ruby-version }} + + - name: Bundle install + run: | + gem install bundler + bundle install + - name: Run Tests + run: bundle exec rake test diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.gitignore new/.gitignore --- old/.gitignore 2020-04-27 12:30:46.000000000 +0200 +++ new/.gitignore 2022-11-01 14:50:33.000000000 +0100 @@ -3,3 +3,4 @@ coverage ri *.swp +Gemfile.lock diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.travis.yml new/.travis.yml --- old/.travis.yml 2020-04-27 12:30:46.000000000 +0200 +++ new/.travis.yml 1970-01-01 01:00:00.000000000 +0100 @@ -1,20 +0,0 @@ -language: ruby -sudo: false -rvm: - - 2.3.7 - - 2.4.5 - - 2.5.3 - - 2.6.5 - - 2.7.1 - - ruby-head - - jruby-head - - rbx-3.107 - -install: gem install net-ssh test-unit mocha - -script: rake test - -matrix: - allow_failures: - - rvm: jruby-head - - rvm: rbx-3.107 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/README.rdoc new/README.rdoc --- old/README.rdoc 2020-04-27 12:30:46.000000000 +0200 +++ new/README.rdoc 2022-11-01 14:50:33.000000000 +0100 @@ -3,7 +3,7 @@ <em><b>Please note: this project is in maintenance mode. It is not under active development but pull requests are very much welcome. Just be sure to include tests! -- delano</b></em> -* Docs: http://net-ssh.github.com/net-sftp +* Docs: http://net-ssh.github.io/net-sftp * Issues: https://github.com/net-ssh/net-sftp/issues * Codes: https://github.com/net-ssh/net-sftp * Email: net-...@solutious.com @@ -76,8 +76,8 @@ # Add the public key as a trusted certificate # (You only need to do this once) - $ curl -O https://raw.github.com/net-ssh/net-ssh/master/gem-public_cert.pem - $ gem cert --add gem-public_cert.pem + $ curl -O https://raw.githubusercontent.com/net-ssh/net-sftp/master/net-sftp-public_cert.pem + $ gem cert --add net-sftp-public_cert.pem Then, when install the gem, do so with high security: Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ Binary files old/checksums.yaml.gz.sig and new/checksums.yaml.gz.sig differ 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/net/sftp/operations/download.rb new/lib/net/sftp/operations/download.rb --- old/lib/net/sftp/operations/download.rb 2020-04-27 12:30:46.000000000 +0200 +++ new/lib/net/sftp/operations/download.rb 2022-11-01 14:50:33.000000000 +0100 @@ -27,7 +27,7 @@ # # sftp.download!("/path/to/remotedir", "/path/to/local", :recursive => true) # - # This will download "/path/to/remotedir", it's contents, it's subdirectories, + # This will download "/path/to/remotedir", its contents, its subdirectories, # and their contents, recursively, to "/path/to/local" on the local host. # (If you specify :recursive => true and the source is not a directory, # you'll get an error!) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/net/sftp/operations/file.rb new/lib/net/sftp/operations/file.rb --- old/lib/net/sftp/operations/file.rb 2020-04-27 12:30:46.000000000 +0200 +++ new/lib/net/sftp/operations/file.rb 2022-11-01 14:50:33.000000000 +0100 @@ -132,9 +132,9 @@ def write(data) data = data.to_s sftp.write!(handle, @real_pos, data) - @real_pos += data.length + @real_pos += data.bytes.length @pos = @real_pos - data.length + data.bytes.length end # Writes each argument to the stream. If +$\+ is set, it will be written diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/net/sftp/operations/upload.rb new/lib/net/sftp/operations/upload.rb --- old/lib/net/sftp/operations/upload.rb 2020-04-27 12:30:46.000000000 +0200 +++ new/lib/net/sftp/operations/upload.rb 2022-11-01 14:50:33.000000000 +0100 @@ -27,14 +27,14 @@ # # sftp.upload!("/path/to/directory", "/path/to/remote") # - # This will upload "/path/to/directory", it's contents, it's subdirectories, + # This will upload "/path/to/directory", its contents, its subdirectories, # and their contents, recursively, to "/path/to/remote" on the remote server. # # For uploading a directory without creating it, do # sftp.upload!("/path/to/directory", "/path/to/remote", :mkdir => false) # # If you want to send data to a file on the remote server, but the data is - # in memory, you can pass an IO object and upload it's contents: + # in memory, you can pass an IO object and upload its contents: # # require 'stringio' # io = StringIO.new(data) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/net/sftp/session.rb new/lib/net/sftp/session.rb --- old/lib/net/sftp/session.rb 2020-04-27 12:30:46.000000000 +0200 +++ new/lib/net/sftp/session.rb 2022-11-01 14:50:33.000000000 +0100 @@ -419,7 +419,7 @@ # :call-seq: # readdir(handle) -> request - # raeddir(handle) { |response| ... } -> request + # readdir(handle) { |response| ... } -> request # # Reads a set of entries from the given directory handle (which must # have been obtained via #opendir). If the response is EOF, then there diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/net/sftp/version.rb new/lib/net/sftp/version.rb --- old/lib/net/sftp/version.rb 2020-04-27 12:30:46.000000000 +0200 +++ new/lib/net/sftp/version.rb 2022-11-01 14:50:33.000000000 +0100 @@ -46,7 +46,7 @@ end # The major component of this version of the Net::SFTP library - MAJOR = 3 + MAJOR = 4 # The minor component of this version of the Net::SFTP library MINOR = 0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata 2020-04-27 12:30:46.000000000 +0200 +++ new/metadata 2022-11-01 14:50:33.000000000 +0100 @@ -1,7 +1,7 @@ --- !ruby/object:Gem::Specification name: net-sftp version: !ruby/object:Gem::Version - version: 3.0.0 + version: 4.0.0 platform: ruby authors: - Jamis Buck @@ -13,8 +13,8 @@ - | -----BEGIN CERTIFICATE----- MIIDQDCCAiigAwIBAgIBATANBgkqhkiG9w0BAQsFADAlMSMwIQYDVQQDDBpuZXRz - c2gvREM9c29sdXRpb3VzL0RDPWNvbTAeFw0yMDA0MjYwNjI0NTFaFw0yMTA0MjYw - NjI0NTFaMCUxIzAhBgNVBAMMGm5ldHNzaC9EQz1zb2x1dGlvdXMvREM9Y29tMIIB + c2gvREM9c29sdXRpb3VzL0RDPWNvbTAeFw0yMjA5MjIxMTUwMDJaFw0yMzA5MjIx + MTUwMDJaMCUxIzAhBgNVBAMMGm5ldHNzaC9EQz1zb2x1dGlvdXMvREM9Y29tMIIB IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAxieE22fR/qmdPKUHyYTyUx2g wskLwrCkxay+Tvc97ZZUOwf85LDDDPqhQaTWLvRwnIOMgQE2nBPzwalVclK6a+pW x/18KDeZY15vm3Qn5p42b0wi9hUxOqPm3J2hdCLCcgtENgdX21nVzejn39WVqFJO @@ -24,14 +24,14 @@ AQABo3sweTAJBgNVHRMEAjAAMAsGA1UdDwQEAwIEsDAdBgNVHQ4EFgQUBfKiwO2e M4NEiRrVG793qEPLYyMwHwYDVR0RBBgwFoEUbmV0c3NoQHNvbHV0aW91cy5jb20w HwYDVR0SBBgwFoEUbmV0c3NoQHNvbHV0aW91cy5jb20wDQYJKoZIhvcNAQELBQAD - ggEBAHZOpj9ZNefc4eoie/20zX4iOgk3i+Rmjo04sMYWEtj0+4zLHXqSjune7+hd - ruP+u5xmEy9ueGQ/0kcLlDDM+8eQo6gjCY4GIQtwAzVLsUVeejE4291/GyfPf24v - 1dLWRtPwth0nyN5EOwOPqeiYiLAr5lO3wHTgfIgFhvdZpcXG8zB6JojuFJjDpKvO - HBV0P82HXjocnjusBt1YykGCvK4cDnaRruZJh6w2XeYQJJjlbqbDfBSQVesg97yM - bwwLGaqsVz0cC6q3EpU57oyyTu529o0HnDatc94Cz8t9p6ogkKtSM+jwsnnC6wmI - MMzdZVhRg3QdHAGYfd+TfsS3Mps= + ggEBABI2ORK5kzUL7uOF0EHI4ECMWxQMiN+pURyGp9u7DU0H8eSdZN52jbUGHzSB + j7bB6GpqElEWjOe0IbH3vR52IVXq2bOF4P4vFchGAb4OuzJD8aJmrC/SPLHbWBuV + 2GpbRQRJyYPWN6Rt/4EHOxoFnhXOBEB6CGIy0dt7YezycVbzqtHoiI2Qf/bIFJQZ + mpJAAUBkRiWksE7zrsE5DGK8kL2GVos7f8kdM71zT8p7VBwkMdY277T29TG2xD0D + 66Oev0C3/x89NXqCHkl1JElSzEFbOoxan16z7xNEf2MKcBKGhsYfzWVNyEtJm785 + g+97rn/AuO6dcxJnW2qBGYQa7pQ= -----END CERTIFICATE----- -date: 2020-04-27 00:00:00.000000000 Z +date: 2022-11-01 00:00:00.000000000 Z dependencies: - !ruby/object:Gem::Dependency name: net-ssh @@ -42,7 +42,7 @@ version: 5.0.0 - - "<" - !ruby/object:Gem::Version - version: 7.0.0 + version: 8.0.0 type: :runtime prerelease: false version_requirements: !ruby/object:Gem::Requirement @@ -52,7 +52,7 @@ version: 5.0.0 - - "<" - !ruby/object:Gem::Version - version: 7.0.0 + version: 8.0.0 - !ruby/object:Gem::Dependency name: minitest requirement: !ruby/object:Gem::Requirement @@ -90,8 +90,8 @@ - LICENSE.txt - README.rdoc files: +- ".github/workflows/ci.yml" - ".gitignore" -- ".travis.yml" - CHANGES.txt - Gemfile - LICENSE.txt @@ -146,7 +146,7 @@ - !ruby/object:Gem::Version version: '0' requirements: [] -rubygems_version: 3.0.3 +rubygems_version: 3.1.6 signing_key: specification_version: 3 summary: A pure Ruby implementation of the SFTP client protocol. Binary files old/metadata.gz.sig and new/metadata.gz.sig differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/net-sftp-public_cert.pem new/net-sftp-public_cert.pem --- old/net-sftp-public_cert.pem 2020-04-27 12:30:46.000000000 +0200 +++ new/net-sftp-public_cert.pem 2022-11-01 14:50:33.000000000 +0100 @@ -1,7 +1,7 @@ -----BEGIN CERTIFICATE----- MIIDQDCCAiigAwIBAgIBATANBgkqhkiG9w0BAQsFADAlMSMwIQYDVQQDDBpuZXRz -c2gvREM9c29sdXRpb3VzL0RDPWNvbTAeFw0yMDA0MjYwNjI0NTFaFw0yMTA0MjYw -NjI0NTFaMCUxIzAhBgNVBAMMGm5ldHNzaC9EQz1zb2x1dGlvdXMvREM9Y29tMIIB +c2gvREM9c29sdXRpb3VzL0RDPWNvbTAeFw0yMjA5MjIxMTUwMDJaFw0yMzA5MjIx +MTUwMDJaMCUxIzAhBgNVBAMMGm5ldHNzaC9EQz1zb2x1dGlvdXMvREM9Y29tMIIB IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAxieE22fR/qmdPKUHyYTyUx2g wskLwrCkxay+Tvc97ZZUOwf85LDDDPqhQaTWLvRwnIOMgQE2nBPzwalVclK6a+pW x/18KDeZY15vm3Qn5p42b0wi9hUxOqPm3J2hdCLCcgtENgdX21nVzejn39WVqFJO @@ -11,10 +11,10 @@ AQABo3sweTAJBgNVHRMEAjAAMAsGA1UdDwQEAwIEsDAdBgNVHQ4EFgQUBfKiwO2e M4NEiRrVG793qEPLYyMwHwYDVR0RBBgwFoEUbmV0c3NoQHNvbHV0aW91cy5jb20w HwYDVR0SBBgwFoEUbmV0c3NoQHNvbHV0aW91cy5jb20wDQYJKoZIhvcNAQELBQAD -ggEBAHZOpj9ZNefc4eoie/20zX4iOgk3i+Rmjo04sMYWEtj0+4zLHXqSjune7+hd -ruP+u5xmEy9ueGQ/0kcLlDDM+8eQo6gjCY4GIQtwAzVLsUVeejE4291/GyfPf24v -1dLWRtPwth0nyN5EOwOPqeiYiLAr5lO3wHTgfIgFhvdZpcXG8zB6JojuFJjDpKvO -HBV0P82HXjocnjusBt1YykGCvK4cDnaRruZJh6w2XeYQJJjlbqbDfBSQVesg97yM -bwwLGaqsVz0cC6q3EpU57oyyTu529o0HnDatc94Cz8t9p6ogkKtSM+jwsnnC6wmI -MMzdZVhRg3QdHAGYfd+TfsS3Mps= +ggEBABI2ORK5kzUL7uOF0EHI4ECMWxQMiN+pURyGp9u7DU0H8eSdZN52jbUGHzSB +j7bB6GpqElEWjOe0IbH3vR52IVXq2bOF4P4vFchGAb4OuzJD8aJmrC/SPLHbWBuV +2GpbRQRJyYPWN6Rt/4EHOxoFnhXOBEB6CGIy0dt7YezycVbzqtHoiI2Qf/bIFJQZ +mpJAAUBkRiWksE7zrsE5DGK8kL2GVos7f8kdM71zT8p7VBwkMdY277T29TG2xD0D +66Oev0C3/x89NXqCHkl1JElSzEFbOoxan16z7xNEf2MKcBKGhsYfzWVNyEtJm785 +g+97rn/AuO6dcxJnW2qBGYQa7pQ= -----END CERTIFICATE----- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/net-sftp.gemspec new/net-sftp.gemspec --- old/net-sftp.gemspec 2020-04-27 12:30:46.000000000 +0200 +++ new/net-sftp.gemspec 2022-11-01 14:50:33.000000000 +0100 @@ -31,16 +31,16 @@ spec.specification_version = 3 if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then - spec.add_runtime_dependency(%q<net-ssh>, [">= 5.0.0", "< 7.0.0"]) + spec.add_runtime_dependency(%q<net-ssh>, [">= 5.0.0", "< 8.0.0"]) spec.add_development_dependency(%q<minitest>, [">= 5"]) spec.add_development_dependency(%q<mocha>, [">= 0"]) else - spec.add_dependency(%q<net-ssh>, [">= 5.0.0", "< 7.0.0"]) + spec.add_dependency(%q<net-ssh>, [">= 5.0.0", "< 8.0.0"]) spec.add_dependency(%q<minitest>, [">= 5"]) spec.add_dependency(%q<mocha>, [">= 0"]) end else - spec.add_dependency(%q<net-ssh>, [">= 5.0.0", "< 7.0.0"]) + spec.add_dependency(%q<net-ssh>, [">= 5.0.0", "< 8.0.0"]) spec.add_dependency(%q<minitest>, [">= 5"]) spec.add_dependency(%q<test-unit>, [">= 0"]) spec.add_dependency(%q<mocha>, [">= 0"])