./archivers/ruby-zip, Ruby module for reading and writing zip files

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2.3.0, Package name: ruby26-zip-2.3.0, Maintainer: minskim

rubyzip is a ruby module for reading and writing zip files.


Required to run:
[lang/ruby26-base]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: d5c05d30436ecb24b57150e6100479755df731cd
RMD160: c9fb1549b359e02ce7b70c8d5deaf82c1c208fb0
Filesize: 39.5 KB

Version history: (Expand)


CVS history: (Expand)


   2020-03-15 16:52:07 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
archivers/ruby-zip: update to 2.3.0

Update ruby-zip to 2.3.0.

pkgsrc change: Add "USE_LANGUAGES=	# none".

2.0.0 (2019-09-25)

Security

* Default the validate_entry_sizes option to true, so that callers can
  trust an entry's reported size when using extract #403

  o 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 / #384
* Drop support for unsupported ruby versions #406

2.1.0 (2020-01-25)

* Fix (at least partially) the restore_times and restore_permissions
  options to Zip::File.new #413

  o 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.
  o Fix handling of UniversalTime (mtime, atime, ctime) fields. #421
  o Previously, Zip::File did not pass the options to Zip::Entry in some
    cases.  #423
  o 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

* Always print warnings with warn, instead of a mix of puts and warn #416

* Create temporary files in the system temporary directory instead of the
  directory of the zip file #411

* Drop unused tmpdir requirement #411

Tooling

* Move CI to xenial and include jruby on JDK11 #419

2.2.0 (2020-02-01)

* Add support for decompression plugin gems #427

2.3.0 (2020-03-14)

* Fix frozen string literal error #431
* Set OutputStream.write_buffer's buffer to binmode #439
* Upgrade rubocop and fix various linting complaints #437 #440

Tooling:

* Add a bin/console script for development #420
* Update rake requirement (development dependency only) to fix a security
  alert.
   2020-03-09 01:36:23 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
archivers/ruby-zip: updateo to 1.3.0

Update ruby-zip to 1.3.0, latest 1.x release.

1.3.0 (2019-09-25)

Security

* Add validate_entry_sizes option so that callers can trust an entry's
  reported size when using extract #403

	o This option defaults to false for backward compatibility in this
	  release, but you are strongly encouraged to set it to true. It
	  will default to true in rubyzip 2.0.

New Feature

* Add add_stored method to simplify adding entries without compression #366

Tooling / Documentation

* Add more gem metadata links #402

1.2.4 (2019-09-06)

* Do not rewrite zip files opened with open_buffer that have not changed #360

Tooling / Documentation

* Update example_recursive.rb in README #397
* Hold CI at trusty for now, automatically pick the latest ruby patch
  version, use rbx-4 and hold jruby at 9.1 #399
   2019-06-15 05:05:44 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
archivers/ruby-zip: update to 1.2.3

Update ruby-zip to 1.2.3, here is release note.

1.2.3 (2019-05-23)

* Allow tilde in zip entry names #391 (fixes regression in 1.2.2 from #376)
* Support frozen string literals in more files #390
* Require pathname explicitly #388 (fixes regression in 1.2.2 from #376)

Tooling / Documentation:

* CI updates #392, #394
  - Bump supported ruby versions and add 2.6
  - JRuby failures are no longer ignored (reverts #375 / part of #371)
* Add changelog entry that was missing for last release #387
* Comment cleanup #385

Since the GitHub release information for 1.2.2 is missing, I will also include
it here:

1.2.2 (2018-09-01)

NB: This release drops support for extracting symlinks, because there was no
clear way to support this securely. See #376 (comment) for details.

* Fix CVE-2018-1000544 #376 / #371
* Fix NoMethodError: undefined method `glob' #363
* Fix handling of stored files (i.e. files not using compression) with general
  purpose bit 3 set #358
* Fix close on StringIO-backed zip file #353
* Add Zip.force_entry_names_encoding option #340
* Update rubocop, apply auto-fixes, and fix regressions caused by said
  auto-fixes #332, #355
* Save temporary files to temporary directory (rather than current directory)
  #325

Tooling / Documentation:

* Turn off all terminal output in all tests #361
* Several CI updates #346, #347, #350, #352
* Several README improvements #345, #326, #321
   2018-09-23 15:49:00 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
archivers/ruby-zip: update to 1.2.2

Various small bug fixes including CVE-2018-1000544 (absolute path
traversal).
   2017-03-11 16:34:46 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
Update ruby-zip to 1.2.1.

v1.2.1

* Add accessor to @internal_file_attributes #304
* Extended globbing #303
* README updates #283, #289
* Cleanup after tests #298, #306
* Fix permissions on new zip files #294, #300
* Fix examples #297
* Support cp932 encoding #308
* Fix Directory traversal vulnerability #315
* Allow open_buffer to work without a given block #314
   2016-03-08 14:50:17 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
Update rubyzip to 1.2.0.

* Don't enable JRuby objectspace #252
* Fixes an exception thrown when decoding some weird .zip files #248
* Use duck typing with IO methods #244
* Added error for empty (zero bit) zip file #242
* Accept StringIO in Zip.open_buffer #238
* Do something more expected with new file permissions #237
* Case insensitivity option for #find_entry #222
* Fixes in documentation and examples
   2015-11-03 01:56:27 by Alistair G. Crooks | Files touched by this commit (93)
Log message:
Add SHA512 digests for distfiles for archivers category

Problems found with existing distfile for eagle:
	distfiles/bicom101.zip
	distfiles/szip-2.1nb3/szip-2.1.tar.gz
	distfiles/xmill-0.9.1.tar.gz
No changes made to these distinfo files.

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2015-06-13 00:57:43 by Takahiro Kambe | Files touched by this commit (1)
Log message:
Allow build on Ruby 2.2.