Hello community,

here is the log from the commit of package rubygem-airbrussh for 
openSUSE:Factory checked in at 2019-07-22 12:20:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-airbrussh (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-airbrussh.new.4126 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-airbrussh"

Mon Jul 22 12:20:27 2019 rev:8 rq:717285 version:1.3.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-airbrussh/rubygem-airbrussh.changes      
2018-11-26 10:35:37.876653764 +0100
+++ 
/work/SRC/openSUSE:Factory/.rubygem-airbrussh.new.4126/rubygem-airbrussh.changes
    2019-07-22 12:20:28.571663017 +0200
@@ -1,0 +2,10 @@
+Fri Jul 19 08:53:19 UTC 2019 - Stephan Kulow <[email protected]>
+
+- updated to version 1.3.2
+ see installed CHANGELOG.md
+
+  ## [1.3.2][] (2019-06-15)
+  
+  * [#121](https://github.com/mattbrictson/airbrussh/pull/121): Gracefully 
handle SSH output that has invalid UTF-8 encoding instead of raising an 
exception - [@mattbrictson](https://github.com/mattbrictson)
+
+-------------------------------------------------------------------

Old:
----
  airbrussh-1.3.1.gem

New:
----
  airbrussh-1.3.2.gem

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ rubygem-airbrussh.spec ++++++
--- /var/tmp/diff_new_pack.17tB5J/_old  2019-07-22 12:20:29.243662840 +0200
+++ /var/tmp/diff_new_pack.17tB5J/_new  2019-07-22 12:20:29.243662840 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-airbrussh
 #
-# 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-airbrussh
-Version:        1.3.1
+Version:        1.3.2
 Release:        0
 %define mod_name airbrussh
 %define mod_full_name %{mod_name}-%{version}

++++++ airbrussh-1.3.1.gem -> airbrussh-1.3.2.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/.travis.yml new/.travis.yml
--- old/.travis.yml     2018-11-04 18:56:51.000000000 +0100
+++ new/.travis.yml     2019-06-15 20:42:32.000000000 +0200
@@ -5,10 +5,10 @@
   - 1.9
   - 2.0
   - 2.1
-  - 2.2.9
-  - 2.3.6
-  - 2.4.3
-  - 2.5.0
+  - 2.2.10
+  - 2.3.8
+  - 2.4.5
+  - 2.5.3
   - ruby-head
 env:
   - sshkit="master"
@@ -17,13 +17,13 @@
 matrix:
   exclude:
     # Older versions of SSHKit don't work with Ruby 2.4+, so skip those
-    - rvm: 2.4.3
+    - rvm: 2.4.5
       env: sshkit="= 1.7.1"
-    - rvm: 2.4.3
+    - rvm: 2.4.5
       env: sshkit="= 1.6.1"
-    - rvm: 2.5.0
+    - rvm: 2.5.3
       env: sshkit="= 1.7.1"
-    - rvm: 2.5.0
+    - rvm: 2.5.3
       env: sshkit="= 1.6.1"
     - rvm: ruby-head
       env: sshkit="= 1.7.1"
@@ -33,10 +33,13 @@
     - rvm: 1.9
       env: sshkit="master"
   include:
-    # Run Danger only once, on 2.4.3
-    - rvm: 2.4.3
+    # Run Danger only once, on 2.4.5
+    - rvm: 2.4.5
       script: bundle exec danger
 
 before_install:
-  - gem update --system
-  - gem install bundler --no-document
+  - gem update --system || echo "skipping rubygems upgrade"
+  - gem install bundler -v 1.17.3 --conservative --no-document
+  - gem install executable-hooks --conservative --no-document
+install:
+  - bundle _1.17.3_ install --jobs=3 --retry=3 
--path=${BUNDLE_PATH:-vendor/bundle} || bundle install --jobs=3 --retry=3 
--path=${BUNDLE_PATH:-vendor/bundle}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md    2018-11-04 18:56:51.000000000 +0100
+++ new/CHANGELOG.md    2019-06-15 20:42:32.000000000 +0200
@@ -6,6 +6,10 @@
 
 * Your contribution here!
 
+## [1.3.2][] (2019-06-15)
+
+* [#121](https://github.com/mattbrictson/airbrussh/pull/121): Gracefully 
handle SSH output that has invalid UTF-8 encoding instead of raising an 
exception - [@mattbrictson](https://github.com/mattbrictson)
+
 ## [1.3.1][] (2018-11-04)
 
 * Packaging changes to reduce gem size
@@ -141,7 +145,8 @@
 * Initial release
 
 [Semver]: http://semver.org
-[Unreleased]: https://github.com/mattbrictson/airbrussh/compare/v1.3.1...HEAD
+[Unreleased]: https://github.com/mattbrictson/airbrussh/compare/v1.3.2...HEAD
+[1.3.2]: https://github.com/mattbrictson/airbrussh/compare/v1.3.1...v1.3.2
 [1.3.1]: https://github.com/mattbrictson/airbrussh/compare/v1.3.0...v1.3.1
 [1.3.0]: https://github.com/mattbrictson/airbrussh/compare/v1.2.0...v1.3.0
 [1.2.0]: https://github.com/mattbrictson/airbrussh/compare/v1.1.2...v1.2.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/LICENSE.txt new/LICENSE.txt
--- old/LICENSE.txt     2018-11-04 18:56:51.000000000 +0100
+++ new/LICENSE.txt     2019-06-15 20:42:32.000000000 +0200
@@ -1,6 +1,6 @@
 The MIT License (MIT)
 
-Copyright (c) 2018 Matt Brictson
+Copyright (c) 2019 Matt Brictson
 
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to deal
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/airbrussh.gemspec new/airbrussh.gemspec
--- old/airbrussh.gemspec       2018-11-04 18:56:52.000000000 +0100
+++ new/airbrussh.gemspec       2019-06-15 20:42:32.000000000 +0200
@@ -23,7 +23,7 @@
 
   spec.add_dependency "sshkit", [">= 1.6.1", "!= 1.7.0"]
 
-  spec.add_development_dependency "bundler", "~> 1.10"
+  spec.add_development_dependency "bundler", "~> 1.17"
   spec.add_development_dependency "rake", "~> 12.0"
   spec.add_development_dependency "minitest", "~> 5.10"
   spec.add_development_dependency "minitest-reporters", "~> 1.1"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/appveyor.yml new/appveyor.yml
--- old/appveyor.yml    2018-11-04 18:56:52.000000000 +0100
+++ new/appveyor.yml    2019-06-15 20:42:32.000000000 +0200
@@ -9,7 +9,8 @@
 
 install:
   - SET PATH=C:\Ruby%ruby_version%\bin;%PATH%
-  - gem install bundler --no-document --force
+  - gem uninstall bundler --all --executables
+  - gem install bundler --no-document -v "~>1.17"
   - bundle install --retry=3
 
 test_script:
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/airbrussh/console.rb new/lib/airbrussh/console.rb
--- old/lib/airbrussh/console.rb        2018-11-04 18:56:52.000000000 +0100
+++ new/lib/airbrussh/console.rb        2019-06-15 20:42:32.000000000 +0200
@@ -53,7 +53,10 @@
     end
 
     def strip_ascii_color(string)
-      (string || "").gsub(/\033\[[0-9;]*m/, "")
+      string ||= ""
+      string = to_utf8(string) unless string.valid_encoding?
+
+      string.gsub(/\033\[[0-9;]*m/, "")
     end
 
     def console_width
@@ -85,5 +88,10 @@
     rescue Encoding::UndefinedConversionError
       false
     end
+
+    def to_utf8(string)
+      string.force_encoding("ASCII-8BIT")
+            .encode("UTF-8", :invalid => :replace, :undef => :replace)
+    end
   end
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/airbrussh/version.rb new/lib/airbrussh/version.rb
--- old/lib/airbrussh/version.rb        2018-11-04 18:56:52.000000000 +0100
+++ new/lib/airbrussh/version.rb        2019-06-15 20:42:32.000000000 +0200
@@ -1,5 +1,5 @@
 # frozen_string_literal: true
 
 module Airbrussh
-  VERSION = "1.3.1".freeze
+  VERSION = "1.3.2".freeze
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2018-11-04 18:56:51.000000000 +0100
+++ new/metadata        2019-06-15 20:42:32.000000000 +0200
@@ -1,14 +1,14 @@
 --- !ruby/object:Gem::Specification
 name: airbrussh
 version: !ruby/object:Gem::Version
-  version: 1.3.1
+  version: 1.3.2
 platform: ruby
 authors:
 - Matt Brictson
 autorequire: 
 bindir: exe
 cert_chain: []
-date: 2018-11-04 00:00:00.000000000 Z
+date: 2019-06-15 00:00:00.000000000 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: sshkit
@@ -36,14 +36,14 @@
     requirements:
     - - "~>"
       - !ruby/object:Gem::Version
-        version: '1.10'
+        version: '1.17'
   type: :development
   prerelease: false
   version_requirements: !ruby/object:Gem::Requirement
     requirements:
     - - "~>"
       - !ruby/object:Gem::Version
-        version: '1.10'
+        version: '1.17'
 - !ruby/object:Gem::Dependency
   name: rake
   requirement: !ruby/object:Gem::Requirement
@@ -160,8 +160,7 @@
     - !ruby/object:Gem::Version
       version: '0'
 requirements: []
-rubyforge_project: 
-rubygems_version: 2.7.8
+rubygems_version: 3.0.3
 signing_key: 
 specification_version: 4
 summary: Airbrussh pretties up your SSHKit and Capistrano output


Reply via email to