Commit Graph

34 Commits

Author SHA1 Message Date
Robert Haines 1c06454985 Update minimum ruby version to 3.0.
All rubies before 3.0 are EOL and this is a major version bump, so it's
the right time to do this.
2024-03-01 22:14:48 +00:00
Robert Haines edeab0713c Add RDoc and tasks to the Rakefile. 2023-04-14 11:25:22 +01:00
Robert Haines e15f80718d Remove stale task from the Rakefile. 2021-05-25 21:57:56 +01:00
Robert Haines e10badf68e Fix Style/FrozenStringLiteralComment cop. 2021-05-25 21:24:50 +01:00
Robert Haines a3245ac241 Add Rubocop tasks to the Rakefile. 2020-02-15 15:56:17 +00:00
Pavel Lobashov 63b3ee3465 fix rubocop Style/HashSyntax cop 2015-03-24 19:10:04 +03:00
Pavel Lobashov 47b72f5cab fix rubocop Style/LeadingCommentSpace cop 2015-03-23 19:06:01 +03:00
Pavel.Lobashov c45a639c54 fix rubocop Style/TrailingBlankLines cop 2015-03-20 22:45:50 +03:00
Alexander Simonov 58f08ca0e1 Split all tests to small files. Move to minitest 2014-01-20 23:31:06 +02:00
Jeremy Stanley af165f5cbd Add read/write support for zip64 extensions
This commit adds the capability of creating archives larger than
4GB via zip64 extensions. It also fixes bugs reading archives of
this size (specifically, the 64-bit offset of the local file
header was not being read from the central directory entry).

To maximize compatibility, zip64 extensions are used only when
required. Unfortunately, at the time we write a local file header,
we don't know the size of the file and thus whether a Zip64
Extended Information Extra Field will be required. Therefore
this commit writes a 'placeholder' extra field to reserve space
for the zip64 entry, which will be written if necessary when
we update the local entry with the final sizes and CRC. I use
the signature "\x99\x99" for this field, following the example
of DotNetZip which does the same.

This commit also adds a rake task, zip64_full_test, which
fully tests zip64 by actually creating and verifying a 4GB zip
file. Please note, however, that this test requires UnZip
version 6.00 or newer, which may not be supplied by your OS.
This test doesn't run along with the main unit tests because
it takes a few minutes to complete.
2013-09-27 20:41:00 -06:00
Alexander Simonov 609de2ff48 Zip64 read-only support. Fix #81 2013-08-26 23:26:14 +03:00
Alexander Simonov d3e2e78ee9 Add bundler gem tasks 2013-08-22 00:45:29 +03:00
Xavier Shay 6e7cd8efcd Avoid double require of test files. 2011-11-14 18:43:53 +11:00
Alan Harper 8f64fe1035 Revert "Started converting to RSpec"
This reverts commit c36359d612.
2011-01-07 22:59:51 +10:00
Alan Harper c36359d612 Started converting to RSpec 2010-11-30 23:11:30 +10:00
Alan Harper 6582a639b1 Use 'offical' rake task runner 2010-11-27 17:15:18 +10:00
Alan Harper 5ecb94e242 Switch to plain gemspec 2010-09-24 23:17:52 +10:00
thomas 14198a40ed Updated publish method. 2009-12-31 15:25:47 +00:00
drylight 34cfcfe78e Update version number and minor release note changes. 2008-08-24 09:43:33 +00:00
thomas e196afadc5 Don't autorequire zip/zip - autorequire is deprecated. 2006-07-01 08:04:31 +00:00
thomas 67363e594f *** empty log message *** 2006-06-30 07:28:53 +00:00
thomas 94d855f86f *** empty log message *** 2005-09-04 14:45:00 +00:00
thomas c25c3189ee *** empty log message *** 2005-03-17 17:17:30 +00:00
thomas ff1d0c3f2e *** empty log message *** 2005-03-03 17:38:00 +00:00
thomas 53769a874d *** empty log message *** 2005-02-27 14:02:59 +00:00
thomas f74540ebdc Added ppackage (publish package) task to Rakefile 2005-02-17 22:21:59 +00:00
thomas 548c1df501 Added pdoc (publish doc) task to Rakefile 2005-02-17 21:49:16 +00:00
thomas 3e1aa6d7e5 Added a bunch of documentation 2005-02-17 20:27:02 +00:00
thomas de53b34b94 Improved documentation and added rdoc task to Rakefile 2005-02-16 19:04:32 +00:00
thomas e14208f584 *** empty log message *** 2005-02-16 18:01:04 +00:00
thomas 255fee4a7f Improvements to Rakefile 2005-02-16 17:47:44 +00:00
thomas e7d08b2c43 Now uses Rake to build gem 2005-02-15 22:26:02 +00:00
thomas 1f55c7a96c *** empty log message *** 2005-02-15 21:52:12 +00:00
thomas 921cf16a23 *** empty log message *** 2005-02-13 21:44:15 +00:00