commit rubygem-rubyzip for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-rubyzip for openSUSE:Factory checked in at 2020-03-17 13:09:51 Comparing /work/SRC/openSUSE:Factory/rubygem-rubyzip (Old) and /work/SRC/openSUSE:Factory/.rubygem-rubyzip.new.3160 (New) Package is "rubygem-rubyzip" Tue Mar 17 13:09:51 2020 rev:18 rq:785649 version:2.3.0 Changes: --- /work/SRC/openSUSE:Factory/rubygem-rubyzip/rubygem-rubyzip.changes 2020-02-28 15:21:54.785962970 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-rubyzip.new.3160/rubygem-rubyzip.changes 2020-03-17 13:09:59.097791578 +0100 @@ -1,0 +2,20 @@ +Mon Mar 16 12:06:26 UTC 2020 - Dan Čermák + +- New upstream release 2.3.0 + + * Fix frozen string literal error +[#431](https://github.com/rubyzip/rubyzip/pull/431) + * Set `OutputStream.write_buffer`'s buffer to binmode +[#439](https://github.com/rubyzip/rubyzip/pull/439) + * Upgrade rubocop and fix various linting complaints +[#437](https://github.com/rubyzip/rubyzip/pull/437) + * [#440](https://github.com/rubyzip/rubyzip/pull/440) + + Tooling: + + * Add a `bin/console` script for development +[#420](https://github.com/rubyzip/rubyzip/pull/420) + * Update rake requirement (development dependency only) to fix a security +alert. + +--- Old: rubyzip-2.2.0.gem New: rubyzip-2.3.0.gem Other differences: -- ++ rubygem-rubyzip.spec ++ --- /var/tmp/diff_new_pack.uxDguM/_old 2020-03-17 13:10:00.317792514 +0100 +++ /var/tmp/diff_new_pack.uxDguM/_new 2020-03-17 13:10:00.321792518 +0100 @@ -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.2.0 +Version:2.3.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: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. ++ rubyzip-2.2.0.gem -> rubyzip-2.3.0.gem ++ 2339 lines of diff (skipped)
commit rubygem-rubyzip for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-rubyzip for openSUSE:Factory checked in at 2020-02-28 15:21:53 Comparing /work/SRC/openSUSE:Factory/rubygem-rubyzip (Old) and /work/SRC/openSUSE:Factory/.rubygem-rubyzip.new.26092 (New) Package is "rubygem-rubyzip" Fri Feb 28 15:21:53 2020 rev:17 rq:780191 version:2.2.0 Changes: --- /work/SRC/openSUSE:Factory/rubygem-rubyzip/rubygem-rubyzip.changes 2019-11-13 13:25:58.199550331 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-rubyzip.new.26092/rubygem-rubyzip.changes 2020-02-28 15:21:54.785962970 +0100 @@ -1,0 +2,47 @@ +Fri Feb 28 09:21:54 UTC 2020 - Stephan Kulow + +- Fix rpmlint complains (removing rubygem-rubyzip.rpmlintrc) + +--- +Mon Feb 3 08:25:11 UTC 2020 - Dan Čermák + +- New upstream release 2.2.0 + + - Add support for decompression plugin gems #427 + +--- +Mon Jan 27 08:28:47 UTC 2020 - Dan Čermák + +- 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 + +--- Old: rubyzip-2.0.0.gem New: rubyzip-2.2.0.gem Other differences: -- ++ rubygem-rubyzip.spec ++ --- /var/tmp/diff_new_pack.SimrFa/_old 2020-02-28 15:21:56.689966846 +0100 +++ /var/tmp/diff_new_pack.SimrFa/_new 2020-02-28 15:21:56.689966846 +0100 @@ -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 @@ -24,7 +24,7 @@ # Name: rubygem-rubyzip -Version:2.0.0 +Version:2.2.0 Release:0 %define mod_name rubyzip %define mod_full_name %{mod_name}-%{version} @@ -32,10 +32,10 @@ BuildRequires: %{ruby >= 2.4} BuildRequires: %{rubygem gem2rpm} BuildRequires: ruby-macros >= 5 -Url:http://github.com/rubyzip/rubyzip +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 +Summary:Ruby module for reading and writing zip files License:BSD-2-Clause Group: Development/Languages/Ruby ++ gem2rpm.yml ++ --- /var/tmp/diff_new_pack.SimrFa/_old 2020-02-28 15:21:56.725966920 +0100 +++ /var/tmp/diff_new_pack.SimrFa/_new 2020-02-28 15:21:56.725966920 +0100 @@ -1,6 +1,5 @@ -# --- -# ## used by gem2rpm -# :summary: this is a custom summary +--- +:summary: Ruby module for reading and writing zip files # ## used by gem2rpm # :description: |- # this is a custom description ++ rubyzip-2.0.0.gem -> rubyzip-2.2.0.gem ++ Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/zip/constants.rb new/lib/zip/constants.rb --- old/lib/zip/constants.rb2019-09-25 22:37:53.0 +0200 +++ new/lib/zip/constants.rb
commit rubygem-rubyzip for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-rubyzip for openSUSE:Factory checked in at 2019-11-13 13:25:53 Comparing /work/SRC/openSUSE:Factory/rubygem-rubyzip (Old) and /work/SRC/openSUSE:Factory/.rubygem-rubyzip.new.2990 (New) Package is "rubygem-rubyzip" Wed Nov 13 13:25:53 2019 rev:16 rq:747726 version:2.0.0 Changes: --- /work/SRC/openSUSE:Factory/rubygem-rubyzip/rubygem-rubyzip.changes 2019-07-08 16:41:15.268979456 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-rubyzip.new.2990/rubygem-rubyzip.changes 2019-11-13 13:25:58.199550331 +0100 @@ -1,0 +2,15 @@ +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) + +--- Old: rubyzip-1.2.3.gem New: rubyzip-2.0.0.gem Other differences: -- ++ rubygem-rubyzip.spec ++ --- /var/tmp/diff_new_pack.cudDZL/_old 2019-11-13 13:25:59.379551560 +0100 +++ /var/tmp/diff_new_pack.cudDZL/_new 2019-11-13 13:25:59.383551564 +0100 @@ -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 ++ rubyzip-1.2.3.gem -> rubyzip-2.0.0.gem ++ 6545 lines of diff (skipped)
commit rubygem-rubyzip for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-rubyzip for openSUSE:Factory checked in at 2019-07-08 15:12:37 Comparing /work/SRC/openSUSE:Factory/rubygem-rubyzip (Old) and /work/SRC/openSUSE:Factory/.rubygem-rubyzip.new.4615 (New) Package is "rubygem-rubyzip" Mon Jul 8 15:12:37 2019 rev:15 rq:713997 version:1.2.3 Changes: --- /work/SRC/openSUSE:Factory/rubygem-rubyzip/rubygem-rubyzip.changes 2019-03-01 16:46:25.709821761 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-rubyzip.new.4615/rubygem-rubyzip.changes 2019-07-08 16:41:15.268979456 +0200 @@ -1,0 +2,17 @@ +Mon Jul 8 07:53:40 UTC 2019 - Manuel Schnitzer + +- updated to version 1.2.3 + + * Allow tilde in zip entry names [#391](https://github.com/rubyzip/rubyzip/pull/391) (fixes regression in 1.2.2 from [#376](https://github.com/rubyzip/rubyzip/pull/376)) + * Support frozen string literals in more files [#390](https://github.com/rubyzip/rubyzip/pull/390) + * Require `pathname` explicitly [#388](https://github.com/rubyzip/rubyzip/pull/388) (fixes regression in 1.2.2 from [#376](https://github.com/rubyzip/rubyzip/pull/376)) + + Tooling / Documentation: + + * CI updates [#392](https://github.com/rubyzip/rubyzip/pull/392), [#394](https://github.com/rubyzip/rubyzip/pull/394) +- Bump supported ruby versions and add 2.6 +- JRuby failures are no longer ignored (reverts [#375](https://github.com/rubyzip/rubyzip/pull/375) / part of [#371](https://github.com/rubyzip/rubyzip/pull/371)) + * Add changelog entry that was missing for last release [#387](https://github.com/rubyzip/rubyzip/pull/387) + * Comment cleanup [#385](https://github.com/rubyzip/rubyzip/pull/385) + +--- Old: rubyzip-1.2.2.gem New: rubyzip-1.2.3.gem Other differences: -- ++ rubygem-rubyzip.spec ++ --- /var/tmp/diff_new_pack.SipHRu/_old 2019-07-08 16:41:15.840980267 +0200 +++ /var/tmp/diff_new_pack.SipHRu/_new 2019-07-08 16:41:15.844980273 +0200 @@ -24,7 +24,7 @@ # Name: rubygem-rubyzip -Version:1.2.2 +Version:1.2.3 Release:0 %define mod_name rubyzip %define mod_full_name %{mod_name}-%{version} ++ rubyzip-1.2.2.gem -> rubyzip-1.2.3.gem ++ Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/zip/entry.rb new/lib/zip/entry.rb --- old/lib/zip/entry.rb2018-08-31 18:20:18.0 +0200 +++ new/lib/zip/entry.rb2019-05-23 19:58:25.0 +0200 @@ -1,3 +1,4 @@ +require 'pathname' module Zip class Entry STORED = 0 @@ -117,7 +118,7 @@ return false unless cleanpath.relative? root = ::File::SEPARATOR naive_expanded_path = ::File.join(root, cleanpath.to_s) - cleanpath.expand_path(root).to_s == naive_expanded_path + ::File.absolute_path(cleanpath.to_s, root) == naive_expanded_path end def local_entry_offset #:nodoc:all @@ -275,10 +276,10 @@ zip64 = @extra['Zip64'] [::Zip::LOCAL_ENTRY_SIGNATURE, @version_needed_to_extract, # version needed to extract - @gp_flags, # @gp_flags , + @gp_flags, # @gp_flags @compression_method, - @time.to_binary_dos_time, # @last_mod_time , - @time.to_binary_dos_date, # @last_mod_date , + @time.to_binary_dos_time, # @last_mod_time + @time.to_binary_dos_date, # @last_mod_date @crc, zip64 && zip64.compressed_size ? 0x : @compressed_size, zip64 && zip64.original_size ? 0x : @size, @@ -432,11 +433,11 @@ @header_signature, @version, # version of encoding software @fstype, # filesystem type -@version_needed_to_extract, # @versionNeededToExtract , -@gp_flags, # @gp_flags , +@version_needed_to_extract, # @versionNeededToExtract +@gp_flags, # @gp_flags @compression_method, -@time.to_binary_dos_time, # @last_mod_time , -@time.to_binary_dos_date, # @last_mod_date , +@time.to_binary_dos_time, # @last_mod_time +@time.to_binary_dos_date, # @last_mod_date @crc, zip64 && zip64.compressed_size ? 0x : @compressed_size, zip64 && zip64.original_size ? 0x : @size, @@ -602,7 +603,7 @@ get_input_stream do |is| set_extra_attributes_on_path(dest_path) - buf = '' + buf = ''.dup while (buf = is.sysread(::Zip::Decompressor::CHUNK_SIZE, buf)) os << buf
commit rubygem-rubyzip for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-rubyzip for openSUSE:Factory checked in at 2019-03-01 16:46:24 Comparing /work/SRC/openSUSE:Factory/rubygem-rubyzip (Old) and /work/SRC/openSUSE:Factory/.rubygem-rubyzip.new.28833 (New) Package is "rubygem-rubyzip" Fri Mar 1 16:46:24 2019 rev:14 rq:668904 version:1.2.2 Changes: --- /work/SRC/openSUSE:Factory/rubygem-rubyzip/rubygem-rubyzip.changes 2018-09-07 15:39:58.250499655 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-rubyzip.new.28833/rubygem-rubyzip.changes 2019-03-01 16:46:25.709821761 +0100 @@ -5 +5,5 @@ - no changelog found + Fixes CVE-2018-1000544 symlink and absolute path traversal + (bsc#1099280). + + See https://github.com/rubyzip/rubyzip/pull/387 + for full changelog. Other differences: -- ++ rubygem-rubyzip.spec ++ --- /var/tmp/diff_new_pack.kEnsQk/_old 2019-03-01 16:46:26.337821524 +0100 +++ /var/tmp/diff_new_pack.kEnsQk/_new 2019-03-01 16:46:26.337821524 +0100 @@ -1,7 +1,7 @@ # # spec file for package rubygem-rubyzip # -# 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 @@ -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/ #
commit rubygem-rubyzip for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-rubyzip for openSUSE:Factory checked in at 2018-09-07 15:39:55 Comparing /work/SRC/openSUSE:Factory/rubygem-rubyzip (Old) and /work/SRC/openSUSE:Factory/.rubygem-rubyzip.new (New) Package is "rubygem-rubyzip" Fri Sep 7 15:39:55 2018 rev:13 rq:633480 version:1.2.2 Changes: --- /work/SRC/openSUSE:Factory/rubygem-rubyzip/rubygem-rubyzip.changes 2017-04-11 09:32:19.301922664 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-rubyzip.new/rubygem-rubyzip.changes 2018-09-07 15:39:58.250499655 +0200 @@ -1,0 +2,6 @@ +Wed Sep 5 10:40:50 UTC 2018 - co...@suse.com + +- updated to version 1.2.2 + no changelog found + +--- Old: rubyzip-1.2.1.gem New: rubyzip-1.2.2.gem Other differences: -- ++ rubygem-rubyzip.spec ++ --- /var/tmp/diff_new_pack.YkGWR0/_old 2018-09-07 15:39:58.878498982 +0200 +++ /var/tmp/diff_new_pack.YkGWR0/_new 2018-09-07 15:39:58.882498978 +0200 @@ -1,7 +1,7 @@ # # spec file for package rubygem-rubyzip # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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-rubyzip -Version:1.2.1 +Version:1.2.2 Release:0 %define mod_name rubyzip %define mod_full_name %{mod_name}-%{version} @@ -33,7 +33,7 @@ BuildRequires: %{rubygem gem2rpm} BuildRequires: ruby-macros >= 5 Url:http://github.com/rubyzip/rubyzip -Source: http://rubygems.org/gems/%{mod_full_name}.gem +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 ++ rubyzip-1.2.1.gem -> rubyzip-1.2.2.gem ++ 1973 lines of diff (skipped)
commit rubygem-rubyzip for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-rubyzip for openSUSE:Factory checked in at 2017-04-11 09:32:18 Comparing /work/SRC/openSUSE:Factory/rubygem-rubyzip (Old) and /work/SRC/openSUSE:Factory/.rubygem-rubyzip.new (New) Package is "rubygem-rubyzip" Tue Apr 11 09:32:18 2017 rev:12 rq:479190 version:1.2.1 Changes: --- /work/SRC/openSUSE:Factory/rubygem-rubyzip/rubygem-rubyzip.changes 2016-03-07 13:27:52.0 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-rubyzip.new/rubygem-rubyzip.changes 2017-04-11 09:32:19.301922664 +0200 @@ -1,0 +2,6 @@ +Thu Feb 9 05:58:07 UTC 2017 - co...@suse.com + +- updated to version 1.2.1 + Fixes bsc#1027050 CVE-2017-5946 + +--- Old: rubyzip-1.2.0.gem New: rubyzip-1.2.1.gem Other differences: -- ++ rubygem-rubyzip.spec ++ --- /var/tmp/diff_new_pack.QLVWgN/_old 2017-04-11 09:32:20.541747523 +0200 +++ /var/tmp/diff_new_pack.QLVWgN/_new 2017-04-11 09:32:20.545746958 +0200 @@ -1,7 +1,7 @@ # # spec file for package rubygem-rubyzip # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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-rubyzip -Version:1.2.0 +Version:1.2.1 Release:0 %define mod_name rubyzip %define mod_full_name %{mod_name}-%{version} ++ rubyzip-1.2.0.gem -> rubyzip-1.2.1.gem ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/README.md new/README.md --- old/README.md 2016-02-19 10:24:26.0 +0100 +++ new/README.md 2017-02-08 12:50:34.0 +0100 @@ -62,20 +62,18 @@ Copy from [here](https://github.com/rubyzip/rubyzip/blob/05916bf89181e1955118fd3ea059f18acac28cc8/samples/example_recursive.rb ) ```ruby -require 'rubygems' require 'zip' + # This is a simple example which uses rubyzip to # recursively generate a zip file from the contents of # a specified directory. The directory itself is not # included in the archive, rather just its contents. # # Usage: -# require /path/to/the/ZipFileGenerator/Class -# directoryToZip = "/tmp/input" -# outputFile = "/tmp/out.zip" -# zf = ZipFileGenerator.new(directoryToZip, outputFile) -# zf.write() - +# directory_to_zip = "/tmp/input" +# output_file = "/tmp/out.zip" +# zf = ZipFileGenerator.new(directory_to_zip, output_file) +# zf.write() class ZipFileGenerator # Initialize with the directory to zip and the location of the output archive. def initialize(input_dir, output_file) @@ -117,7 +115,7 @@ def put_into_archive(disk_file_path, io, zip_file_path) io.get_output_stream(zip_file_path) do |f| - f.puts(File.open(disk_file_path, 'rb').read) + f.write(File.open(disk_file_path, 'rb').read) end end end @@ -218,7 +216,7 @@ out.write rels.to_xml(:indent => 0).gsub("\n","") end -File.open(new_path, "w") {|f| f.write(buffer.string) } +File.open(new_path, "wb") {|f| f.write(buffer.string) } ``` ## Configuration Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/zip/entry.rb new/lib/zip/entry.rb --- old/lib/zip/entry.rb2016-02-19 10:24:26.0 +0100 +++ new/lib/zip/entry.rb2017-02-08 12:50:34.0 +0100 @@ -7,6 +7,7 @@ attr_accessor :comment, :compressed_size, :crc, :extra, :compression_method, :name, :size, :local_header_offset, :zipfile, :fstype, :external_file_attributes, + :internal_file_attributes, :gp_flags, :header_signature, :follow_symlinks, :restore_times, :restore_permissions, :restore_ownership, :unix_uid, :unix_gid, :unix_perms, @@ -149,6 +150,11 @@ def extract(dest_path = @name, ) block ||= proc { ::Zip.on_exists_proc } + if @name.squeeze('/') =~ /\.{2}(?:\/|\z)/ +puts "WARNING: skipped \"../\" path component(s) in #{@name}" +return self + end + if directory? || file? || symlink? __send__("create_#{@ftype}", dest_path, ) else @@ -357,7 +363,7 @@ unpack_c_dir_entry(static_sized_fields_buf) check_c_dir_entry_signature set_time(@last_mod_date, @last_mod_time) - @name = io.read(@name_length).tr('\\', '/') + @name = io.read(@name_length) read_c_dir_extra_field(io) @comment = io.read(@comment_length)
commit rubygem-rubyzip for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-rubyzip for openSUSE:Factory checked in at 2016-03-07 13:27:05 Comparing /work/SRC/openSUSE:Factory/rubygem-rubyzip (Old) and /work/SRC/openSUSE:Factory/.rubygem-rubyzip.new (New) Package is "rubygem-rubyzip" Changes: --- /work/SRC/openSUSE:Factory/rubygem-rubyzip/rubygem-rubyzip.changes 2015-02-11 16:45:50.0 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-rubyzip.new/rubygem-rubyzip.changes 2016-03-07 13:27:52.0 +0100 @@ -1,0 +2,6 @@ +Sat Feb 20 05:39:38 UTC 2016 - co...@suse.com + +- updated to version 1.2.0 + no changelog found + +--- Old: rubyzip-1.1.7.gem New: rubyzip-1.2.0.gem Other differences: -- ++ rubygem-rubyzip.spec ++ --- /var/tmp/diff_new_pack.QDJfHS/_old 2016-03-07 13:27:53.0 +0100 +++ /var/tmp/diff_new_pack.QDJfHS/_new 2016-03-07 13:27:53.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package rubygem-rubyzip # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 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-rubyzip -Version:1.1.7 +Version:1.2.0 Release:0 %define mod_name rubyzip %define mod_full_name %{mod_name}-%{version} ++ rubyzip-1.1.7.gem -> rubyzip-1.2.0.gem ++ 7907 lines of diff (skipped)
commit rubygem-rubyzip for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-rubyzip for openSUSE:Factory checked in at 2015-02-11 16:45:50 Comparing /work/SRC/openSUSE:Factory/rubygem-rubyzip (Old) and /work/SRC/openSUSE:Factory/.rubygem-rubyzip.new (New) Package is rubygem-rubyzip Changes: --- /work/SRC/openSUSE:Factory/rubygem-rubyzip/rubygem-rubyzip.changes 2014-10-14 07:12:37.0 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-rubyzip.new/rubygem-rubyzip.changes 2015-02-11 16:45:50.0 +0100 @@ -1,0 +2,5 @@ +Tue Feb 10 18:29:10 UTC 2015 - co...@suse.com + +- updated to version 1.1.7 + +--- Old: rubyzip-1.1.3.gem New: gem2rpm.yml rubyzip-1.1.7.gem Other differences: -- ++ rubygem-rubyzip.spec ++ --- /var/tmp/diff_new_pack.zJmy9N/_old 2015-02-11 16:45:52.0 +0100 +++ /var/tmp/diff_new_pack.zJmy9N/_new 2015-02-11 16:45:52.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package rubygem-rubyzip # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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 @@ -16,23 +16,31 @@ # +# +# 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:1.1.3 +Version:1.1.7 Release:0 %define mod_name rubyzip %define mod_full_name %{mod_name}-%{version} - BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: %{ruby = 1.9.2} +BuildRequires: %{rubygem gem2rpm} BuildRequires: ruby-macros = 5 Url:http://github.com/rubyzip/rubyzip Source: http://rubygems.org/gems/%{mod_full_name}.gem +Source1:gem2rpm.yml Summary:rubyzip is a ruby module for reading and writing zip files -License:Ruby +License:BSD-2-Clause Group: Development/Languages/Ruby %description -rubyzip is a ruby module for reading and writing zip files - +rubyzip is a ruby module for reading and writing zip files. %prep @@ -40,7 +48,6 @@ %install %gem_install \ - --symlink-binaries \ --doc-files=README.md \ -f ++ gem2rpm.yml ++ # --- # ## used by gem2rpm # :summary: this is a custom summary # ## used by gem2rpm # :description: |- # this is a custom description # # it can be multiline # ## used by gem2rpm # :license: MIT or Ruby # ## used by gem2rpm and gem_packages # :version_suffix: -x_y # ## used by gem2rpm and gem_packages # :disable_docs: true # ## used by gem2rpm # :disable_automatic_rdoc_dep: true # ## used by gem2rpm # :preamble: |- # BuildRequires: foobar # Requires: foobar # ## used by gem2rpm # :patches: # foo.patch: -p1 # bar.patch: # ## used by gem2rpm :sources: # - foo.desktop # - bar.desktop # :gem_install_args: '' # ## used by gem2rpm # :pre_install: |- # %if 0%{?use_system_libev} # export USE_VENDORED_LIBEV=no # %endif # ## used by gem2rpm # :post_install: |- # # delete custom files here or do other fancy stuff # install -D -m 0644 %{S:1} %{buildroot}%{_bindir}/gem2rpm-opensuse # ## used by gem2rpm # :testsuite_command: |- # (pushd %{buildroot}%{gem_base}/gems/%{mod_full_name} rake test) # ## used by gem2rpm # :filelist: |- # /usr/bin/gem2rpm-opensuse # ## used by gem2rpm # :scripts: # :post: |- # /bin/echo foo # ## used by gem_packages # :main: # :preamble: |- # Requires: util-linux # Recommends: pwgen # :filelist: |- # /usr/bin/gem2rpm-opensuse # ## used by gem_packages # :custom: # apache: # :preamble: |- # Requires: . # :filelist: |- # /etc/apache2/conf.d/passenger.conf # :summary: Custom summary is optional # :description: |- # Custom description is optional # # bar # :post: |- # /bin/echo foo # ++ rubyzip-1.1.3.gem - rubyzip-1.1.7.gem ++ 6814 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit rubygem-rubyzip for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-rubyzip for openSUSE:Factory checked in at 2014-10-14 07:11:53 Comparing /work/SRC/openSUSE:Factory/rubygem-rubyzip (Old) and /work/SRC/openSUSE:Factory/.rubygem-rubyzip.new (New) Package is rubygem-rubyzip Changes: --- /work/SRC/openSUSE:Factory/rubygem-rubyzip/rubygem-rubyzip.changes 2014-05-22 06:57:48.0 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-rubyzip.new/rubygem-rubyzip.changes 2014-10-14 07:12:37.0 +0200 @@ -1,0 +2,5 @@ +Mon Oct 13 06:33:43 UTC 2014 - adr...@suse.de + +- adapt to new rubygem packaging style + +--- Other differences: -- ++ rubygem-rubyzip.spec ++ --- /var/tmp/diff_new_pack.NO0aG2/_old 2014-10-14 07:12:38.0 +0200 +++ /var/tmp/diff_new_pack.NO0aG2/_new 2014-10-14 07:12:38.0 +0200 @@ -23,9 +23,7 @@ %define mod_full_name %{mod_name}-%{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: ruby-macros = 3 -Requires: ruby = 1.9.2 -BuildRequires: ruby = 1.9.2 +BuildRequires: ruby-macros = 5 Url:http://github.com/rubyzip/rubyzip Source: http://rubygems.org/gems/%{mod_full_name}.gem Summary:rubyzip is a ruby module for reading and writing zip files @@ -35,36 +33,17 @@ %description rubyzip is a ruby module for reading and writing zip files -%package doc -Summary:RDoc documentation for %{mod_name} -Group: Development/Languages/Ruby -Requires: %{name} = %{version} - -%description doc -Documentation generated at gem installation time. -Usually in RDoc and RI formats. %prep -#gem_unpack -#if you need patches, apply them here and replace the # with a % sign in the surrounding lines -#gem_build %build %install -%gem_install -f -mkdir -p %{buildroot}%{_docdir}/%{name} -ln -s %{gem_base}/gems/%{mod_full_name}/README.md %buildroot/%{_docdir}/%{name}/README.md - -%files -%defattr(-,root,root,-) -%{_docdir}/%{name} -%{gem_base}/cache/%{mod_full_name}.gem -%{gem_base}/gems/%{mod_full_name}/ -%{gem_base}/specifications/%{mod_full_name}.gemspec - -%files doc -%defattr(-,root,root,-) -%doc %{gem_base}/doc +%gem_install \ + --symlink-binaries \ + --doc-files=README.md \ + -f + +%gem_packages %changelog -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit rubygem-rubyzip for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-rubyzip for openSUSE:Factory checked in at 2014-05-22 06:57:47 Comparing /work/SRC/openSUSE:Factory/rubygem-rubyzip (Old) and /work/SRC/openSUSE:Factory/.rubygem-rubyzip.new (New) Package is rubygem-rubyzip Changes: --- /work/SRC/openSUSE:Factory/rubygem-rubyzip/rubygem-rubyzip.changes 2014-03-21 13:49:23.0 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-rubyzip.new/rubygem-rubyzip.changes 2014-05-22 06:57:48.0 +0200 @@ -1,0 +2,5 @@ +Sun May 18 09:04:45 UTC 2014 - co...@suse.com + +- updated to version 1.1.3, no changelog + +--- Old: rubyzip-1.1.2.gem New: rubyzip-1.1.3.gem Other differences: -- ++ rubygem-rubyzip.spec ++ --- /var/tmp/diff_new_pack.aCzrtm/_old 2014-05-22 06:57:49.0 +0200 +++ /var/tmp/diff_new_pack.aCzrtm/_new 2014-05-22 06:57:49.0 +0200 @@ -17,7 +17,7 @@ Name: rubygem-rubyzip -Version:1.1.2 +Version:1.1.3 Release:0 %define mod_name rubyzip %define mod_full_name %{mod_name}-%{version} -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit rubygem-rubyzip for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-rubyzip for openSUSE:Factory checked in at 2014-03-21 13:49:22 Comparing /work/SRC/openSUSE:Factory/rubygem-rubyzip (Old) and /work/SRC/openSUSE:Factory/.rubygem-rubyzip.new (New) Package is rubygem-rubyzip Changes: --- /work/SRC/openSUSE:Factory/rubygem-rubyzip/rubygem-rubyzip.changes 2013-11-24 18:13:29.0 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-rubyzip.new/rubygem-rubyzip.changes 2014-03-21 13:49:23.0 +0100 @@ -1,0 +2,5 @@ +Tue Mar 18 14:57:15 UTC 2014 - co...@suse.com + +- updated to version 1.1.2, no changelog + +--- Old: rubyzip-1.1.0.gem New: rubyzip-1.1.2.gem Other differences: -- ++ rubygem-rubyzip.spec ++ --- /var/tmp/diff_new_pack.q7KvDA/_old 2014-03-21 13:49:23.0 +0100 +++ /var/tmp/diff_new_pack.q7KvDA/_new 2014-03-21 13:49:23.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package rubygem-rubyzip # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,15 +17,15 @@ Name: rubygem-rubyzip -Version:1.1.0 +Version:1.1.2 Release:0 %define mod_name rubyzip %define mod_full_name %{mod_name}-%{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: ruby-macros = 1 +BuildRequires: ruby-macros = 3 Requires: ruby = 1.9.2 -BuildRequires: ruby-devel = 1.9.2 +BuildRequires: ruby = 1.9.2 Url:http://github.com/rubyzip/rubyzip Source: http://rubygems.org/gems/%{mod_full_name}.gem Summary:rubyzip is a ruby module for reading and writing zip files @@ -54,17 +54,17 @@ %install %gem_install -f mkdir -p %{buildroot}%{_docdir}/%{name} -ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/README.md %buildroot/%{_docdir}/%{name}/README.md +ln -s %{gem_base}/gems/%{mod_full_name}/README.md %buildroot/%{_docdir}/%{name}/README.md %files %defattr(-,root,root,-) %{_docdir}/%{name} -%{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_full_name}.gem -%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/ -%{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_full_name}.gemspec +%{gem_base}/cache/%{mod_full_name}.gem +%{gem_base}/gems/%{mod_full_name}/ +%{gem_base}/specifications/%{mod_full_name}.gemspec %files doc %defattr(-,root,root,-) -%doc %{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_full_name}/ +%doc %{gem_base}/doc %changelog -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit rubygem-rubyzip for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-rubyzip for openSUSE:Factory checked in at 2013-11-24 18:13:28 Comparing /work/SRC/openSUSE:Factory/rubygem-rubyzip (Old) and /work/SRC/openSUSE:Factory/.rubygem-rubyzip.new (New) Package is rubygem-rubyzip Changes: --- /work/SRC/openSUSE:Factory/rubygem-rubyzip/rubygem-rubyzip.changes 2013-09-27 18:07:46.0 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-rubyzip.new/rubygem-rubyzip.changes 2013-11-24 18:13:29.0 +0100 @@ -1,0 +2,5 @@ +Fri Nov 22 08:40:33 UTC 2013 - co...@suse.com + +- updated to version 1.1.0, found no changelog + +--- Old: rubyzip-1.0.0.gem New: rubyzip-1.1.0.gem Other differences: -- ++ rubygem-rubyzip.spec ++ --- /var/tmp/diff_new_pack.t6UJJC/_old 2013-11-24 18:13:30.0 +0100 +++ /var/tmp/diff_new_pack.t6UJJC/_new 2013-11-24 18:13:30.0 +0100 @@ -17,7 +17,7 @@ Name: rubygem-rubyzip -Version:1.0.0 +Version:1.1.0 Release:0 %define mod_name rubyzip %define mod_full_name %{mod_name}-%{version} -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit rubygem-rubyzip for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-rubyzip for openSUSE:Factory checked in at 2013-09-27 18:07:45 Comparing /work/SRC/openSUSE:Factory/rubygem-rubyzip (Old) and /work/SRC/openSUSE:Factory/.rubygem-rubyzip.new (New) Package is rubygem-rubyzip Changes: --- /work/SRC/openSUSE:Factory/rubygem-rubyzip/rubygem-rubyzip.changes 2012-07-30 17:13:41.0 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-rubyzip.new/rubygem-rubyzip.changes 2013-09-27 18:07:46.0 +0200 @@ -1,0 +2,8 @@ +Fri Aug 30 10:00:31 UTC 2013 - co...@suse.com + +- updated to version 1.0.0 + Changed the API for gem. Now it can be used without require param in Gemfile. + Added read-only support for Zip64 files. + Added support for setting Unicode file names. + +--- Old: rubyzip-0.9.9.gem New: rubyzip-1.0.0.gem Other differences: -- ++ rubygem-rubyzip.spec ++ --- /var/tmp/diff_new_pack.ulYRra/_old 2013-09-27 18:07:46.0 +0200 +++ /var/tmp/diff_new_pack.ulYRra/_new 2013-09-27 18:07:46.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package rubygem-rubyzip # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,22 +17,17 @@ Name: rubygem-rubyzip -Version:0.9.9 +Version:1.0.0 Release:0 %define mod_name rubyzip %define mod_full_name %{mod_name}-%{version} -# -# -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: rubygems_with_buildroot_patch -%rubygems_requires -Requires: ruby = 1.8.7 -BuildRequires: ruby-devel = 1.8.7 -# -Url:http://github.com/aussiegeek/rubyzip -Source: %{mod_full_name}.gem -# +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: ruby-macros = 1 +Requires: ruby = 1.9.2 +BuildRequires: ruby-devel = 1.9.2 +Url:http://github.com/rubyzip/rubyzip +Source: http://rubygems.org/gems/%{mod_full_name}.gem Summary:rubyzip is a ruby module for reading and writing zip files License:Ruby Group: Development/Languages/Ruby @@ -50,15 +45,20 @@ Usually in RDoc and RI formats. %prep +#gem_unpack +#if you need patches, apply them here and replace the # with a % sign in the surrounding lines +#gem_build + %build -%install -%gem_install %{S:0} -%clean -%{__rm} -rf %{buildroot} +%install +%gem_install -f +mkdir -p %{buildroot}%{_docdir}/%{name} +ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/README.md %buildroot/%{_docdir}/%{name}/README.md %files %defattr(-,root,root,-) +%{_docdir}/%{name} %{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_full_name}.gem %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/ %{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_full_name}.gemspec -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org