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.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-sshkit.new/rubygem-sshkit.changes       
2016-08-25 09:55:08.000000000 +0200
@@ -1,0 +2,13 @@
+Sat Jul 30 04:33:44 UTC 2016 - [email protected]
+
+- 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.000000000 +0200
+++ /var/tmp/diff_new_pack.6Mi7MT/_new  2016-08-25 09:55:09.000000000 +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.md    2016-06-17 20:19:54.000000000 +0200
+++ new/CHANGELOG.md    2016-07-30 02:57:10.000000000 +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.000000000 +0200
+++ new/README.md       2016-07-30 02:57:10.000000000 +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 -<user> whoami` wrapped in a 
check for
+exists; for `as()` a simple call to `sudo -u <user> -- sh -c <command>'` 
wrapped in a check for
 success, raising an error if unsuccessful.
 
 The directory check is implemented like this:
 
     if test ! -d <directory>; 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 <user> -c whoami > /dev/null; then echo "Can't switch user" 
2>&1; false; fi
+    if ! sudo -u <user> 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.000000000 +0200
+++ new/lib/sshkit/host.rb      2016-07-30 02:57:10.000000000 +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.000000000 +0200
+++ new/lib/sshkit/version.rb   2016-07-30 02:57:10.000000000 +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/metadata        2016-06-17 20:19:54.000000000 +0200
+++ new/metadata        2016-07-30 02:57:10.000000000 +0200
@@ -1,7 +1,7 @@
 --- !ruby/object:Gem::Specification
 name: sshkit
 version: !ruby/object:Gem::Version
-  version: 1.11.1
+  version: 1.11.2
 platform: ruby
 authors:
 - Lee Hambley
@@ -9,7 +9,7 @@
 autorequire: 
 bindir: bin
 cert_chain: []
-date: 2016-06-17 00:00:00.000000000 Z
+date: 2016-07-30 00:00:00.000000000 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: net-ssh
@@ -218,7 +218,7 @@
       version: '0'
 requirements: []
 rubyforge_project: 
-rubygems_version: 2.6.4
+rubygems_version: 2.6.6
 signing_key: 
 specification_version: 4
 summary: SSHKit makes it easy to write structured, testable SSH commands in 
Ruby


Reply via email to