17
0

Accepting request 767587 from home:dancermak:branches:devel:languages:ruby:extensions

New upstream release 2.1.0

OBS-URL: https://build.opensuse.org/request/show/767587
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-rubyzip?expand=0&rev=33
This commit is contained in:
2020-01-27 10:09:10 +00:00
committed by Git OBS Bridge
parent d2ffb35de5
commit c647cd4b37
5 changed files with 49 additions and 15 deletions

View File

@@ -1,3 +1,38 @@
-------------------------------------------------------------------
Mon Jan 27 08:28:47 UTC 2020 - Dan Čermák <dcermak@suse.com>
- New upstream release 2.1.0
- Fix (at least partially) the `restore_times` and `restore_permissions`
options to `Zip::File.new`
[#413](https://github.com/rubyzip/rubyzip/pull/413)
- Previously, neither option did anything, regardless of what it was set
to. We have therefore defaulted them to `false` to preserve the current
behavior, for the time being. If you have explicitly set either to
`true`, it will now have an effect.
- Fix handling of UniversalTime (`mtime`, `atime`, `ctime`)
fields. [#421](https://github.com/rubyzip/rubyzip/pull/421)
- Previously, `Zip::File` did not pass the options to `Zip::Entry` in some
cases. [#423](https://github.com/rubyzip/rubyzip/pull/423)
- Note that `restore_times` in this release does nothing on Windows and
only restores `mtime`, not `atime` or `ctime`.
- Allow `Zip::File.open` to take an options hash like `Zip::File.new`
[#418](https://github.com/rubyzip/rubyzip/pull/418)
- Always print warnings with `warn`, instead of a mix of `puts` and `warn`
[#416](https://github.com/rubyzip/rubyzip/pull/416)
- Create temporary files in the system temporary directory instead of the
directory of the zip file
[#411](https://github.com/rubyzip/rubyzip/pull/411)
- Drop unused `tmpdir` requirement
[#411](https://github.com/rubyzip/rubyzip/pull/411)
Tooling
- Move CI to xenial and include jruby on JDK11
[#419](https://github.com/rubyzip/rubyzip/pull/419/files)
- Add rubygem-rubyzip.rpmlintrc
-------------------------------------------------------------------
Tue Nov 12 14:30:23 UTC 2019 - Manuel Schnitzer <mschnitzer@suse.com>

View File

@@ -0,0 +1 @@
addFilter("summary-not-capitalized.*")

View File

@@ -1,7 +1,7 @@
#
# spec file for package rubygem-rubyzip
#
# Copyright (c) 2019 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
@@ -16,28 +16,26 @@
#
%define mod_name rubyzip
%define mod_full_name %{mod_name}-%{version}
#
# This file was generated with a gem2rpm.yml and not just plain gem2rpm.
# All sections marked as MANUAL, license headers, summaries and descriptions
# can be maintained in that file. Please consult this file before editing any
# of those fields
#
Name: rubygem-rubyzip
Version: 2.0.0
Version: 2.1.0
Release: 0
%define mod_name rubyzip
%define mod_full_name %{mod_name}-%{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: %{ruby >= 2.4}
BuildRequires: %{rubygem gem2rpm}
BuildRequires: ruby-macros >= 5
Url: http://github.com/rubyzip/rubyzip
Source: https://rubygems.org/gems/%{mod_full_name}.gem
Source1: gem2rpm.yml
Summary: rubyzip is a ruby module for reading and writing zip files
License: BSD-2-Clause
Group: Development/Languages/Ruby
URL: https://github.com/rubyzip/rubyzip
Source: https://rubygems.org/gems/%{mod_full_name}.gem
Source1: gem2rpm.yml
BuildRequires: %{ruby >= 2.4}
BuildRequires: %{rubygem gem2rpm}
BuildRequires: ruby-macros >= 5
%description
rubyzip is a ruby module for reading and writing zip files.

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ff11f68bc936504ee73ad39bf8880b656ec70593de18b7cc3ab90b7541cce0bf
size 38912

3
rubyzip-2.1.0.gem Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8e96d45ad7c2b441520eec05ebaecbf745c1e802750b0ff4ff92e068707e31ac
size 39424