commit rubygem-sshkit for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-sshkit for openSUSE:Factory checked in at 2020-05-11 13:40:00 Comparing /work/SRC/openSUSE:Factory/rubygem-sshkit (Old) and /work/SRC/openSUSE:Factory/.rubygem-sshkit.new.2738 (New) Package is "rubygem-sshkit" Mon May 11 13:40:00 2020 rev:28 rq:802379 version:1.21.0 Changes: --- /work/SRC/openSUSE:Factory/rubygem-sshkit/rubygem-sshkit.changes 2020-03-07 21:40:20.856357593 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-sshkit.new.2738/rubygem-sshkit.changes 2020-05-11 13:40:03.580954813 +0200 @@ -1,0 +2,6 @@ +Thu May 7 21:33:56 UTC 2020 - Stephan Kulow + +- updated to version 1.21.0 + see installed CHANGELOG.md + +--- Old: sshkit-1.20.0.gem New: sshkit-1.21.0.gem Other differences: -- ++ rubygem-sshkit.spec ++ --- /var/tmp/diff_new_pack.rE4Z32/_old 2020-05-11 13:40:05.112958025 +0200 +++ /var/tmp/diff_new_pack.rE4Z32/_new 2020-05-11 13:40:05.112958025 +0200 @@ -24,7 +24,7 @@ # Name: rubygem-sshkit -Version:1.20.0 +Version:1.21.0 Release:0 %define mod_name sshkit %define mod_full_name %{mod_name}-%{version} ++ sshkit-1.20.0.gem -> sshkit-1.21.0.gem ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.github/release-drafter.yml new/.github/release-drafter.yml --- old/.github/release-drafter.yml 1970-01-01 01:00:00.0 +0100 +++ new/.github/release-drafter.yml 2020-03-05 03:02:26.0 +0100 @@ -0,0 +1,17 @@ +name-template: "$NEXT_PATCH_VERSION" +tag-template: "v$NEXT_PATCH_VERSION" +categories: + - title: "⚠️ Breaking Changes" +label: "⚠️ Breaking" + - title: "✨ New Features" +label: "✨ Feature" + - title: " Bug Fixes" +label: " Bug Fix" + - title: " Documentation" +label: " Docs" + - title: " Housekeeping" +label: " Housekeeping" +change-template: "- $TITLE (#$NUMBER) @$AUTHOR" +no-changes-template: "- No changes" +template: | + $CHANGES diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.github/workflows/push.yml new/.github/workflows/push.yml --- old/.github/workflows/push.yml 1970-01-01 01:00:00.0 +0100 +++ new/.github/workflows/push.yml 2020-03-05 03:02:26.0 +0100 @@ -0,0 +1,12 @@ +on: push +name: Push +jobs: + draftRelease: +name: Draft Release +runs-on: ubuntu-latest +steps: + - uses: actions/checkout@master + - name: Draft Release +uses: toolmantim/release-drafter@v5.2.0 +env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.rubocop.yml new/.rubocop.yml --- old/.rubocop.yml2019-08-04 01:08:28.0 +0200 +++ new/.rubocop.yml2020-03-05 03:02:26.0 +0100 @@ -6,10 +6,10 @@ TargetRubyVersion: 2.0 Lint/AmbiguousBlockAssociation: - Enabled: -false + Enabled: false Metrics/BlockLength: Exclude: +- "sshkit.gemspec" - "spec/**/*" - "lib/**/*.rake" Style/BarePercentLiterals: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md --- old/CHANGELOG.md2019-08-04 01:08:28.0 +0200 +++ new/CHANGELOG.md2020-03-05 03:02:26.0 +0100 @@ -1,796 +1 @@ -## Changelog - -This file is written in reverse chronological order, newer releases will -appear at the top. - -## [Unreleased][] - - * Your contribution here! - -## [1.20.0][] (2019-08-03) - - * [#468](https://github.com/capistrano/sshkit/pull/468): Make `upload!` take a `:verbosity` option like `exec` does - [@grosser](https://github.com/grosser) - -## [1.19.1][] (2019-07-02) - - * [#465](https://github.com/capistrano/sshkit/pull/456): Fix a regression in 1.19.0 that prevented `~` from being used in Capistrano paths, e.g. `:deploy_to`, etc. - [@grosser](https://github.com/grosser) - -## [1.19.0][] (2019-06-30) - - * [#455](https://github.com/capistrano/sshkit/pull/455): Ensure UUID of commands are stable in logging - [@lazyatom](https://github.com/lazyatom) - * [#453](https://github.com/capistrano/sshkit/pull/453): `as` and `within` now properly escape their user/group/path arguments, and the command nested within an `as` block is now properly escaped before passing to `sh -c`. In the unlikely case that you were manually escaping commands passed to SSHKit as a workaround, you will no longer need to do this. See [#458](https://github.com/capistrano/sshkit/issues/458) for examples of what has been fixed. - [@grosser](https://github.com/grosser) - *
commit rubygem-sshkit for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-sshkit for openSUSE:Factory checked in at 2020-03-07 21:40:14 Comparing /work/SRC/openSUSE:Factory/rubygem-sshkit (Old) and /work/SRC/openSUSE:Factory/.rubygem-sshkit.new.26092 (New) Package is "rubygem-sshkit" Sat Mar 7 21:40:14 2020 rev:27 rq:773855 version:1.20.0 Changes: --- /work/SRC/openSUSE:Factory/rubygem-sshkit/rubygem-sshkit.changes 2019-08-06 15:10:46.603763466 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-sshkit.new.26092/rubygem-sshkit.changes 2020-03-07 21:40:20.856357593 +0100 @@ -1,0 +2,10 @@ +Mon Feb 10 15:52:44 UTC 2020 - Stephan Kulow + +- updated to version 1.20.0 + see installed CHANGELOG.md + + ## [1.20.0][] (2019-08-03) + +* [#468](https://github.com/capistrano/sshkit/pull/468): Make `upload!` take a `:verbosity` option like `exec` does - [@grosser](https://github.com/grosser) + +--- Old: sshkit-1.19.1.gem New: sshkit-1.20.0.gem Other differences: -- ++ rubygem-sshkit.spec ++ --- /var/tmp/diff_new_pack.mAxTAe/_old 2020-03-07 21:40:21.740358191 +0100 +++ /var/tmp/diff_new_pack.mAxTAe/_new 2020-03-07 21:40:21.740358191 +0100 @@ -1,7 +1,7 @@ # # spec file for package rubygem-sshkit # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,7 +24,7 @@ # Name: rubygem-sshkit -Version:1.19.1 +Version:1.20.0 Release:0 %define mod_name sshkit %define mod_full_name %{mod_name}-%{version} @@ -32,7 +32,7 @@ BuildRequires: %{rubygem gem2rpm} BuildRequires: %{ruby} BuildRequires: ruby-macros >= 5 -Url:http://github.com/capistrano/sshkit +URL:http://github.com/capistrano/sshkit Source: https://rubygems.org/gems/%{mod_full_name}.gem Source1:gem2rpm.yml Summary:SSHKit makes it easy to write structured, testable SSH commands in ++ sshkit-1.19.1.gem -> sshkit-1.20.0.gem ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md --- old/CHANGELOG.md2019-07-02 18:48:06.0 +0200 +++ new/CHANGELOG.md2019-08-04 01:08:28.0 +0200 @@ -7,6 +7,10 @@ * Your contribution here! +## [1.20.0][] (2019-08-03) + + * [#468](https://github.com/capistrano/sshkit/pull/468): Make `upload!` take a `:verbosity` option like `exec` does - [@grosser](https://github.com/grosser) + ## [1.19.1][] (2019-07-02) * [#465](https://github.com/capistrano/sshkit/pull/456): Fix a regression in 1.19.0 that prevented `~` from being used in Capistrano paths, e.g. `:deploy_to`, etc. - [@grosser](https://github.com/grosser) @@ -768,7 +772,8 @@ First release. -[Unreleased]: https://github.com/capistrano/sshkit/compare/v1.19.1...HEAD +[Unreleased]: https://github.com/capistrano/sshkit/compare/v1.20.0...HEAD +[1.20.0]: https://github.com/capistrano/sshkit/compare/v1.19.1...v1.20.0 [1.19.1]: https://github.com/capistrano/sshkit/compare/v1.19.0...v1.19.1 [1.19.0]: https://github.com/capistrano/sshkit/compare/v1.18.2...v1.19.0 [1.18.2]: https://github.com/capistrano/sshkit/compare/v1.18.1...v1.18.2 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/README.md new/README.md --- old/README.md 2019-07-02 18:48:06.0 +0200 +++ new/README.md 2019-08-04 01:08:28.0 +0200 @@ -6,29 +6,31 @@ [![Gem Version](https://badge.fury.io/rb/sshkit.svg)](https://rubygems.org/gems/sshkit) [![Build Status](https://travis-ci.org/capistrano/sshkit.svg?branch=master)](https://travis-ci.org/capistrano/sshkit) -## How might it work? +## Example -The typical use-case looks something like this: + - Connect to 2 servers + - Execute commands as `deploy` user with `RAILS_ENV=production` + - Execute commands in serial (default is `:parallel`) ```ruby require 'sshkit' require 'sshkit/dsl' include SSHKit::DSL -on %w{1.example.com 2.example.com}, in: :sequence, wait: 5 do |host| +on ["1.example.com", "2.example.com"], in: :sequence do |host| + puts "Now executing on #{host}" within "/opt/sites/example.com" do as :deploy do - with rails_env: :production do -rake "assets:precompile" -runner "S3::Sync.notify" -execute :node, "socket_server.js" + with RAILS_ENV: 'production' do +execute :rake, "assets:precompile" +execute :rails, "runner", "S3::Sync.notify" end end end end ``` -You can find
commit rubygem-sshkit for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-sshkit for openSUSE:Factory checked in at 2019-08-06 15:10:45 Comparing /work/SRC/openSUSE:Factory/rubygem-sshkit (Old) and /work/SRC/openSUSE:Factory/.rubygem-sshkit.new.4126 (New) Package is "rubygem-sshkit" Tue Aug 6 15:10:45 2019 rev:26 rq:717324 version:1.19.1 Changes: --- /work/SRC/openSUSE:Factory/rubygem-sshkit/rubygem-sshkit.changes 2019-06-19 21:01:20.150135235 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-sshkit.new.4126/rubygem-sshkit.changes 2019-08-06 15:10:46.603763466 +0200 @@ -1,0 +2,16 @@ +Fri Jul 19 09:39:24 UTC 2019 - Stephan Kulow + +- updated to version 1.19.1 + see installed CHANGELOG.md + + ## [1.19.1][] (2019-07-02) + +* [#465](https://github.com/capistrano/sshkit/pull/456): Fix a regression in 1.19.0 that prevented `~` from being used in Capistrano paths, e.g. `:deploy_to`, etc. - [@grosser](https://github.com/grosser) + + ## [1.19.0][] (2019-06-30) + +* [#455](https://github.com/capistrano/sshkit/pull/455): Ensure UUID of commands are stable in logging - [@lazyatom](https://github.com/lazyatom) +* [#453](https://github.com/capistrano/sshkit/pull/453): `as` and `within` now properly escape their user/group/path arguments, and the command nested within an `as` block is now properly escaped before passing to `sh -c`. In the unlikely case that you were manually escaping commands passed to SSHKit as a workaround, you will no longer need to do this. See [#458](https://github.com/capistrano/sshkit/issues/458) for examples of what has been fixed. - [@grosser](https://github.com/grosser) +* [#460](https://github.com/capistrano/sshkit/pull/460): Handle IPv6 addresses without port - [@will-in-wi](https://github.com/will-in-wi) + +--- Old: sshkit-1.18.2.gem New: sshkit-1.19.1.gem Other differences: -- ++ rubygem-sshkit.spec ++ --- /var/tmp/diff_new_pack.dNfz03/_old 2019-08-06 15:10:47.227763177 +0200 +++ /var/tmp/diff_new_pack.dNfz03/_new 2019-08-06 15:10:47.231763175 +0200 @@ -24,7 +24,7 @@ # Name: rubygem-sshkit -Version:1.18.2 +Version:1.19.1 Release:0 %define mod_name sshkit %define mod_full_name %{mod_name}-%{version} ++ sshkit-1.18.2.gem -> sshkit-1.19.1.gem ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.rubocop.yml new/.rubocop.yml --- old/.rubocop.yml1970-01-01 01:00:00.0 +0100 +++ new/.rubocop.yml2019-07-02 18:48:06.0 +0200 @@ -0,0 +1,63 @@ +inherit_from: .rubocop_todo.yml + +AllCops: + DisplayCopNames: true + DisplayStyleGuide: true + TargetRubyVersion: 2.0 + +Lint/AmbiguousBlockAssociation: + Enabled: +false +Metrics/BlockLength: + Exclude: +- "spec/**/*" +- "lib/**/*.rake" +Style/BarePercentLiterals: + EnforcedStyle: percent_q +Style/ClassAndModuleChildren: + Enabled: false +Style/DoubleNegation: + Enabled: false +Style/FileName: + Exclude: +- "Dangerfile" +Style/IndentHeredoc: + Enabled: false +Style/SpaceAroundEqualsInParameterDefault: + EnforcedStyle: no_space +Style/StringLiterals: + EnforcedStyle: double_quotes +Style/TrivialAccessors: + AllowPredicates: true +Style/PercentLiteralDelimiters: + Enabled: false +Style/SingleLineBlockParams: + Enabled: false +Style/ModuleFunction: + Enabled: false + +# Enable someday +Style/Documentation: + Enabled: false + +# Needs refactors +Metrics/PerceivedComplexity: + Enabled: false +Metrics/CyclomaticComplexity: + Enabled: false +Metrics/MethodLength: + Enabled: false +Style/PredicateName: + Enabled: false +Metrics/LineLength: + Enabled: false +Metrics/AbcSize: + Enabled: false +Style/PerlBackrefs: + Enabled: false +Metrics/ClassLength: + Enabled: false +Metrics/ModuleLength: + Enabled: false +Style/AccessorMethodName: + Enabled: false diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.rubocop_todo.yml new/.rubocop_todo.yml --- old/.rubocop_todo.yml 1970-01-01 01:00:00.0 +0100 +++ new/.rubocop_todo.yml 2019-07-02 18:48:06.0 +0200 @@ -0,0 +1,637 @@ +# This configuration was generated by +# `rubocop --auto-gen-config` +# on 2019-05-15 19:11:29 -0500 using RuboCop version 0.49.1. +# The point is for the user to remove these configuration records +# one by one as the offenses are removed from the code base. +# Note that changes in the inspected code, or installation of new +# versions of RuboCop, may require this file to be generated again. + +# Offense count: 1 +# Cop supports --auto-correct. +# Configuration parameters: Include,
commit rubygem-sshkit for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-sshkit for openSUSE:Factory checked in at 2019-06-19 21:01:16 Comparing /work/SRC/openSUSE:Factory/rubygem-sshkit (Old) and /work/SRC/openSUSE:Factory/.rubygem-sshkit.new.4811 (New) Package is "rubygem-sshkit" Wed Jun 19 21:01:16 2019 rev:25 rq:706028 version:1.18.2 Changes: --- /work/SRC/openSUSE:Factory/rubygem-sshkit/rubygem-sshkit.changes 2018-11-26 10:36:09.004617344 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-sshkit.new.4811/rubygem-sshkit.changes 2019-06-19 21:01:20.150135235 +0200 @@ -1,0 +2,14 @@ +Sat Mar 2 15:40:04 UTC 2019 - Stephan Kulow + +- updated to version 1.18.2 + see installed CHANGELOG.md + + ## [1.18.2][] (2019-02-03) + +* [#448](https://github.com/capistrano/sshkit/pull/448): Fix misbehaving connection eviction loop when disabling connection pooling - [Sebastian Cohnen](https://github.com/tisba) + + ## [1.18.1][] (2019-01-26) + +* [#447](https://github.com/capistrano/sshkit/pull/447): Fix broken thread safety by widening critical section - [Takumasa Ochi](https://github.com/aeroastro) + +--- Old: sshkit-1.18.0.gem New: sshkit-1.18.2.gem Other differences: -- ++ rubygem-sshkit.spec ++ --- /var/tmp/diff_new_pack.ucwOaQ/_old 2019-06-19 21:01:20.866135836 +0200 +++ /var/tmp/diff_new_pack.ucwOaQ/_new 2019-06-19 21:01:20.866135836 +0200 @@ -1,7 +1,7 @@ # # spec file for package rubygem-sshkit # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,7 +24,7 @@ # Name: rubygem-sshkit -Version:1.18.0 +Version:1.18.2 Release:0 %define mod_name sshkit %define mod_full_name %{mod_name}-%{version} ++ sshkit-1.18.0.gem -> sshkit-1.18.2.gem ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md --- old/CHANGELOG.md2018-10-22 01:18:32.0 +0200 +++ new/CHANGELOG.md2019-02-04 00:05:41.0 +0100 @@ -7,6 +7,14 @@ * Your contribution here! +## [1.18.2][] (2019-02-03) + + * [#448](https://github.com/capistrano/sshkit/pull/448): Fix misbehaving connection eviction loop when disabling connection pooling - [Sebastian Cohnen](https://github.com/tisba) + +## [1.18.1][] (2019-01-26) + + * [#447](https://github.com/capistrano/sshkit/pull/447): Fix broken thread safety by widening critical section - [Takumasa Ochi](https://github.com/aeroastro) + ## [1.18.0][] (2018-10-21) * [#435](https://github.com/capistrano/sshkit/pull/435): Consistent verbosity configuration #capture and #test methods - [@NikolayRys](https://github.com/NikolayRys) @@ -750,7 +758,9 @@ First release. -[Unreleased]: https://github.com/capistrano/sshkit/compare/v1.18.0...HEAD +[Unreleased]: https://github.com/capistrano/sshkit/compare/v1.18.2...HEAD +[1.18.2]: https://github.com/capistrano/sshkit/compare/v1.18.1...v1.18.2 +[1.18.1]: https://github.com/capistrano/sshkit/compare/v1.18.0...v1.18.1 [1.18.0]: https://github.com/capistrano/sshkit/compare/v1.17.0...v1.18.0 [1.17.0]: https://github.com/capistrano/sshkit/compare/v1.16.1...v1.17.0 [1.16.1]: https://github.com/capistrano/sshkit/compare/v1.16.0...v1.16.1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/README.md new/README.md --- old/README.md 2018-10-22 01:18:32.0 +0200 +++ new/README.md 2019-02-04 00:05:41.0 +0100 @@ -71,7 +71,7 @@ ```ruby on '1.example.com' do upload! 'some_local_file.txt', '/home/some_user/somewhere' - download! '/home/some_user/some_remote_file.txt', 'somewhere_local', :log_percent 25 + download! '/home/some_user/some_remote_file.txt', 'somewhere_local', log_percent: 25 end ``` Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/sshkit/backends/connection_pool.rb new/lib/sshkit/backends/connection_pool.rb --- old/lib/sshkit/backends/connection_pool.rb 2018-10-22 01:18:32.0 +0200 +++ new/lib/sshkit/backends/connection_pool.rb 2019-02-04 00:05:41.0 +0100 @@ -21,7 +21,7 @@ # The ConnectionPool caches connections and allows them to be reused, so long as # the reuse happens within the `idle_timeout` period. Timed out connections are -# closed, forcing a new connection to be used in that case. +# eventually closed, forcing a
commit rubygem-sshkit for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-sshkit for openSUSE:Factory checked in at 2018-11-26 10:33:51 Comparing /work/SRC/openSUSE:Factory/rubygem-sshkit (Old) and /work/SRC/openSUSE:Factory/.rubygem-sshkit.new.19453 (New) Package is "rubygem-sshkit" Mon Nov 26 10:33:51 2018 rev:24 rq:651619 version:1.18.0 Changes: --- /work/SRC/openSUSE:Factory/rubygem-sshkit/rubygem-sshkit.changes 2018-07-18 22:53:13.387103522 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-sshkit.new.19453/rubygem-sshkit.changes 2018-11-26 10:36:09.004617344 +0100 @@ -1,0 +2,10 @@ +Thu Nov 22 05:38:06 UTC 2018 - Stephan Kulow + +- updated to version 1.18.0 + see installed CHANGELOG.md + + ## [1.18.0][] (2018-10-21) + +* [#435](https://github.com/capistrano/sshkit/pull/435): Consistent verbosity configuration #capture and #test methods - [@NikolayRys](https://github.com/NikolayRys) + +--- Old: sshkit-1.17.0.gem New: sshkit-1.18.0.gem Other differences: -- ++ rubygem-sshkit.spec ++ --- /var/tmp/diff_new_pack.jQUQiE/_old 2018-11-26 10:36:21.668602529 +0100 +++ /var/tmp/diff_new_pack.jQUQiE/_new 2018-11-26 10:36:21.672602525 +0100 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -24,7 +24,7 @@ # Name: rubygem-sshkit -Version:1.17.0 +Version:1.18.0 Release:0 %define mod_name sshkit %define mod_full_name %{mod_name}-%{version} ++ sshkit-1.17.0.gem -> sshkit-1.18.0.gem ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md --- old/CHANGELOG.md2018-07-08 03:07:35.0 +0200 +++ new/CHANGELOG.md2018-10-22 01:18:32.0 +0200 @@ -7,6 +7,10 @@ * Your contribution here! +## [1.18.0][] (2018-10-21) + + * [#435](https://github.com/capistrano/sshkit/pull/435): Consistent verbosity configuration #capture and #test methods - [@NikolayRys](https://github.com/NikolayRys) + ## [1.17.0][] (2018-07-07) * [#430](https://github.com/capistrano/sshkit/pull/430): [Feature] Command Argument STDOUT/capistrano.log Hiding - [@NorseGaud](https://github.com/NorseGaud) @@ -746,7 +750,8 @@ First release. -[Unreleased]: https://github.com/capistrano/sshkit/compare/v1.17.0...HEAD +[Unreleased]: https://github.com/capistrano/sshkit/compare/v1.18.0...HEAD +[1.18.0]: https://github.com/capistrano/sshkit/compare/v1.17.0...v1.18.0 [1.17.0]: https://github.com/capistrano/sshkit/compare/v1.16.1...v1.17.0 [1.16.1]: https://github.com/capistrano/sshkit/compare/v1.16.0...v1.16.1 [1.16.0]: https://github.com/capistrano/sshkit/compare/v1.15.1...v1.16.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/README.md new/README.md --- old/README.md 2018-07-08 03:07:35.0 +0200 +++ new/README.md 2018-10-22 01:18:32.0 +0200 @@ -445,13 +445,13 @@ Output & Log Redaction -If necessary, redact() can be used on a section of your execute arguments to hide it from both STDOUT and the capistrano.log. It supports the majority of data types. +If necessary, `redact` can be used on a section of your `execute` arguments to hide it from both STDOUT and the capistrano.log. It supports the majority of data types. ```ruby # Example from capistrano-postgresql gem execute(:psql, fetch(:pg_system_db), '-c', %Q{"CREATE USER \\"#{fetch(:pg_username)}\\" PASSWORD}, redact("'#{fetch(:pg_password)}'"), %Q{;"}) ``` -Once wrapped, sshkit logging will replace the actual pg_password with a [REDACTED] value: +Once wrapped, sshkit logging will replace the actual pg_password with a [REDACTED] value. The created database user will have the value from `fetch(:pg_password)`. ``` # STDOUT @@ -467,7 +467,13 @@ ``` -Yet, the created database user will have the value from `fetch(:pg_password)`. +Certain commands will require that no spaces exist between a string and what you want hidden. Because SSHKIT will include a whitespace between each argument of `execute`, this can be dealt with by wrapping both in redact: + +```ruby +# lib/capistrano/tasks/systemd.rake +execute :sudo, :echo, redact("CONTENT_WEB_TOOLS_PASS='#{ENV['CONTENT_WEB_TOOLS_PASS']}'"), ">> /etc/systemd/system/#{fetch(:application)}_sidekiq.service.d/EnvironmentFile", '"' + +``` Output Colors @@ -514,6 +520,8 @@ the `Command` instances of `Logger::DEBUG`. The default
commit rubygem-sshkit for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-sshkit for openSUSE:Factory checked in at 2018-07-18 22:53:12 Comparing /work/SRC/openSUSE:Factory/rubygem-sshkit (Old) and /work/SRC/openSUSE:Factory/.rubygem-sshkit.new (New) Package is "rubygem-sshkit" Wed Jul 18 22:53:12 2018 rev:23 rq:621786 version:1.17.0 Changes: --- /work/SRC/openSUSE:Factory/rubygem-sshkit/rubygem-sshkit.changes 2018-03-06 10:46:08.486769153 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-sshkit.new/rubygem-sshkit.changes 2018-07-18 22:53:13.387103522 +0200 @@ -1,0 +2,20 @@ +Sun Jul 8 02:18:04 UTC 2018 - factory-a...@kulow.org + +- updated to version 1.17.0 + see installed CHANGELOG.md + + ## [1.17.0][] (2018-07-07) + +* [#430](https://github.com/capistrano/sshkit/pull/430): [Feature] Command Argument STDOUT/capistrano.log Hiding - [@NorseGaud](https://github.com/NorseGaud) + +--- +Mon May 21 01:17:13 UTC 2018 - factory-a...@kulow.org + +- updated to version 1.16.1 + see installed CHANGELOG.md + + ## [1.16.1][] (2018-05-20) + +* [#425](https://github.com/capistrano/sshkit/pull/425): Command#group incorrectly escapes double quotes, resulting in a a syntax error when specifying the group execution using `as`. This issue manifested when user command quotes changed from double quotes to single quotes. This fix removes the double quote escaping - [@pblesi](https://github.com/pblesi). + +--- Old: sshkit-1.16.0.gem New: sshkit-1.17.0.gem Other differences: -- ++ rubygem-sshkit.spec ++ --- /var/tmp/diff_new_pack.9Ituew/_old 2018-07-18 22:53:15.435096731 +0200 +++ /var/tmp/diff_new_pack.9Ituew/_new 2018-07-18 22:53:15.443096705 +0200 @@ -24,7 +24,7 @@ # Name: rubygem-sshkit -Version:1.16.0 +Version:1.17.0 Release:0 %define mod_name sshkit %define mod_full_name %{mod_name}-%{version} ++ sshkit-1.16.0.gem -> sshkit-1.17.0.gem ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.travis.yml new/.travis.yml --- old/.travis.yml 2018-02-04 02:40:20.0 +0100 +++ new/.travis.yml 2018-07-08 03:07:35.0 +0200 @@ -1,12 +1,14 @@ language: ruby rvm: - - 2.3.3 - - 2.2.4 - - 2.1.8 - - 2.0.0 + - 2.5 + - 2.4 + - 2.3 + - 2.2 + - 2.1 + - 2.0 matrix: include: -# Run Danger only once, on 2.3.3 -- rvm: 2.3.3 +# Run Danger only once, on 2.5 +- rvm: 2.5 script: bundle exec danger script: bundle exec rake test:units lint diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md --- old/CHANGELOG.md2018-02-04 02:40:20.0 +0100 +++ new/CHANGELOG.md2018-07-08 03:07:35.0 +0200 @@ -7,6 +7,14 @@ * Your contribution here! +## [1.17.0][] (2018-07-07) + + * [#430](https://github.com/capistrano/sshkit/pull/430): [Feature] Command Argument STDOUT/capistrano.log Hiding - [@NorseGaud](https://github.com/NorseGaud) + +## [1.16.1][] (2018-05-20) + + * [#425](https://github.com/capistrano/sshkit/pull/425): Command#group incorrectly escapes double quotes, resulting in a a syntax error when specifying the group execution using `as`. This issue manifested when user command quotes changed from double quotes to single quotes. This fix removes the double quote escaping - [@pblesi](https://github.com/pblesi). + ## [1.16.0][] (2018-02-03) * [#417](https://github.com/capistrano/sshkit/pull/417): Cache key generation for connections becomes slow when `known_hosts` is a valid `net/ssh` options and `known_hosts` file is big. This changes the cache key generation and fixes performance issue - [@ElvinEfendi](https://github.com/ElvinEfendi). @@ -738,7 +746,9 @@ First release. -[Unreleased]: https://github.com/capistrano/sshkit/compare/v1.16.0...HEAD +[Unreleased]: https://github.com/capistrano/sshkit/compare/v1.17.0...HEAD +[1.17.0]: https://github.com/capistrano/sshkit/compare/v1.16.1...v1.17.0 +[1.16.1]: https://github.com/capistrano/sshkit/compare/v1.16.0...v1.16.1 [1.16.0]: https://github.com/capistrano/sshkit/compare/v1.15.1...v1.16.0 [1.15.1]: https://github.com/capistrano/sshkit/compare/v1.15.0...v1.15.1 [1.15.0]: https://github.com/capistrano/sshkit/compare/v1.14.0...v1.15.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/EXAMPLES.md new/EXAMPLES.md --- old/EXAMPLES.md 2018-02-04 02:40:20.0 +0100 +++ new/EXAMPLES.md 2018-07-08 03:07:35.0 +0200 @@ -32,6 +32,10 @@ ## Run a command with specific
commit rubygem-sshkit for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-sshkit for openSUSE:Factory checked in at 2018-03-06 10:46:06 Comparing /work/SRC/openSUSE:Factory/rubygem-sshkit (Old) and /work/SRC/openSUSE:Factory/.rubygem-sshkit.new (New) Package is "rubygem-sshkit" Tue Mar 6 10:46:06 2018 rev:22 rq:581504 version:1.16.0 Changes: --- /work/SRC/openSUSE:Factory/rubygem-sshkit/rubygem-sshkit.changes 2017-08-21 11:37:13.028701913 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-sshkit.new/rubygem-sshkit.changes 2018-03-06 10:46:08.486769153 +0100 @@ -1,0 +2,37 @@ +Tue Feb 27 05:35:47 UTC 2018 - factory-a...@kulow.org + +- updated to version 1.16.0 + see installed CHANGELOG.md + + ## [1.16.0][] (2018-02-03) + +* [#417](https://github.com/capistrano/sshkit/pull/417): Cache key generation for connections becomes slow when `known_hosts` is a valid `net/ssh` options and `known_hosts` file is big. This changes the cache key generation and fixes performance issue - [@ElvinEfendi](https://github.com/ElvinEfendi). + + ## [1.15.1][] (2017-11-18) + + This is a small bug-fix release that fixes problems with `upload!` and `download!` that were inadvertently introduced in 1.15.0. + + ### Breaking changes + +* None + + ### Bug fixes + +* [#410](https://github.com/capistrano/sshkit/pull/410): fix NoMethodError when using upload!/download! with Pathnames - [@UnderpantsGnome](https://github.com/UnderpantsGnome) +* [#411](https://github.com/capistrano/sshkit/pull/410): fix upload!/download! when using relative paths outside of `within` blocks - [@Fjan](https://github.com/Fjan) + + ## [1.15.0][] (2017-11-03) + + ### New features + +* [#408](https://github.com/capistrano/sshkit/pull/408): upload! and download! now respect `within` - [@sj26](https://github.com/sj26) + + ### Potentially breaking changes + +* `upload!` and `download!` now support remote paths which are + relative to the `within` working directory. They were previously documented + as only supporting absolute paths, but relative paths still worked relative + to the remote working directory. If you rely on the previous behaviour you + may need to adjust your code. + +--- Old: sshkit-1.14.0.gem New: sshkit-1.16.0.gem Other differences: -- ++ rubygem-sshkit.spec ++ --- /var/tmp/diff_new_pack.18JWcj/_old 2018-03-06 10:46:09.190743722 +0100 +++ /var/tmp/diff_new_pack.18JWcj/_new 2018-03-06 10:46:09.194743578 +0100 @@ -1,7 +1,7 @@ # # spec file for package rubygem-sshkit # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,7 +24,7 @@ # Name: rubygem-sshkit -Version:1.14.0 +Version:1.16.0 Release:0 %define mod_name sshkit %define mod_full_name %{mod_name}-%{version} @@ -33,7 +33,7 @@ BuildRequires: %{ruby} BuildRequires: ruby-macros >= 5 Url:http://github.com/capistrano/sshkit -Source: http://rubygems.org/gems/%{mod_full_name}.gem +Source: https://rubygems.org/gems/%{mod_full_name}.gem Source1:gem2rpm.yml Summary:SSHKit makes it easy to write structured, testable SSH commands in License:MIT ++ sshkit-1.14.0.gem -> sshkit-1.16.0.gem ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md --- old/CHANGELOG.md2017-06-30 18:24:59.0 +0200 +++ new/CHANGELOG.md2018-02-04 02:40:20.0 +0100 @@ -7,6 +7,37 @@ * Your contribution here! +## [1.16.0][] (2018-02-03) + + * [#417](https://github.com/capistrano/sshkit/pull/417): Cache key generation for connections becomes slow when `known_hosts` is a valid `net/ssh` options and `known_hosts` file is big. This changes the cache key generation and fixes performance issue - [@ElvinEfendi](https://github.com/ElvinEfendi). + +## [1.15.1][] (2017-11-18) + +This is a small bug-fix release that fixes problems with `upload!` and `download!` that were inadvertently introduced in 1.15.0. + +### Breaking changes + + * None + +### Bug fixes + + * [#410](https://github.com/capistrano/sshkit/pull/410): fix NoMethodError when using upload!/download! with Pathnames - [@UnderpantsGnome](https://github.com/UnderpantsGnome) + * [#411](https://github.com/capistrano/sshkit/pull/410): fix upload!/download! when using relative paths outside of `within` blocks -
commit rubygem-sshkit for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-sshkit for openSUSE:Factory checked in at 2017-08-21 11:37:11 Comparing /work/SRC/openSUSE:Factory/rubygem-sshkit (Old) and /work/SRC/openSUSE:Factory/.rubygem-sshkit.new (New) Package is "rubygem-sshkit" Mon Aug 21 11:37:11 2017 rev:21 rq:515063 version:1.14.0 Changes: --- /work/SRC/openSUSE:Factory/rubygem-sshkit/rubygem-sshkit.changes 2017-04-17 10:27:11.830686521 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-sshkit.new/rubygem-sshkit.changes 2017-08-21 11:37:13.028701913 +0200 @@ -1,0 +2,16 @@ +Thu Aug 3 19:43:23 UTC 2017 - co...@suse.com + +- updated to version 1.14.0 + see installed CHANGELOG.md + + ## [1.14.0][] (2017-06-30) + + ### Breaking changes + +* None + + ### New features + +* [#401](https://github.com/capistrano/sshkit/pull/401): Add :log_percent option to specify upload!/download! transfer log percentage - [@aubergene](https://github.com/aubergene) + +--- Old: sshkit-1.13.1.gem New: sshkit-1.14.0.gem Other differences: -- ++ rubygem-sshkit.spec ++ --- /var/tmp/diff_new_pack.EeoLz1/_old 2017-08-21 11:37:14.268527543 +0200 +++ /var/tmp/diff_new_pack.EeoLz1/_new 2017-08-21 11:37:14.280525855 +0200 @@ -24,7 +24,7 @@ # Name: rubygem-sshkit -Version:1.13.1 +Version:1.14.0 Release:0 %define mod_name sshkit %define mod_full_name %{mod_name}-%{version} ++ sshkit-1.13.1.gem -> sshkit-1.14.0.gem ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md --- old/CHANGELOG.md2017-03-31 16:31:41.0 +0200 +++ new/CHANGELOG.md2017-06-30 18:24:59.0 +0200 @@ -7,6 +7,16 @@ * Your contribution here! +## [1.14.0][] (2017-06-30) + +### Breaking changes + + * None + +### New features + + * [#401](https://github.com/capistrano/sshkit/pull/401): Add :log_percent option to specify upload!/download! transfer log percentage - [@aubergene](https://github.com/aubergene) + ## [1.13.1][] (2017-03-31) ### Breaking changes @@ -15,7 +25,7 @@ ### Bug fixes - * [#397](https://github.com/capistrano/sshkt/pull/397): Fix NoMethodError assign_defaults with net-ssh older than 4.0.0 - [@shirosaki](https://github.com/shirosaki) + * [#397](https://github.com/capistrano/sshkit/pull/397): Fix NoMethodError assign_defaults with net-ssh older than 4.0.0 - [@shirosaki](https://github.com/shirosaki) ## [1.13.0][] (2017-03-24) @@ -697,7 +707,8 @@ First release. -[Unreleased]: https://github.com/capistrano/sshkit/compare/v1.13.1...HEAD +[Unreleased]: https://github.com/capistrano/sshkit/compare/v1.14.0...HEAD +[1.14.0]: https://github.com/capistrano/sshkit/compare/v1.13.1...v1.14.0 [1.13.1]: https://github.com/capistrano/sshkit/compare/v1.13.0...v1.13.1 [1.13.0]: https://github.com/capistrano/sshkit/compare/v1.12.0...v1.13.0 [1.12.0]: https://github.com/capistrano/sshkit/compare/v1.11.5...v1.12.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/README.md new/README.md --- old/README.md 2017-03-31 16:31:41.0 +0200 +++ new/README.md 2017-06-30 18:24:59.0 +0200 @@ -72,7 +72,7 @@ ```ruby on '1.example.com' do upload! 'some_local_file.txt', '/home/some_user/somewhere' - download! '/home/some_user/some_remote_file.txt', 'somewhere_local' + download! '/home/some_user/some_remote_file.txt', 'somewhere_local', :log_percent 25 end ``` diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Rakefile new/Rakefile --- old/Rakefile2017-03-31 16:31:41.0 +0200 +++ new/Rakefile2017-06-30 18:24:59.0 +0200 @@ -1,5 +1,3 @@ -#!/usr/bin/env rake - require 'bundler/gem_tasks' require 'rake/testtask' require 'rubocop/rake_task' Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/sshkit/backends/netssh.rb new/lib/sshkit/backends/netssh.rb --- old/lib/sshkit/backends/netssh.rb 2017-03-31 16:31:41.0 +0200 +++ new/lib/sshkit/backends/netssh.rb 2017-06-30 18:24:59.0 +0200 @@ -62,14 +62,14 @@ end def upload!(local, remote, options = {}) -summarizer = transfer_summarizer('Uploading') +summarizer = transfer_summarizer('Uploading', options) with_ssh do |ssh| ssh.scp.upload!(local, remote, options, ) end end def download!(remote, local=nil, options = {}) -summarizer =
commit rubygem-sshkit for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-sshkit for openSUSE:Factory checked in at 2017-04-17 10:27:09 Comparing /work/SRC/openSUSE:Factory/rubygem-sshkit (Old) and /work/SRC/openSUSE:Factory/.rubygem-sshkit.new (New) Package is "rubygem-sshkit" Mon Apr 17 10:27:09 2017 rev:20 rq:487594 version:1.13.1 Changes: --- /work/SRC/openSUSE:Factory/rubygem-sshkit/rubygem-sshkit.changes 2017-04-11 09:33:21.241172950 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-sshkit.new/rubygem-sshkit.changes 2017-04-17 10:27:11.830686521 +0200 @@ -1,0 +2,16 @@ +Sat Apr 1 04:37:39 UTC 2017 - co...@suse.com + +- updated to version 1.13.1 + see installed CHANGELOG.md + + ## [1.13.1][] (2017-03-31) + + ### Breaking changes + +* None + + ### Bug fixes + +* [#397](https://github.com/capistrano/sshkt/pull/397): Fix NoMethodError assign_defaults with net-ssh older than 4.0.0 - [@shirosaki](https://github.com/shirosaki) + +--- Old: sshkit-1.13.0.gem New: sshkit-1.13.1.gem Other differences: -- ++ rubygem-sshkit.spec ++ --- /var/tmp/diff_new_pack.g4oJtk/_old 2017-04-17 10:27:12.826545491 +0200 +++ /var/tmp/diff_new_pack.g4oJtk/_new 2017-04-17 10:27:12.826545491 +0200 @@ -24,7 +24,7 @@ # Name: rubygem-sshkit -Version:1.13.0 +Version:1.13.1 Release:0 %define mod_name sshkit %define mod_full_name %{mod_name}-%{version} ++ sshkit-1.13.0.gem -> sshkit-1.13.1.gem ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md --- old/CHANGELOG.md2017-03-25 01:31:24.0 +0100 +++ new/CHANGELOG.md2017-03-31 16:31:41.0 +0200 @@ -7,6 +7,16 @@ * Your contribution here! +## [1.13.1][] (2017-03-31) + +### Breaking changes + + * None + +### Bug fixes + + * [#397](https://github.com/capistrano/sshkt/pull/397): Fix NoMethodError assign_defaults with net-ssh older than 4.0.0 - [@shirosaki](https://github.com/shirosaki) + ## [1.13.0][] (2017-03-24) ### Breaking changes @@ -687,7 +697,9 @@ First release. -[Unreleased]: https://github.com/capistrano/sshkit/compare/v1.12.0...HEAD +[Unreleased]: https://github.com/capistrano/sshkit/compare/v1.13.1...HEAD +[1.13.1]: https://github.com/capistrano/sshkit/compare/v1.13.0...v1.13.1 +[1.13.0]: https://github.com/capistrano/sshkit/compare/v1.12.0...v1.13.0 [1.12.0]: https://github.com/capistrano/sshkit/compare/v1.11.5...v1.12.0 [1.11.5]: https://github.com/capistrano/sshkit/compare/v1.11.4...v1.11.5 [1.11.4]: https://github.com/capistrano/sshkit/compare/v1.11.3...v1.11.4 Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/sshkit/backends/netssh.rb new/lib/sshkit/backends/netssh.rb --- old/lib/sshkit/backends/netssh.rb 2017-03-25 01:31:24.0 +0100 +++ new/lib/sshkit/backends/netssh.rb 2017-03-31 16:31:41.0 +0200 @@ -47,7 +47,16 @@ # Set default options early for ConnectionPool cache key def assign_defaults - Net::SSH.assign_defaults(@default_options) + if Net::SSH.respond_to?(:assign_defaults) +Net::SSH.assign_defaults(@default_options) + else +# net-ssh < 4.0.0 doesn't have assign_defaults +unless @default_options.key?(:logger) + require 'logger' + @default_options[:logger] = ::Logger.new(STDERR) + @default_options[:logger].level = ::Logger::FATAL +end + end @default_options end end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/sshkit/version.rb new/lib/sshkit/version.rb --- old/lib/sshkit/version.rb 2017-03-25 01:31:24.0 +0100 +++ new/lib/sshkit/version.rb 2017-03-31 16:31:41.0 +0200 @@ -1,3 +1,3 @@ module SSHKit - VERSION = "1.13.0".freeze + VERSION = "1.13.1".freeze end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata2017-03-25 01:31:24.0 +0100 +++ new/metadata2017-03-31 16:31:41.0 +0200 @@ -1,7 +1,7 @@ --- !ruby/object:Gem::Specification name: sshkit version: !ruby/object:Gem::Version - version: 1.13.0 + version: 1.13.1 platform: ruby authors: - Lee Hambley @@ -9,7 +9,7 @@ autorequire: bindir: bin cert_chain: [] -date: 2017-03-25 00:00:00.0 Z +date: 2017-03-31 00:00:00.0 Z dependencies: - !ruby/object:Gem::Dependency name: net-ssh
commit rubygem-sshkit for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-sshkit for openSUSE:Factory checked in at 2017-04-11 09:33:19 Comparing /work/SRC/openSUSE:Factory/rubygem-sshkit (Old) and /work/SRC/openSUSE:Factory/.rubygem-sshkit.new (New) Package is "rubygem-sshkit" Tue Apr 11 09:33:19 2017 rev:19 rq:482695 version:1.13.0 Changes: --- /work/SRC/openSUSE:Factory/rubygem-sshkit/rubygem-sshkit.changes 2016-12-29 22:46:21.639331965 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-sshkit.new/rubygem-sshkit.changes 2017-04-11 09:33:21.241172950 +0200 @@ -1,0 +2,37 @@ +Sat Mar 25 05:36:25 UTC 2017 - co...@suse.com + +- updated to version 1.13.0 + see installed CHANGELOG.md + + ## [1.13.0][] (2017-03-24) + + ### Breaking changes + +* None + + ### New features + +* [#372](https://github.com/capistrano/sshkit/pull/372): Use cp_r in local backend with recursive option - [@okuramasafumi](https://github.com/okuramasafumi) + + ### Bug fixes + +* [#390](https://github.com/capistrano/sshkit/pull/390): Properly wrap Ruby StandardError w/ add'l context - [@mattbrictson](https://github.com/mattbrictson) +* [#392](https://github.com/capistrano/sshkit/pull/392): Fix open two connections with changed cache key - [@shirosaki](https://github.com/shirosaki) + +--- +Sat Feb 11 06:10:45 UTC 2017 - co...@suse.com + +- updated to version 1.12.0 + see installed CHANGELOG.md + + ## [1.12.0][] (2017-02-10) + + ### Breaking changes + +* None + + ### New features + +* Add `SSHKit.config.default_runner_config` option that allows overriding default runner configs. + +--- Old: sshkit-1.11.5.gem New: sshkit-1.13.0.gem Other differences: -- ++ rubygem-sshkit.spec ++ --- /var/tmp/diff_new_pack.XB95yz/_old 2017-04-11 09:33:21.841088205 +0200 +++ /var/tmp/diff_new_pack.XB95yz/_new 2017-04-11 09:33:21.845087640 +0200 @@ -1,7 +1,7 @@ # # spec file for package rubygem-sshkit # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,7 +24,7 @@ # Name: rubygem-sshkit -Version:1.11.5 +Version:1.13.0 Release:0 %define mod_name sshkit %define mod_full_name %{mod_name}-%{version} ++ sshkit-1.11.5.gem -> sshkit-1.13.0.gem ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.travis.yml new/.travis.yml --- old/.travis.yml 2016-12-17 02:50:45.0 +0100 +++ new/.travis.yml 2017-03-25 01:31:24.0 +0100 @@ -4,8 +4,9 @@ - 2.2.4 - 2.1.8 - 2.0.0 -include: - # Run Danger only once, on 2.3.3 - - rvm: 2.3.3 -before_script: bundle exec danger -script: "rake test:units lint" +matrix: + include: +# Run Danger only once, on 2.3.3 +- rvm: 2.3.3 + script: bundle exec danger +script: bundle exec rake test:units lint diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md --- old/CHANGELOG.md2016-12-17 02:50:45.0 +0100 +++ new/CHANGELOG.md2017-03-25 01:31:24.0 +0100 @@ -7,6 +7,31 @@ * Your contribution here! +## [1.13.0][] (2017-03-24) + +### Breaking changes + + * None + +### New features + + * [#372](https://github.com/capistrano/sshkit/pull/372): Use cp_r in local backend with recursive option - [@okuramasafumi](https://github.com/okuramasafumi) + +### Bug fixes + + * [#390](https://github.com/capistrano/sshkit/pull/390): Properly wrap Ruby StandardError w/ add'l context - [@mattbrictson](https://github.com/mattbrictson) + * [#392](https://github.com/capistrano/sshkit/pull/392): Fix open two connections with changed cache key - [@shirosaki](https://github.com/shirosaki) + +## [1.12.0][] (2017-02-10) + +### Breaking changes + + * None + +### New features + + * Add `SSHKit.config.default_runner_config` option that allows overriding default runner configs. + ## [1.11.5][] (2016-12-16) ### Bug fixes @@ -662,7 +687,8 @@ First release. -[Unreleased]: https://github.com/capistrano/sshkit/compare/v1.11.5...HEAD +[Unreleased]: https://github.com/capistrano/sshkit/compare/v1.12.0...HEAD +[1.12.0]: https://github.com/capistrano/sshkit/compare/v1.11.5...v1.12.0 [1.11.5]: https://github.com/capistrano/sshkit/compare/v1.11.4...v1.11.5 [1.11.4]: https://github.com/capistrano/sshkit/compare/v1.11.3...v1.11.4 [1.11.3]:
commit rubygem-sshkit for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-sshkit for openSUSE:Factory checked in at 2016-11-17 12:43:06 Comparing /work/SRC/openSUSE:Factory/rubygem-sshkit (Old) and /work/SRC/openSUSE:Factory/.rubygem-sshkit.new (New) Package is "rubygem-sshkit" Changes: --- /work/SRC/openSUSE:Factory/rubygem-sshkit/rubygem-sshkit.changes 2016-10-10 16:23:12.0 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-sshkit.new/rubygem-sshkit.changes 2016-11-17 12:43:07.0 +0100 @@ -1,0 +2,13 @@ +Thu Nov 3 05:52:56 UTC 2016 - co...@suse.com + +- updated to version 1.11.4 + see installed CHANGELOG.md + + ## [1.11.4][] (2016-11-02) + +* Use string interpolation for environment variables to avoid escaping issues + with sprintf + [PR #280](https://github.com/capistrano/sshkit/pull/280) + @Sinjo - Chris Sinjakli + +--- Old: sshkit-1.11.3.gem New: sshkit-1.11.4.gem Other differences: -- ++ rubygem-sshkit.spec ++ --- /var/tmp/diff_new_pack.eU6lR7/_old 2016-11-17 12:43:08.0 +0100 +++ /var/tmp/diff_new_pack.eU6lR7/_new 2016-11-17 12:43:08.0 +0100 @@ -24,7 +24,7 @@ # Name: rubygem-sshkit -Version:1.11.3 +Version:1.11.4 Release:0 %define mod_name sshkit %define mod_full_name %{mod_name}-%{version} ++ sshkit-1.11.3.gem -> sshkit-1.11.4.gem ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md --- old/CHANGELOG.md2016-09-16 22:45:29.0 +0200 +++ new/CHANGELOG.md2016-11-03 05:53:51.0 +0100 @@ -8,6 +8,13 @@ * Add your entries below here, remember to credit yourself however you want to be credited! +## [1.11.4][] (2016-11-02) + + * Use string interpolation for environment variables to avoid escaping issues +with sprintf +[PR #280](https://github.com/capistrano/sshkit/pull/280) +@Sinjo - Chris Sinjakli + ## [1.11.3][] (2016-09-16) * Fix known_hosts caching to match on the entire hostlist @@ -649,7 +656,8 @@ First release. -[Unreleased]: https://github.com/capistrano/sshkit/compare/v1.11.3...HEAD +[Unreleased]: https://github.com/capistrano/sshkit/compare/v1.11.4...HEAD +[1.11.4]: https://github.com/capistrano/sshkit/compare/v1.11.3...v1.11.4 [1.11.3]: https://github.com/capistrano/sshkit/compare/v1.11.2...v1.11.3 [1.11.2]: https://github.com/capistrano/sshkit/compare/v1.11.1...v1.11.2 [1.11.1]: https://github.com/capistrano/sshkit/compare/v1.11.0...v1.11.1 Files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/sshkit/backends/abstract.rb new/lib/sshkit/backends/abstract.rb --- old/lib/sshkit/backends/abstract.rb 2016-09-16 22:45:29.0 +0200 +++ new/lib/sshkit/backends/abstract.rb 2016-11-03 05:53:51.0 +0100 @@ -150,7 +150,7 @@ end def command(args, options) -SSHKit::Command.new(*[*args, options.merge({in: pwd_path, env: @env, host: @host, user: @user, group: @group})]) +SSHKit::Command.new(*args, options.merge({in: pwd_path, env: @env, host: @host, user: @user, group: @group})) end end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/sshkit/command.rb new/lib/sshkit/command.rb --- old/lib/sshkit/command.rb 2016-09-16 22:45:29.0 +0200 +++ new/lib/sshkit/command.rb 2016-11-03 05:53:51.0 +0100 @@ -163,12 +163,12 @@ def with(&_block) return yield unless environment_hash.any? - sprintf("( export #{environment_string} ; %s )", yield) + "( export #{environment_string} ; #{yield} )" end def user(&_block) return yield unless options[:user] - "sudo -u #{options[:user]} #{environment_string + " " unless environment_string.empty?}-- sh -c '%s'" % %Q{#{yield}} + "sudo -u #{options[:user]} #{environment_string + " " unless environment_string.empty?}-- sh -c '#{yield}'" end def in_background(&_block) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/sshkit/host.rb new/lib/sshkit/host.rb --- old/lib/sshkit/host.rb 2016-09-16 22:45:29.0 +0200 +++ new/lib/sshkit/host.rb 2016-11-03 05:53:51.0 +0100 @@ -29,23 +29,7 @@ @hostname = "localhost" @user = ENV['USER'] || ENV['LOGNAME'] || ENV['USERNAME'] elsif !host_string_or_options_hash.is_a?(Hash) -suitable_parsers = [ - SimpleHostParser, - HostWithPortParser, -
commit rubygem-sshkit for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-sshkit for openSUSE:Factory checked in at 2016-10-10 16:23:10 Comparing /work/SRC/openSUSE:Factory/rubygem-sshkit (Old) and /work/SRC/openSUSE:Factory/.rubygem-sshkit.new (New) Package is "rubygem-sshkit" Changes: --- /work/SRC/openSUSE:Factory/rubygem-sshkit/rubygem-sshkit.changes 2016-08-25 09:55:08.0 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-sshkit.new/rubygem-sshkit.changes 2016-10-10 16:23:12.0 +0200 @@ -1,0 +2,11 @@ +Sat Sep 17 04:47:58 UTC 2016 - co...@suse.com + +- updated to version 1.11.3 + see installed CHANGELOG.md + + ## [1.11.3][] (2016-09-16) + +* Fix known_hosts caching to match on the entire hostlist + [PR #364](https://github.com/capistrano/sshkit/pull/364) @byroot + +--- Old: sshkit-1.11.2.gem New: sshkit-1.11.3.gem Other differences: -- ++ rubygem-sshkit.spec ++ --- /var/tmp/diff_new_pack.5pq6Oj/_old 2016-10-10 16:23:16.0 +0200 +++ /var/tmp/diff_new_pack.5pq6Oj/_new 2016-10-10 16:23:16.0 +0200 @@ -24,7 +24,7 @@ # Name: rubygem-sshkit -Version:1.11.2 +Version:1.11.3 Release:0 %define mod_name sshkit %define mod_full_name %{mod_name}-%{version} ++ sshkit-1.11.2.gem -> sshkit-1.11.3.gem ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md --- old/CHANGELOG.md2016-07-30 02:57:10.0 +0200 +++ new/CHANGELOG.md2016-09-16 22:45:29.0 +0200 @@ -8,6 +8,11 @@ * Add your entries below here, remember to credit yourself however you want to be credited! +## [1.11.3][] (2016-09-16) + + * Fix known_hosts caching to match on the entire hostlist +[PR #364](https://github.com/capistrano/sshkit/pull/364) @byroot + ## [1.11.2][] (2016-07-29) ### Bug fixes @@ -644,7 +649,8 @@ First release. -[Unreleased]: https://github.com/capistrano/sshkit/compare/v1.11.2...HEAD +[Unreleased]: https://github.com/capistrano/sshkit/compare/v1.11.3...HEAD +[1.11.3]: https://github.com/capistrano/sshkit/compare/v1.11.2...v1.11.3 [1.11.2]: https://github.com/capistrano/sshkit/compare/v1.11.1...v1.11.2 [1.11.1]: https://github.com/capistrano/sshkit/compare/v1.11.0...v1.11.1 [1.11.0]: https://github.com/capistrano/sshkit/compare/v1.10.0...v1.11.0 Files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/sshkit/backends/netssh/known_hosts.rb new/lib/sshkit/backends/netssh/known_hosts.rb --- old/lib/sshkit/backends/netssh/known_hosts.rb 2016-07-30 02:57:10.0 +0200 +++ new/lib/sshkit/backends/netssh/known_hosts.rb 2016-09-16 22:45:29.0 +0200 @@ -18,10 +18,12 @@ parse_file unless keys && hashes keys, hashes = hosts_keys, hosts_hashes - hostlist.split(',').each do |host| -key_list = keys[host] -return key_list if key_list + host_names = hostlist.split(',') + keys_found = host_names.map { |h| keys[h] || [] }.compact.inject(:&) + return keys_found unless keys_found.empty? + + host_names.each do |host| hashes.each do |(hmac, salt), hash_keys| if OpenSSL::HMAC.digest(sha1, salt, host) == hmac return hash_keys diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/sshkit/version.rb new/lib/sshkit/version.rb --- old/lib/sshkit/version.rb 2016-07-30 02:57:10.0 +0200 +++ new/lib/sshkit/version.rb 2016-09-16 22:45:29.0 +0200 @@ -1,3 +1,3 @@ module SSHKit - VERSION = "1.11.2".freeze + VERSION = "1.11.3".freeze end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata2016-07-30 02:57:10.0 +0200 +++ new/metadata2016-09-16 22:45:29.0 +0200 @@ -1,7 +1,7 @@ --- !ruby/object:Gem::Specification name: sshkit version: !ruby/object:Gem::Version - version: 1.11.2 + version: 1.11.3 platform: ruby authors: - Lee Hambley @@ -9,7 +9,7 @@ autorequire: bindir: bin cert_chain: [] -date: 2016-07-30 00:00:00.0 Z +date: 2016-09-16 00:00:00.0 Z dependencies: - !ruby/object:Gem::Dependency name: net-ssh @@ -178,6 +178,7 @@ - test/helper.rb - test/known_hosts/github - test/known_hosts/github_hash +- test/known_hosts/github_ip - test/support/vagrant_wrapper.rb - test/unit/backends/test_abstract.rb - test/unit/backends/test_connection_pool.rb @@ -230,6
commit rubygem-sshkit for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-sshkit for openSUSE:Factory checked in at 2016-08-25 09:55:06 Comparing /work/SRC/openSUSE:Factory/rubygem-sshkit (Old) and /work/SRC/openSUSE:Factory/.rubygem-sshkit.new (New) Package is "rubygem-sshkit" Changes: --- /work/SRC/openSUSE:Factory/rubygem-sshkit/rubygem-sshkit.changes 2016-07-21 07:58:38.0 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-sshkit.new/rubygem-sshkit.changes 2016-08-25 09:55:08.0 +0200 @@ -1,0 +2,13 @@ +Sat Jul 30 04:33:44 UTC 2016 - co...@suse.com + +- updated to version 1.11.2 + see installed CHANGELOG.md + + ## [1.11.2][] (2016-07-29) + + ### Bug fixes + +* Fixed a crash occurring when `Host@keys` was set to a non-Enumerable. + @xavierholt [PR #360](https://github.com/capistrano/sshkit/pull/360) + +--- Old: sshkit-1.11.1.gem New: sshkit-1.11.2.gem Other differences: -- ++ rubygem-sshkit.spec ++ --- /var/tmp/diff_new_pack.6Mi7MT/_old 2016-08-25 09:55:09.0 +0200 +++ /var/tmp/diff_new_pack.6Mi7MT/_new 2016-08-25 09:55:09.0 +0200 @@ -24,7 +24,7 @@ # Name: rubygem-sshkit -Version:1.11.1 +Version:1.11.2 Release:0 %define mod_name sshkit %define mod_full_name %{mod_name}-%{version} ++ sshkit-1.11.1.gem -> sshkit-1.11.2.gem ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md --- old/CHANGELOG.md2016-06-17 20:19:54.0 +0200 +++ new/CHANGELOG.md2016-07-30 02:57:10.0 +0200 @@ -8,6 +8,13 @@ * Add your entries below here, remember to credit yourself however you want to be credited! +## [1.11.2][] (2016-07-29) + +### Bug fixes + + * Fixed a crash occurring when `Host@keys` was set to a non-Enumerable. +@xavierholt [PR #360](https://github.com/capistrano/sshkit/pull/360) + ## [1.11.1][] (2016-06-17) ### Bug fixes @@ -637,6 +644,7 @@ First release. -[Unreleased]: https://github.com/capistrano/sshkit/compare/v1.11.1...HEAD +[Unreleased]: https://github.com/capistrano/sshkit/compare/v1.11.2...HEAD +[1.11.2]: https://github.com/capistrano/sshkit/compare/v1.11.1...v1.11.2 [1.11.1]: https://github.com/capistrano/sshkit/compare/v1.11.0...v1.11.1 [1.11.0]: https://github.com/capistrano/sshkit/compare/v1.10.0...v1.11.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/README.md new/README.md --- old/README.md 2016-06-17 20:19:54.0 +0200 +++ new/README.md 2016-07-30 02:57:10.0 +0200 @@ -94,16 +94,16 @@ the block they are given with a check. In the case of `within()`, an error-raising check will be made that the directory -exists; for `as()` a simple call to `sudo su - whoami` wrapped in a check for +exists; for `as()` a simple call to `sudo -u -- sh -c '` wrapped in a check for success, raising an error if unsuccessful. The directory check is implemented like this: if test ! -d ; then echo "Directory doesn't exist" 2>&1; false; fi -And the user switching test implemented like this: +And the user switching test is implemented like this: -if ! sudo su -c whoami > /dev/null; then echo "Can't switch user" 2>&1; false; fi +if ! sudo -u whoami > /dev/null; then echo "Can't switch user" 2>&1; false; fi According to the defaults, any command that exits with a status other than 0 raises an error (this can be changed). The body of the message is whatever was Files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/sshkit/host.rb new/lib/sshkit/host.rb --- old/lib/sshkit/host.rb 2016-06-17 20:19:54.0 +0200 +++ new/lib/sshkit/host.rb 2016-07-30 02:57:10.0 +0200 @@ -17,7 +17,7 @@ end def keys - @keys + Array(@keys) end def initialize(host_string_or_options_hash) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/sshkit/version.rb new/lib/sshkit/version.rb --- old/lib/sshkit/version.rb 2016-06-17 20:19:54.0 +0200 +++ new/lib/sshkit/version.rb 2016-07-30 02:57:10.0 +0200 @@ -1,3 +1,3 @@ module SSHKit - VERSION = "1.11.1".freeze + VERSION = "1.11.2".freeze end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata2016-06-17 20:19:54.0 +0200 +++ new/metadata2016-07-30 02:57:10.0 +0200 @@ -1,7 +1,7 @@ --- !ruby/object:Gem::Specification
commit rubygem-sshkit for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-sshkit for openSUSE:Factory checked in at 2016-07-21 07:58:32 Comparing /work/SRC/openSUSE:Factory/rubygem-sshkit (Old) and /work/SRC/openSUSE:Factory/.rubygem-sshkit.new (New) Package is "rubygem-sshkit" Changes: --- /work/SRC/openSUSE:Factory/rubygem-sshkit/rubygem-sshkit.changes 2016-07-01 09:59:21.0 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-sshkit.new/rubygem-sshkit.changes 2016-07-21 07:58:38.0 +0200 @@ -1,0 +2,14 @@ +Wed Jun 29 04:33:48 UTC 2016 - co...@suse.com + +- updated to version 1.11.1 + see installed CHANGELOG.md + + ## [1.11.1][] (2016-06-17) + + ### Bug fixes + +* Fixed a regression in 1.11.0 that would cause + `ArgumentError: invalid option(s): known_hosts` in some older versions of + net-ssh. @byroot [#357](https://github.com/capistrano/sshkit/issues/357) + +--- Old: sshkit-1.11.0.gem New: sshkit-1.11.1.gem Other differences: -- ++ rubygem-sshkit.spec ++ --- /var/tmp/diff_new_pack.ns1ing/_old 2016-07-21 07:58:39.0 +0200 +++ /var/tmp/diff_new_pack.ns1ing/_new 2016-07-21 07:58:39.0 +0200 @@ -24,7 +24,7 @@ # Name: rubygem-sshkit -Version:1.11.0 +Version:1.11.1 Release:0 %define mod_name sshkit %define mod_full_name %{mod_name}-%{version} ++ sshkit-1.11.0.gem -> sshkit-1.11.1.gem ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md --- old/CHANGELOG.md2016-06-14 21:43:07.0 +0200 +++ new/CHANGELOG.md2016-06-17 20:19:54.0 +0200 @@ -8,6 +8,14 @@ * Add your entries below here, remember to credit yourself however you want to be credited! +## [1.11.1][] (2016-06-17) + +### Bug fixes + + * Fixed a regression in 1.11.0 that would cause +`ArgumentError: invalid option(s): known_hosts` in some older versions of +net-ssh. @byroot [#357](https://github.com/capistrano/sshkit/issues/357) + ## [1.11.0][] (2016-06-14) ### Bug fixes @@ -629,5 +637,6 @@ First release. -[Unreleased]: https://github.com/capistrano/sshkit/compare/v1.11.0...HEAD +[Unreleased]: https://github.com/capistrano/sshkit/compare/v1.11.1...HEAD +[1.11.1]: https://github.com/capistrano/sshkit/compare/v1.11.0...v1.11.1 [1.11.0]: https://github.com/capistrano/sshkit/compare/v1.10.0...v1.11.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/README.md new/README.md --- old/README.md 2016-06-14 21:43:07.0 +0200 +++ new/README.md 2016-06-17 20:19:54.0 +0200 @@ -259,7 +259,7 @@ first argument before attempting to find it in the *command map*. ## Interactive commands -> (BETA) (Added in version #.##) +> (Added in version 1.8.0) By default, commands against remote servers are run in a *non-login, non-interactive* ssh session. This is by design, to try and isolate the environment and make sure that things work as expected, @@ -335,7 +335,7 @@ execute(:passwd, interaction_handler: lambda { |server_data| case server_data when '(current) UNIX password: ' -"old_pw\n", +"old_pw\n" when /(Enter|Retype) new UNIX password: / "new_pw\n" end @@ -362,14 +362,14 @@ ```ruby # Start with this and run your script - execute(:unfamiliar_command, MappingInteractionHandler.new({}, :debug)) - # DEBUG log => Unable to find interaction handler mapping for stdout: - # "Please type your input:\r\n" so no response was sent" - - # Update mapping: - execute(:unfamiliar_command, MappingInteractionHandler.new( -{"Please type your input:\r\n" => "Some input\n"} -:debug + execute(:unfamiliar_command, interaction_handler: MappingInteractionHandler.new({}, :info)) + # INFO log => Unable to find interaction handler mapping for stdout: + # "Please type your input:\r\n" so no response was sent" + + # Add missing mapping: + execute(:unfamiliar_command, interaction_handler: MappingInteractionHandler.new( +{"Please type your input:\r\n" => "Some input\n"}, +:info )) ``` Files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/sshkit/backends/netssh.rb new/lib/sshkit/backends/netssh.rb --- old/lib/sshkit/backends/netssh.rb 2016-06-14 21:43:07.0 +0200 +++ new/lib/sshkit/backends/netssh.rb 2016-06-17 20:19:54.0 +0200 @@ -33,8 +33,14 @@ private -def default_options - @default_options ||= {known_hosts:
commit rubygem-sshkit for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-sshkit for openSUSE:Factory checked in at 2016-07-01 09:59:19 Comparing /work/SRC/openSUSE:Factory/rubygem-sshkit (Old) and /work/SRC/openSUSE:Factory/.rubygem-sshkit.new (New) Package is "rubygem-sshkit" Changes: --- /work/SRC/openSUSE:Factory/rubygem-sshkit/rubygem-sshkit.changes 2016-05-29 03:12:35.0 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-sshkit.new/rubygem-sshkit.changes 2016-07-01 09:59:21.0 +0200 @@ -1,0 +2,6 @@ +Wed Jun 15 04:34:48 UTC 2016 - co...@suse.com + +- updated to version 1.11.0 + see installed CHANGELOG.md + +--- Old: sshkit-1.10.0.gem New: sshkit-1.11.0.gem Other differences: -- ++ rubygem-sshkit.spec ++ --- /var/tmp/diff_new_pack.YJ0Fxg/_old 2016-07-01 09:59:21.0 +0200 +++ /var/tmp/diff_new_pack.YJ0Fxg/_new 2016-07-01 09:59:21.0 +0200 @@ -24,7 +24,7 @@ # Name: rubygem-sshkit -Version:1.10.0 +Version:1.11.0 Release:0 %define mod_name sshkit %define mod_full_name %{mod_name}-%{version} ++ sshkit-1.10.0.gem -> sshkit-1.11.0.gem ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md --- old/CHANGELOG.md2016-04-22 19:56:55.0 +0200 +++ new/CHANGELOG.md2016-06-14 21:43:07.0 +0200 @@ -3,16 +3,29 @@ This file is written in reverse chronological order, newer releases will appear at the top. -## `master` (Unreleased) +## [Unreleased][] * Add your entries below here, remember to credit yourself however you want to be credited! +## [1.11.0][] (2016-06-14) + +### Bug fixes + + * Fixed colorized output alignment in Logger::Pretty. @xavierholt +[PR #349](https://github.com/capistrano/sshkit/pull/349) + * Fixed a bug that prevented nested `with` calls +[#43](https://github.com/capistrano/sshkit/issues/43) + +### Other changes + + * Known hosts lookup optimization is now enabled by default. @byroot + ## 1.10.0 (2016-04-22) * You can now opt-in to caching of SSH's known_hosts file for a speed boost when deploying to a large fleet of servers. Refer to the -[README](https://github.com/capistrano/sshkit#known-hosts-caching) for + [README](https://github.com/capistrano/sshkit/tree/v1.10.0#known-hosts-caching) for details. We plan to turn this on by default in a future version of SSHKit. [PR #330](https://github.com/capistrano/sshkit/pull/330) @byroot * SSHKit now explicitly closes its pooled SSH connections when Ruby exits; @@ -615,3 +628,6 @@ ## 0.0.1 First release. + +[Unreleased]: https://github.com/capistrano/sshkit/compare/v1.11.0...HEAD +[1.11.0]: https://github.com/capistrano/sshkit/compare/v1.10.0...v1.11.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/EXAMPLES.md new/EXAMPLES.md --- old/EXAMPLES.md 2016-04-22 19:56:55.0 +0200 +++ new/EXAMPLES.md 2016-06-14 21:43:07.0 +0200 @@ -44,10 +44,10 @@ ```ruby on hosts do |host| f = '/some/file' - if test("[ -d #{f} ]") -execute :touch, f - else + if test("[ -f #{f} ]") info "#{f} already exists on #{host}!" + else +execute :touch, f end end ``` diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/README.md new/README.md --- old/README.md 2016-04-22 19:56:55.0 +0200 +++ new/README.md 2016-06-14 21:43:07.0 +0200 @@ -53,7 +53,7 @@ Typically, you would pass a Symbol for the command name and it's args as follows: ```ruby -on '1.example.com' +on '1.example.com' do if test("[ -f somefile.txt ]") execute(:cp, 'somefile.txt', 'somewhere_else.txt') end @@ -508,19 +508,6 @@ SSHKit::Backend::Netssh.pool.idle_timeout = 0 # disabled ``` -## Known hosts caching - -If you connect to many hosts with the `Netssh` backend, looking up `~/.ssh/known_hosts` can significantly impact performances. -You can mitigate this by using SSHKit's lookup caching like this: - -```ruby -SSHKit::Backend::Netssh.configure do |ssh| - ssh.ssh_options = { -known_hosts: SSHKit::Backend::Netssh::KnownHosts.new, - } -end -``` - ## Tunneling and other related SSH themes In order to do special gymnasitcs with SSH, tunneling, aliasing, complex options, etc with SSHKit it is possible to use [the underlying Net::SSH API](https://github.com/capistrano/sshkit/blob/master/EXAMPLES.md#setting-global-ssh-options) however in many cases it is preferred to use the system SSH configuration file at [`~/.ssh/config`](http://man.cx/ssh_config). This allows
commit rubygem-sshkit for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-sshkit for openSUSE:Factory checked in at 2016-05-29 03:11:08 Comparing /work/SRC/openSUSE:Factory/rubygem-sshkit (Old) and /work/SRC/openSUSE:Factory/.rubygem-sshkit.new (New) Package is "rubygem-sshkit" Changes: --- /work/SRC/openSUSE:Factory/rubygem-sshkit/rubygem-sshkit.changes 2016-04-28 16:53:05.0 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-sshkit.new/rubygem-sshkit.changes 2016-05-29 03:12:35.0 +0200 @@ -1,0 +2,20 @@ +Sat Apr 23 04:36:00 UTC 2016 - co...@suse.com + +- updated to version 1.10.0 + see installed CHANGELOG.md + + ## 1.10.0 (2016-04-22) + +* You can now opt-in to caching of SSH's known_hosts file for a speed boost + when deploying to a large fleet of servers. Refer to the + [README](https://github.com/capistrano/sshkit#known-hosts-caching) for + details. We plan to turn this on by default in a future version of SSHKit. + [PR #330](https://github.com/capistrano/sshkit/pull/330) @byroot +* SSHKit now explicitly closes its pooled SSH connections when Ruby exits; + this fixes `zlib(finalizer): the stream was freed prematurely` warnings + [PR #343](https://github.com/capistrano/sshkit/pull/343) @mattbrictson +* Allow command map entries (`SSHKit::CommandMap#[]`) to be Procs + [PR #310](https://github.com/capistrano/sshkit/pull/310) + @mikz + +--- Old: sshkit-1.9.0.gem New: sshkit-1.10.0.gem Other differences: -- ++ rubygem-sshkit.spec ++ --- /var/tmp/diff_new_pack.igOXgI/_old 2016-05-29 03:12:36.0 +0200 +++ /var/tmp/diff_new_pack.igOXgI/_new 2016-05-29 03:12:36.0 +0200 @@ -24,7 +24,7 @@ # Name: rubygem-sshkit -Version:1.9.0 +Version:1.10.0 Release:0 %define mod_name sshkit %define mod_full_name %{mod_name}-%{version} ++ sshkit-1.9.0.gem -> sshkit-1.10.0.gem ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md --- old/CHANGELOG.md2016-03-10 18:00:42.0 +0100 +++ new/CHANGELOG.md2016-04-22 19:56:55.0 +0200 @@ -8,6 +8,20 @@ * Add your entries below here, remember to credit yourself however you want to be credited! +## 1.10.0 (2016-04-22) + + * You can now opt-in to caching of SSH's known_hosts file for a speed boost +when deploying to a large fleet of servers. Refer to the +[README](https://github.com/capistrano/sshkit#known-hosts-caching) for +details. We plan to turn this on by default in a future version of SSHKit. +[PR #330](https://github.com/capistrano/sshkit/pull/330) @byroot + * SSHKit now explicitly closes its pooled SSH connections when Ruby exits; +this fixes `zlib(finalizer): the stream was freed prematurely` warnings +[PR #343](https://github.com/capistrano/sshkit/pull/343) @mattbrictson + * Allow command map entries (`SSHKit::CommandMap#[]`) to be Procs +[PR #310](https://github.com/capistrano/sshkit/pull/310) +@mikz + ## 1.9.0 **Refer to the 1.9.0.rc1 release notes for a full list of new features, fixes, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/README.md new/README.md --- old/README.md 2016-03-10 18:00:42.0 +0100 +++ new/README.md 2016-04-22 19:56:55.0 +0200 @@ -508,6 +508,19 @@ SSHKit::Backend::Netssh.pool.idle_timeout = 0 # disabled ``` +## Known hosts caching + +If you connect to many hosts with the `Netssh` backend, looking up `~/.ssh/known_hosts` can significantly impact performances. +You can mitigate this by using SSHKit's lookup caching like this: + +```ruby +SSHKit::Backend::Netssh.configure do |ssh| + ssh.ssh_options = { +known_hosts: SSHKit::Backend::Netssh::KnownHosts.new, + } +end +``` + ## Tunneling and other related SSH themes In order to do special gymnasitcs with SSH, tunneling, aliasing, complex options, etc with SSHKit it is possible to use [the underlying Net::SSH API](https://github.com/capistrano/sshkit/blob/master/EXAMPLES.md#setting-global-ssh-options) however in many cases it is preferred to use the system SSH configuration file at [`~/.ssh/config`](http://man.cx/ssh_config). This allows you to have personal configuration tied to your machine that does not have to be committed with the repository. If this is not suitable (everyone on the team needs a proxy command, or some special aliasing) a file in the same format can be placed in the project directory at `~/yourproject/.ssh/config`, this will be merged with the system settings in `~/.ssh/config`, and
commit rubygem-sshkit for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-sshkit for openSUSE:Factory checked in at 2016-04-28 16:52:55 Comparing /work/SRC/openSUSE:Factory/rubygem-sshkit (Old) and /work/SRC/openSUSE:Factory/.rubygem-sshkit.new (New) Package is "rubygem-sshkit" Changes: --- /work/SRC/openSUSE:Factory/rubygem-sshkit/rubygem-sshkit.changes 2015-12-13 09:40:21.0 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-sshkit.new/rubygem-sshkit.changes 2016-04-28 16:53:05.0 +0200 @@ -1,0 +2,61 @@ +Fri Mar 11 05:43:55 UTC 2016 - co...@suse.com + +- updated to version 1.9.0 + see installed CHANGELOG.md + + ## 1.9.0 + + **Refer to the 1.9.0.rc1 release notes for a full list of new features, fixes, + and potentially breaking changes since SSHKit 1.8.1.** There are no changes + since 1.9.0.rc1. + + ## 1.9.0.rc1 + + ### Potentially breaking changes + +* The SSHKit DSL is no longer automatically included when you `require` it. + **This means you must now explicitly `include SSHKit::DSL`.** + See [PR #219](https://github.com/capistrano/sshkit/pull/219) for details. + @beatrichartz +* `SSHKit::Backend::Printer#test` now always returns true + [PR #312](https://github.com/capistrano/sshkit/pull/312) @mikz + + ### New features + +* `SSHKit::Formatter::Abstract` now accepts an optional Hash of options + [PR #308](https://github.com/capistrano/sshkit/pull/308) @mattbrictson +* Add `SSHKit::Backend.current` so that Capistrano plugin authors can refactor + helper methods and still have easy access to the currently-executing Backend + without having to use global variables. +* Add `SSHKit.config.default_runner` options that allows to override default command runner. + This option also accepts a name of the custom runner class. +* The ConnectionPool has been rewritten in this release to be more efficient + and have a cleaner internal API. You can still completely disable the pool + by setting `SSHKit::Backend::Netssh.pool.idle_timeout = 0`. + @mattbrictson @byroot [PR #328](https://github.com/capistrano/sshkit/pull/328) + + ### Bug fixes + +* make sure working directory for commands is properly cleared after `within` blocks + [PR #307](https://github.com/capistrano/sshkit/pull/307) + @steved +* display more accurate string for commands with spaces being output in `Formatter::Pretty` + [PR #304](https://github.com/capistrano/sshkit/pull/304) + @steved + [PR #319](https://github.com/capistrano/sshkit/pull/319) @mattbrictson +* Fix a race condition experienced in JRuby that could cause multi-server + deploys to fail. [PR #322](https://github.com/capistrano/sshkit/pull/322) + @mattbrictson + +--- +Sat Dec 12 05:32:08 UTC 2015 - co...@suse.com + +- updated to version 1.8.1 + see installed CHANGELOG.md + + ## 1.8.1 + +* Change license to MIT, thanks to all the patient contributors who gave + their permissions. + +--- Old: sshkit-1.8.0.gem New: sshkit-1.9.0.gem Other differences: -- ++ rubygem-sshkit.spec ++ --- /var/tmp/diff_new_pack.eaOcye/_old 2016-04-28 16:53:06.0 +0200 +++ /var/tmp/diff_new_pack.eaOcye/_new 2016-04-28 16:53:06.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package rubygem-sshkit # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,7 +24,7 @@ # Name: rubygem-sshkit -Version:1.8.0 +Version:1.9.0 Release:0 %define mod_name sshkit %define mod_full_name %{mod_name}-%{version} @@ -36,7 +36,7 @@ Source: http://rubygems.org/gems/%{mod_full_name}.gem Source1:gem2rpm.yml Summary:SSHKit makes it easy to write structured, testable SSH commands in -License:GPL-3.0 +License:MIT Group: Development/Languages/Ruby %description ++ sshkit-1.8.0.gem -> sshkit-1.9.0.gem ++ 2277 lines of diff (skipped)
commit rubygem-sshkit for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-sshkit for openSUSE:Factory checked in at 2015-12-13 09:40:10 Comparing /work/SRC/openSUSE:Factory/rubygem-sshkit (Old) and /work/SRC/openSUSE:Factory/.rubygem-sshkit.new (New) Package is "rubygem-sshkit" Changes: --- /work/SRC/openSUSE:Factory/rubygem-sshkit/rubygem-sshkit.changes 2015-03-09 10:09:50.0 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-sshkit.new/rubygem-sshkit.changes 2015-12-13 09:40:21.0 +0100 @@ -1,0 +2,80 @@ +Thu Dec 3 05:30:54 UTC 2015 - co...@suse.com + +- updated to version 1.8.0 + see installed CHANGELOG.md + + ## 1.8.0 + +* add SSHKit::Backend::ConnectionPool#close_connections + [PR #285](https://github.com/capistrano/sshkit/pull/285) + @akm +* Clean up rubocop lint warnings + [PR #275](https://github.com/capistrano/sshkit/pull/275) + @cshaffer + * Prepend unused parameter names with an underscore + * Prefer “safe assignment in condition” + * Disambiguate regexp literals with parens + * Prefer `sprintf` over `String#%` + * No longer shadow `caller_line` variable in `DeprecationLogger` + * Rescue `StandardError` instead of `Exception` + * Remove useless `private` access modifier in `TestAbstract` + * Disambiguate block operator with parens + * Disambiguate between grouped expression and method params + * Remove assertion in `TestHost#test_assert_hosts_compare_equal` that compares something with itself +* Export environment variables and execute command in a subshell. + [PR #273](https://github.com/capistrano/sshkit/pull/273) + @kuon +* Introduce `log_command_start`, `log_command_data`, `log_command_exit` methods on `Formatter` + [PR #257](https://github.com/capistrano/sshkit/pull/257) + @robd + * Deprecate `@stdout` and `@stderr` accessors on `Command` +* Add support for deprecation logging options. + [README](README.md#deprecation-warnings), + [PR #258](https://github.com/capistrano/sshkit/pull/258) + @robd +* Quote environment variable values. + [PR #250](https://github.com/capistrano/sshkit/pull/250) + @Sinjo - Chris Sinjakli +* Simplified formatter hierarchy. + [PR #248](https://github.com/capistrano/sshkit/pull/248) + @robd + * `SimpleText` formatter now extends `Pretty`, rather than duplicating. +* Hide ANSI color escape sequences when outputting to a file. + [README](README.md#output-colors), + [Issue #245](https://github.com/capistrano/sshkit/issues/245), + [PR #246](https://github.com/capistrano/sshkit/pull/246) + @robd + * Now only color the output if it is associated with a tty, +or the `SSHKIT_COLOR` environment variable is set. +* Removed broken support for assigning an `IO` to the `output` config option. + [Issue #243](https://github.com/capistrano/sshkit/issues/243), + [PR #244](https://github.com/capistrano/sshkit/pull/244) + @robd + * Use `SSHKit.config.output = SSHKit::Formatter::SimpleText.new($stdin)` instead +* Added support for `:interaction_handler` option on commands. + [PR #234](https://github.com/capistrano/sshkit/pull/234), + [PR #242](https://github.com/capistrano/sshkit/pull/242) + @robd +* Removed partially supported `TRACE` log level. + [2aa7890](https://github.com/capistrano/sshkit/commit/2aa78905f0c521ad9f697e7a4ed04ba438d5ee78) + @robd +* Add support for the `:strip` option to the `capture` method and strip by default on the `Local` backend. + [PR #239](https://github.com/capistrano/sshkit/pull/239), + [PR #249](https://github.com/capistrano/sshkit/pull/249) + @robd + * The `Local` backend now strips by default to be consistent with the `Netssh` one. + * This reverses change [7d15a9a](https://github.com/capistrano/sshkit/commit/7d15a9aebfcc43807c8151bf6f3a4bc038ce6218) to the `Local` capture API to remove stripping by default. + * If you require the raw, unstripped output, pass the `strip: false` option: `capture(:ls, strip: false)` +* Simplified backend hierarchy. + [PR #235](https://github.com/capistrano/sshkit/pull/235), + [PR #237](https://github.com/capistrano/sshkit/pull/237) + @robd + * Moved duplicate implementations of `make`, `rake`, `test`, `capture`, `background` on to `Abstract` backend. + * Backend implementations now only need to implement `execute_command`, `upload!` and `download!` + * Removed `Printer` from backend hierarchy for `Local` and `Netssh` backends (they now just extend `Abstract`) + * Removed unused `Net::SSH:LogLevelShim` +* Removed dependency on the `colorize` gem. SSHKit now implements its own ANSI color logic, with no
commit rubygem-sshkit for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-sshkit for openSUSE:Factory checked in at 2015-03-09 10:09:50 Comparing /work/SRC/openSUSE:Factory/rubygem-sshkit (Old) and /work/SRC/openSUSE:Factory/.rubygem-sshkit.new (New) Package is rubygem-sshkit Changes: --- /work/SRC/openSUSE:Factory/rubygem-sshkit/rubygem-sshkit.changes 2015-02-16 21:12:56.0 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-sshkit.new/rubygem-sshkit.changes 2015-03-09 10:09:50.0 +0100 @@ -1,0 +2,22 @@ +Fri Mar 6 17:38:51 UTC 2015 - co...@suse.com + +- updated to version 1.7.1 + + * Fix a regression in 1.7.0 that caused command completion messages to be removed from log output. @mattbrictson + + ## 1.7.0 + + * Update Vagrantfile to use multi-provider Hashicorp precise64 box - remove URLs. @townsen + * Merge host ssh_options and Netssh defaults @townsen + Previously if host-level ssh_options were defined the Netssh defaults + were ignored. + * Merge host ssh_options and Netssh defaults + * Fixed race condition where output of failed command would be empty. @townsen + Caused random failures of `test_execute_raises_on_non_zero_exit_status_and_captures_stdout_and_stderr` + Also fixes output handling in failed commands, and generally buggy output. + * Remove override of backtrace() and backtrace_locations() from ExecuteError. @townsen + This interferes with rake default behaviour and creates duplicate stacktraces. + * Allow running local commands using `on(:local)` + * Implement the upload! and download! methods for the local backend + +--- Old: sshkit-1.6.1.gem New: sshkit-1.7.1.gem Other differences: -- ++ rubygem-sshkit.spec ++ --- /var/tmp/diff_new_pack.1usz1w/_old 2015-03-09 10:09:51.0 +0100 +++ /var/tmp/diff_new_pack.1usz1w/_new 2015-03-09 10:09:51.0 +0100 @@ -24,7 +24,7 @@ # Name: rubygem-sshkit -Version:1.6.1 +Version:1.7.1 Release:0 %define mod_name sshkit %define mod_full_name %{mod_name}-%{version} ++ sshkit-1.6.1.gem - sshkit-1.7.1.gem ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.gitignore new/.gitignore --- old/.gitignore 2014-12-16 23:45:13.0 +0100 +++ new/.gitignore 2015-03-02 22:02:27.0 +0100 @@ -1,4 +1,7 @@ *.gem +*.swp +bin/rake +.bundle .yardoc .vagrant* test/tmp diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md --- old/CHANGELOG.md2014-12-16 23:45:13.0 +0100 +++ new/CHANGELOG.md2015-03-02 22:02:27.0 +0100 @@ -3,10 +3,29 @@ This file is written in reverse chronological order, newer releases will appear at the top. -## (Unreleased) +## `master` (Unreleased) - * Add your entries here, remember to credit yourself however you want to be -credited! + * Add your entries below here, remember to credit yourself however you want +to be credited! + +## 1.7.1 + + * Fix a regression in 1.7.0 that caused command completion messages to be removed from log output. @mattbrictson + +## 1.7.0 + + * Update Vagrantfile to use multi-provider Hashicorp precise64 box - remove URLs. @townsen + * Merge host ssh_options and Netssh defaults @townsen +Previously if host-level ssh_options were defined the Netssh defaults +were ignored. + * Merge host ssh_options and Netssh defaults + * Fixed race condition where output of failed command would be empty. @townsen +Caused random failures of `test_execute_raises_on_non_zero_exit_status_and_captures_stdout_and_stderr` +Also fixes output handling in failed commands, and generally buggy output. + * Remove override of backtrace() and backtrace_locations() from ExecuteError. @townsen +This interferes with rake default behaviour and creates duplicate stacktraces. + * Allow running local commands using `on(:local)` + * Implement the upload! and download! methods for the local backend ## 1.6.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/EXAMPLES.md new/EXAMPLES.md --- old/EXAMPLES.md 2014-12-16 23:45:13.0 +0100 +++ new/EXAMPLES.md 2015-03-02 22:02:27.0 +0100 @@ -344,3 +344,10 @@ end end +You can achieve the same thing with `on(:local)` + +on(:local) do + within '/tmp' do +execute :whoami + end +end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/README.md new/README.md --- old/README.md 2014-12-16 23:45:13.0 +0100
commit rubygem-sshkit for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-sshkit for openSUSE:Factory checked in at 2015-02-16 21:12:55 Comparing /work/SRC/openSUSE:Factory/rubygem-sshkit (Old) and /work/SRC/openSUSE:Factory/.rubygem-sshkit.new (New) Package is rubygem-sshkit Changes: --- /work/SRC/openSUSE:Factory/rubygem-sshkit/rubygem-sshkit.changes 2014-10-14 13:25:27.0 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-sshkit.new/rubygem-sshkit.changes 2015-02-16 21:12:56.0 +0100 @@ -1,0 +2,35 @@ +Mon Feb 9 10:04:45 UTC 2015 - co...@suse.com + +- updated to version 1.6.1 + * Fix colorize to use the correct API (@fazibear) + * Lock colorize (sorry guys) version at = 0.7.0 + + ## 1.6.0 (Yanked, because of colorize.) + + * Force dependency on colorize v0.6.0 + * Add your entries here, remember to credit yourself however you want to be + credited! + * Remove strip from capture to preserve whitespace. Nick Townsend + * Add vmware_fusion Vagrant provider. Nick Townsend + * Add some padding to the pretty log formatter + + ## 1.5.1 + + * Use `sudo -u` rather than `sudo su` to switch users. Mat Trudel + + ## 1.5.0 + + * Deprecate background helper - too many badly behaved pseudo-daemons. Lee Hambley + * Don't colourize unless $stdout is a tty. Lee Hambley + * Remove out of date Known Issues section from README. Lee Hambley + * Dealy variable interpolation inside `as()` block. Nick Townsend + * Fixes for functional tests under modern Vagrant. Lewis Marshal + * Fixes for connection pooling. Chris Heald + * Add `localhost` hostname to local backend. Adam Mckaig + * Wrap execptions to include hostname. Brecht Hoflack + * Remove `shellwords` stdlib dependency Bruno Sutic + * Remove unused `cooldown` accessor. Bruno Sutic + * Replace Term::ANSIColor with a lighter solution. Tom Clements + * Documentation fixes. Matt Brictson + +--- Old: sshkit-1.4.0.gem New: sshkit-1.6.1.gem Other differences: -- ++ rubygem-sshkit.spec ++ --- /var/tmp/diff_new_pack.B7MMRL/_old 2015-02-16 21:12:57.0 +0100 +++ /var/tmp/diff_new_pack.B7MMRL/_new 2015-02-16 21:12:57.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package rubygem-sshkit # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,8 +16,15 @@ # +# +# 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-sshkit -Version:1.4.0 +Version:1.6.1 Release:0 %define mod_name sshkit %define mod_full_name %{mod_name}-%{version} ++ sshkit-1.4.0.gem - sshkit-1.6.1.gem ++ 1624 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit rubygem-sshkit for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-sshkit for openSUSE:Factory checked in at 2014-10-14 13:25:07 Comparing /work/SRC/openSUSE:Factory/rubygem-sshkit (Old) and /work/SRC/openSUSE:Factory/.rubygem-sshkit.new (New) Package is rubygem-sshkit Changes: --- /work/SRC/openSUSE:Factory/rubygem-sshkit/rubygem-sshkit.changes 2014-05-22 06:58:00.0 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-sshkit.new/rubygem-sshkit.changes 2014-10-14 13:25:27.0 +0200 @@ -1,0 +2,5 @@ +Mon Oct 13 18:47:43 UTC 2014 - co...@suse.com + +- adapt to new rubygem packaging + +--- New: gem2rpm.yml Other differences: -- ++ rubygem-sshkit.spec ++ --- /var/tmp/diff_new_pack.cXt74W/_old 2014-10-14 13:25:28.0 +0200 +++ /var/tmp/diff_new_pack.cXt74W/_new 2014-10-14 13:25:28.0 +0200 @@ -21,11 +21,13 @@ Release:0 %define mod_name sshkit %define mod_full_name %{mod_name}-%{version} - BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: ruby-macros = 3 +BuildRequires: %{rubygem gem2rpm} +BuildRequires: %{ruby} +BuildRequires: ruby-macros = 5 Url:http://github.com/capistrano/sshkit Source: http://rubygems.org/gems/%{mod_full_name}.gem +Source1:gem2rpm.yml Summary:SSHKit makes it easy to write structured, testable SSH commands in License:GPL-3.0 Group: Development/Languages/Ruby @@ -34,51 +36,15 @@ A comprehensive toolkit for remotely running commands in a structured manner on groups of servers. -%package doc -Summary:RDoc documentation for %{mod_name} -Group: Development/Languages/Ruby -Requires: %{name} = %{version} - -%description doc -Documentation generated at gem installation time. -Usually in RDoc and RI formats. - -%package testsuite -Summary:Test suite for %{mod_name} -Group: Development/Languages/Ruby -Requires: %{name} = %{version} - -%description testsuite -Test::Unit or RSpec files, useful for developers. - %prep -#gem_unpack -#if you need patches, apply them here and replace the # with a % sign in the surrounding lines -#gem_build %build %install -%gem_install -f -mkdir -p %{buildroot}%{_docdir}/%{name} -ln -s %{gem_base}/gems/%{mod_full_name}/CHANGELOG.md %buildroot/%{_docdir}/%{name}/CHANGELOG.md -ln -s %{gem_base}/gems/%{mod_full_name}/LICENSE.md %buildroot/%{_docdir}/%{name}/LICENSE.md -ln -s %{gem_base}/gems/%{mod_full_name}/README.md %buildroot/%{_docdir}/%{name}/README.md - -%files -%defattr(-,root,root,-) -%{_docdir}/%{name} -%{gem_base}/cache/%{mod_full_name}.gem -%{gem_base}/gems/%{mod_full_name}/ -%exclude %{gem_base}/gems/%{mod_full_name}/test -%{gem_base}/specifications/%{mod_full_name}.gemspec - -%files doc -%defattr(-,root,root,-) -%doc %{gem_base}/doc - -%files testsuite -%defattr(-,root,root,-) -%{gem_base}/gems/%{mod_full_name}/test +%gem_install \ + --doc-files=CHANGELOG.md LICENSE.md README.md \ + -f + +%gem_packages %changelog ++ gem2rpm.yml ++ # --- # ## used by gem2rpm # :summary: this is a custom summary # ## used by gem2rpm # :description: |- # this is a custom description # # it can be multiline # ## used by gem2rpm # :license: MIT or Ruby # ## used by gem2rpm and gem_packages # :version_suffix: -x_y # ## used by gem2rpm and gem_packages # :disable_docs: true # ## used by gem2rpm # :disable_automatic_rdoc_dep: true # ## used by gem2rpm # :preamble: |- # BuildRequires: foobar # Requires: foobar # ## used by gem2rpm # :patches: # foo.patch: -p1 # bar.patch: # ## used by gem2rpm :sources: # - foo.desktop # - bar.desktop # :gem_install_args: '' # ## used by gem2rpm # :pre_install: |- # %if 0%{?use_system_libev} # 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 # ## used by gem2rpm # :testsuite_command: |- # (pushd %{buildroot}%{gem_base}/gems/%{mod_full_name} rake test) # ## used by gem2rpm # :filelist: |- # /usr/bin/gem2rpm-opensuse # ## used by gem2rpm # :scripts: # :post: |- # /bin/echo foo # ## used by gem_packages # :main: # :preamble: |- # Requires: util-linux # Recommends: pwgen # :filelist: |- # /usr/bin/gem2rpm-opensuse # ## used by gem_packages # :custom: # apache: # :preamble: |- # Requires: . # :filelist: |- # /etc/apache2/conf.d/passenger.conf # :summary: Custom summary is optional # :description: |- # Custom description is optional # # bar # :post: |- # /bin/echo foo # -- To
commit rubygem-sshkit for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-sshkit for openSUSE:Factory checked in at 2014-05-22 06:57:59 Comparing /work/SRC/openSUSE:Factory/rubygem-sshkit (Old) and /work/SRC/openSUSE:Factory/.rubygem-sshkit.new (New) Package is rubygem-sshkit Changes: --- /work/SRC/openSUSE:Factory/rubygem-sshkit/rubygem-sshkit.changes 2013-12-23 22:21:01.0 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-sshkit.new/rubygem-sshkit.changes 2014-05-22 06:58:00.0 +0200 @@ -1,0 +2,12 @@ +Sun May 18 09:04:45 UTC 2014 - co...@suse.com + +- updated to version 1.4.0 + * Removed `invoke` alias for [`SSHKit::Backend::Printer.execute`](https://github.com/capistrano/sshkit/blob/master/lib/sshkit/backends/printer.rb#L20). This is to prevent collisions with + methods in capistrano with similar names, and to provide a cleaner API. See [capistrano issue 912](https://github.com/capistrano/capistrano/issues/912) and [issue 107](https://github.com/capistrano/sshkit/issues/107) for more details. + * Connection pooling now uses a thread local to store connection pool, giving each thread its own connection pool. Thank you @mcbriston see [#101](https://github.com/capistrano/sshkit/pull/101) for more. + * Command map indifferent towards strings and symbols thanks to @thomasfedb see [#91](https://github.com/capistrano/sshkit/pull/91) + * Moved vagrant wrapper to `support` directory, added ability to run tests with vagrant using ssh. @miry see [#64](https://github.com/capistrano/sshkit/pull/64) + * Removed unnecessary require `require_relative '../sshkit'` in `lib/sshkit/dsl.rb` prevents warnings thanks @brabic. + * Doc fixes thanks @seanhandley @vojto + +--- Old: sshkit-1.3.0.gem New: sshkit-1.4.0.gem Other differences: -- ++ rubygem-sshkit.spec ++ --- /var/tmp/diff_new_pack.wB0ajO/_old 2014-05-22 06:58:01.0 +0200 +++ /var/tmp/diff_new_pack.wB0ajO/_new 2014-05-22 06:58:01.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package rubygem-sshkit # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,13 +17,13 @@ Name: rubygem-sshkit -Version:1.3.0 +Version:1.4.0 Release:0 %define mod_name sshkit %define mod_full_name %{mod_name}-%{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: ruby-macros = 1 +BuildRequires: ruby-macros = 3 Url:http://github.com/capistrano/sshkit Source: http://rubygems.org/gems/%{mod_full_name}.gem Summary:SSHKit makes it easy to write structured, testable SSH commands in @@ -61,24 +61,24 @@ %install %gem_install -f mkdir -p %{buildroot}%{_docdir}/%{name} -ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/CHANGELOG.md %buildroot/%{_docdir}/%{name}/CHANGELOG.md -ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/LICENSE.md %buildroot/%{_docdir}/%{name}/LICENSE.md -ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/README.md %buildroot/%{_docdir}/%{name}/README.md +ln -s %{gem_base}/gems/%{mod_full_name}/CHANGELOG.md %buildroot/%{_docdir}/%{name}/CHANGELOG.md +ln -s %{gem_base}/gems/%{mod_full_name}/LICENSE.md %buildroot/%{_docdir}/%{name}/LICENSE.md +ln -s %{gem_base}/gems/%{mod_full_name}/README.md %buildroot/%{_docdir}/%{name}/README.md %files %defattr(-,root,root,-) %{_docdir}/%{name} -%{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_full_name}.gem -%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/ -%exclude %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/test -%{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_full_name}.gemspec +%{gem_base}/cache/%{mod_full_name}.gem +%{gem_base}/gems/%{mod_full_name}/ +%exclude %{gem_base}/gems/%{mod_full_name}/test +%{gem_base}/specifications/%{mod_full_name}.gemspec %files doc %defattr(-,root,root,-) -%doc %{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_full_name}/ +%doc %{gem_base}/doc %files testsuite %defattr(-,root,root,-) -%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/test +%{gem_base}/gems/%{mod_full_name}/test %changelog -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit rubygem-sshkit for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-sshkit for openSUSE:Factory checked in at 2013-12-23 22:21:00 Comparing /work/SRC/openSUSE:Factory/rubygem-sshkit (Old) and /work/SRC/openSUSE:Factory/.rubygem-sshkit.new (New) Package is rubygem-sshkit Changes: --- /work/SRC/openSUSE:Factory/rubygem-sshkit/rubygem-sshkit.changes 2013-11-25 16:04:06.0 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-sshkit.new/rubygem-sshkit.changes 2013-12-23 22:21:01.0 +0100 @@ -1,0 +2,12 @@ +Fri Dec 20 12:02:56 UTC 2013 - co...@suse.com + +- updated to version 1.3.0 + * Connection pooling. SSH connections are reused across multiple invocations +of `on()`, which can result in significant performance gains. See: +https://github.com/capistrano/sshkit/pull/70. Matt @mbrictson Brictson. + * Fixes to the Formatter::Dot and to the formatter class name resolver. @hab287:w + * Added the license to the Gemspec. @anatol. + * Fix :limit handling for the `in: :groups` run mode. Phil @phs Smith + * Doc fixes @seanhandley, @sergey-alekseev. + +--- Old: sshkit-1.2.0.gem New: sshkit-1.3.0.gem Other differences: -- ++ rubygem-sshkit.spec ++ --- /var/tmp/diff_new_pack.UtG574/_old 2013-12-23 22:21:02.0 +0100 +++ /var/tmp/diff_new_pack.UtG574/_new 2013-12-23 22:21:02.0 +0100 @@ -17,14 +17,14 @@ Name: rubygem-sshkit -Version:1.2.0 +Version:1.3.0 Release:0 %define mod_name sshkit %define mod_full_name %{mod_name}-%{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: ruby-macros = 1 -Url:http://wacku.github.com/sshkit +Url:http://github.com/capistrano/sshkit Source: http://rubygems.org/gems/%{mod_full_name}.gem Summary:SSHKit makes it easy to write structured, testable SSH commands in License:GPL-3.0 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit rubygem-sshkit for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-sshkit for openSUSE:Factory checked in at 2013-11-25 16:04:05 Comparing /work/SRC/openSUSE:Factory/rubygem-sshkit (Old) and /work/SRC/openSUSE:Factory/.rubygem-sshkit.new (New) Package is rubygem-sshkit Changes: --- /work/SRC/openSUSE:Factory/rubygem-sshkit/rubygem-sshkit.changes 2013-10-31 15:59:42.0 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-sshkit.new/rubygem-sshkit.changes 2013-11-25 16:04:06.0 +0100 @@ -1,0 +2,27 @@ +Sat Nov 23 09:22:44 UTC 2013 - co...@suse.com + +- updated to version 1.2.0 + * Support picking up a project local SSH config file, if a SSH config file +exists at ./.ssh/config it will be merged with the ~/.ssh/config. This is +ideal for defining project-local proxies/gateways, etc. Thanks to Alex +@0rca Vzorov. + * Tests and general improvements to the Printer backends (mostly used +internally). Thanks to Michael @miry Nikitochkin. + * Update the net-scp dependency version. Thanks again to Michael @miry +Nikitochkin. + * Improved command map. This feature allows mapped variables to be pushed +and unshifted onto the mapping so that the Capistrano extensions for +rbenv and bundler, etc can work together. For discussion about the reasoning +see https://github.com/capistrano/capistrano/issues/639 and +https://github.com/capistrano/sshkit/pull/45. A big thanks to Kir @kirs +Shatrov. + * `test()` and `capture()` now behave as expected inside a `run_locally` block +meaning that they now run on your local machine, rather than erring out. Thanks +to Kentaro @kentaroi Imai. + * The `:wait` option is now successfully passed to the runner now. Previously the +`:wait` option was ignored. Thanks to Jordan @jhollinger Hollinger for catching +the mistake in our test coverage. + * Fixes and general improvements to the `download()` method which until now was +quite naïve. Thanks to @chqr. + +--- Old: sshkit-1.1.0.gem New: sshkit-1.2.0.gem Other differences: -- ++ rubygem-sshkit.spec ++ --- /var/tmp/diff_new_pack.7QeVSY/_old 2013-11-25 16:04:08.0 +0100 +++ /var/tmp/diff_new_pack.7QeVSY/_new 2013-11-25 16:04:08.0 +0100 @@ -17,7 +17,7 @@ Name: rubygem-sshkit -Version:1.1.0 +Version:1.2.0 Release:0 %define mod_name sshkit %define mod_full_name %{mod_name}-%{version} -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit rubygem-sshkit for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-sshkit for openSUSE:Factory checked in at 2013-10-31 15:59:41 Comparing /work/SRC/openSUSE:Factory/rubygem-sshkit (Old) and /work/SRC/openSUSE:Factory/.rubygem-sshkit.new (New) Package is rubygem-sshkit Changes: --- /work/SRC/openSUSE:Factory/rubygem-sshkit/rubygem-sshkit.changes 2013-10-14 13:06:48.0 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-sshkit.new/rubygem-sshkit.changes 2013-10-31 15:59:42.0 +0100 @@ -1,0 +2,14 @@ +Sun Oct 20 12:05:40 UTC 2013 - co...@suse.com + +- updated to version 1.1.0 + * The output now reads Command exited with status _, rather than command + failed, or command succeded, the semantics are the same, but people + were confused by failure, when things were running correctly. + + * Small fix to the printer backend for tests, casting command to a string + explicitly. + + * The gem now supports a run_locally, although it's nothing to do with SSH, + it makes a nice API. There are examples in the EXAMPLES.md. + +--- Old: sshkit-1.0.0.gem New: sshkit-1.1.0.gem Other differences: -- ++ rubygem-sshkit.spec ++ --- /var/tmp/diff_new_pack.prk1ZF/_old 2013-10-31 15:59:43.0 +0100 +++ /var/tmp/diff_new_pack.prk1ZF/_new 2013-10-31 15:59:43.0 +0100 @@ -17,7 +17,7 @@ Name: rubygem-sshkit -Version:1.0.0 +Version:1.1.0 Release:0 %define mod_name sshkit %define mod_full_name %{mod_name}-%{version} -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org