./security/ruby-sshkit, Makes it easy to write structured, testable SSH commands

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.18.0, Package name: ruby24-sshkit-1.18.0, Maintainer: pkgsrc-users

A comprehensive toolkit for remotely running commands in a structured
manner on groups of servers.


Required to run:
[security/ruby-net-ssh] [security/ruby-net-scp] [lang/ruby24-base]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: eb17f097a1c8273ff7ad22674c6817c3efbd4e51
RMD160: ee4f4c6e4400890e09a63f4c72c35518b2379dc6
Filesize: 146.5 KB

Version history: (Expand)


CVS history: (Expand)


   2018-12-17 16:08:35 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
security/ruby-sshkit: update to 1.18.0

## [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)

## [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).
   2018-09-23 18:13:49 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
security/ruby-sshkit: update to 1.17.0

## [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).
   2018-03-14 16:33:33 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
security/ruby-sshkit: update to 1.16.0

## [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.
   2017-09-10 17:36:13 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
Update ruby-sshkit to 1.14.0.

1.14.0 (2017-06-30)

Breaking changes

* None

New features

* #401: Add :log_percent option to specify upload!/download! transfer log
  percentage - @aubergene
   2017-07-31 00:32:28 by Thomas Klausner | Files touched by this commit (229)
Log message:
Switch github HOMEPAGEs to https.
   2017-04-22 18:43:35 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
Update ruby-sshkit to 1.13.1.

## [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

  * 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)
   2017-03-20 16:10:13 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
Update ruby-airbrussh to 1.12.0.

## [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

  * Do not prefix `exec` command
    [PR #378](https://github.com/capistrano/sshkit/pull/378) @dreyks

## [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
   2016-10-17 17:45:26 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
Update ruby-sshkit to 1.11.3.

## [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

  * 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

  * 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

  * 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/tr … ts-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,
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