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.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-sshkit.new/rubygem-sshkit.changes       
2016-07-21 07:58:38.000000000 +0200
@@ -1,0 +2,14 @@
+Wed Jun 29 04:33:48 UTC 2016 - [email protected]
+
+- 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.000000000 +0200
+++ /var/tmp/diff_new_pack.ns1ing/_new  2016-07-21 07:58:39.000000000 +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.md    2016-06-14 21:43:07.000000000 +0200
+++ new/CHANGELOG.md    2016-06-17 20:19:54.000000000 +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.000000000 +0200
+++ new/README.md       2016-06-17 20:19:54.000000000 +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.000000000 +0200
+++ new/lib/sshkit/backends/netssh.rb   2016-06-17 20:19:54.000000000 +0200
@@ -33,8 +33,14 @@
 
         private
 
-        def default_options
-          @default_options ||= {known_hosts: 
SSHKit::Backend::Netssh::KnownHosts.new}
+        if Net::SSH::VALID_OPTIONS.include?(:known_hosts)
+          def default_options
+            @default_options ||= {known_hosts: 
SSHKit::Backend::Netssh::KnownHosts.new}
+          end
+        else
+          def default_options
+            @default_options ||= {}
+          end
         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   2016-06-14 21:43:07.000000000 +0200
+++ new/lib/sshkit/version.rb   2016-06-17 20:19:54.000000000 +0200
@@ -1,3 +1,3 @@
 module SSHKit
-  VERSION = "1.11.0".freeze
+  VERSION = "1.11.1".freeze
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2016-06-14 21:43:07.000000000 +0200
+++ new/metadata        2016-06-17 20:19:54.000000000 +0200
@@ -1,7 +1,7 @@
 --- !ruby/object:Gem::Specification
 name: sshkit
 version: !ruby/object:Gem::Version
-  version: 1.11.0
+  version: 1.11.1
 platform: ruby
 authors:
 - Lee Hambley
@@ -9,7 +9,7 @@
 autorequire: 
 bindir: bin
 cert_chain: []
-date: 2016-06-14 00:00:00.000000000 Z
+date: 2016-06-17 00:00:00.000000000 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: net-ssh


Reply via email to