Hello community,
here is the log from the commit of package rubygem-rest-client for
openSUSE:Factory checked in at 2020-03-24 22:34:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-rest-client (Old)
and /work/SRC/openSUSE:Factory/.rubygem-rest-client.new.3160 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-rest-client"
Tue Mar 24 22:34:35 2020 rev:11 rq:787515 version:2.1.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-rest-client/rubygem-rest-client.changes
2017-06-08 15:01:08.638766206 +0200
+++
/work/SRC/openSUSE:Factory/.rubygem-rest-client.new.3160/rubygem-rest-client.changes
2020-03-24 22:34:38.393156404 +0100
@@ -1,0 +2,43 @@
+Mon Feb 10 15:36:04 UTC 2020 - Stephan Kulow <[email protected]>
+
+- updated to version 2.1.0
+ see installed history.md
+
+ # 2.1.0
+
+ - Add a dependency on http-accept for parsing Content-Type charset headers.
+ This works around a bad memory leak introduced in MRI Ruby 2.4.0 and fixed
in
+ Ruby 2.4.2. (#615)
+ - Use mime/types/columnar from mime-types 2.6.1+, which is leaner in memory
+ usage than the older storage model of mime-types. (#393)
+ - Add `:log` option to individual requests. This allows users to set a log
on a
+ per-request / per-resource basis instead of the kludgy global log. (#538)
+ - Log request duration by tracking request start and end times. Make
+ `log_response` a method on the Response object, and ensure the `size`
method
+ works on RawResponse objects. (#126)
+ - `# => 200 OK | text/html 1270 bytes, 0.08s`
+ - Also add a new `:stream_log_percent` parameter, which is applicable only
+ when `:raw_response => true` is set. This causes progress logs to be
+ emitted only on every N% (default 10%) of the total download size rather
+ than on every chunk.
+ - Drop custom handling of compression and use built-in Net::HTTP support for
+ supported Content-Encodings like gzip and deflate. Don't set any explicit
+ `Accept-Encoding` header, rely instead on Net::HTTP defaults. (#597)
+ - Note: this changes behavior for compressed responses when using
+ `:raw_response => true`. Previously the raw response would not have been
+ uncompressed by rest-client, but now Net::HTTP will uncompress it.
+ - The previous fix to avoid having Netrc username/password override an
+ Authorization header was case-sensitive and incomplete. Fix this by
+ respecting existing Authorization headers, regardless of letter case.
(#550)
+ - Handle ParamsArray payloads. Previously, rest-client would silently drop a
+ ParamsArray passed as the payload. Instead, automatically use
+ Payload::Multipart if the ParamsArray contains a file handle, or use
+ Payload::UrlEncoded if it doesn't. (#508)
+ - Gracefully handle Payload objects (Payload::Base or subclasses) that are
+ passed as a payload argument. Previously, `Payload.generate` would wrap a
+ Payload object in Payload::Streamed, creating a pointlessly nested payload.
+ Also add a `closed?` method to Payload objects, and don't error in
+ `short_inspect` if `size` returns nil. (#603)
+ - Test with an image in the public domain to avoid licensing complexity.
(#607)
+
+-------------------------------------------------------------------
Old:
----
rest-client-2.0.2.gem
New:
----
rest-client-2.1.0.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-rest-client.spec ++++++
--- /var/tmp/diff_new_pack.4r88cJ/_old 2020-03-24 22:34:40.105157237 +0100
+++ /var/tmp/diff_new_pack.4r88cJ/_new 2020-03-24 22:34:40.109157239 +0100
@@ -1,7 +1,7 @@
#
# spec file for package rubygem-rest-client
#
-# Copyright (c) 2017 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
@@ -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-rest-client
-Version: 2.0.2
+Version: 2.1.0
Release: 0
%define mod_name rest-client
%define mod_full_name %{mod_name}-%{version}
@@ -33,8 +33,8 @@
BuildRequires: %{rubygem gem2rpm}
BuildRequires: ruby-macros >= 5
BuildRequires: update-alternatives
-Url: https://github.com/rest-client/rest-client
-Source: http://rubygems.org/gems/%{mod_full_name}.gem
+URL: https://github.com/rest-client/rest-client
+Source: https://rubygems.org/gems/%{mod_full_name}.gem
Source1: gem2rpm.yml
Summary: Simple HTTP and REST client for Ruby, inspired by
microframework
License: MIT
++++++ rest-client-2.0.2.gem -> rest-client-2.1.0.gem ++++++
++++ 2666 lines of diff (skipped)