From e078c4c6cab6397d3f28ea30dfd05213d62f134fb927e545612e1a3916966e67 Mon Sep 17 00:00:00 2001 From: Manuel Schnitzer Date: Tue, 12 Nov 2019 14:37:40 +0000 Subject: [PATCH] Accepting request 747718 from home:mschnitzer:ruby:extensions update OBS-URL: https://build.opensuse.org/request/show/747718 OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-rubyzip?expand=0&rev=31 --- rubygem-rubyzip.changes | 15 +++++++++++++++ rubygem-rubyzip.spec | 4 ++-- rubyzip-1.2.3.gem | 3 --- rubyzip-2.0.0.gem | 3 +++ 4 files changed, 20 insertions(+), 5 deletions(-) delete mode 100644 rubyzip-1.2.3.gem create mode 100644 rubyzip-2.0.0.gem diff --git a/rubygem-rubyzip.changes b/rubygem-rubyzip.changes index 64c1a5c..ba90fc0 100644 --- a/rubygem-rubyzip.changes +++ b/rubygem-rubyzip.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Tue Nov 12 14:30:23 UTC 2019 - Manuel Schnitzer + +- updated to version 2.0.0 + + Security + + * Default the `validate_entry_sizes` option to `true`, so that callers can trust an entry's reported size when using `extract` [#403](https://github.com/rubyzip/rubyzip/pull/403) + - This option defaulted to `false` in 1.3.0 for backward compatibility, but it now defaults to `true`. If you are using an older version of ruby and can't yet upgrade to 2.x, you can still use 1.3.0 and set the option to `true`. + + Tooling / Documentation + + * Remove test files from the gem to avoid problems with antivirus detections on the test files [#405](https://github.com/rubyzip/rubyzip/pull/405) / [#384](https://github.com/rubyzip/rubyzip/issues/384) + * Drop support for unsupported ruby versions [#406](https://github.com/rubyzip/rubyzip/pull/406) + ------------------------------------------------------------------- Mon Jul 8 07:53:40 UTC 2019 - Manuel Schnitzer diff --git a/rubygem-rubyzip.spec b/rubygem-rubyzip.spec index c376c43..4638060 100644 --- a/rubygem-rubyzip.spec +++ b/rubygem-rubyzip.spec @@ -24,12 +24,12 @@ # Name: rubygem-rubyzip -Version: 1.2.3 +Version: 2.0.0 Release: 0 %define mod_name rubyzip %define mod_full_name %{mod_name}-%{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: %{ruby >= 1.9.2} +BuildRequires: %{ruby >= 2.4} BuildRequires: %{rubygem gem2rpm} BuildRequires: ruby-macros >= 5 Url: http://github.com/rubyzip/rubyzip diff --git a/rubyzip-1.2.3.gem b/rubyzip-1.2.3.gem deleted file mode 100644 index 3832370..0000000 --- a/rubyzip-1.2.3.gem +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8cc27a19088a4ef44560c7fd930595be7ae220ebf0a26a9bc7fe0f4f91e02ff1 -size 152576 diff --git a/rubyzip-2.0.0.gem b/rubyzip-2.0.0.gem new file mode 100644 index 0000000..776026d --- /dev/null +++ b/rubyzip-2.0.0.gem @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ff11f68bc936504ee73ad39bf8880b656ec70593de18b7cc3ab90b7541cce0bf +size 38912