Commit Graph

64 Commits

Author SHA1 Message Date
Alexander Simonov dbc0213633 Merge pull request #48 from yaauie/feature/glob
Add ZipFile#glob and ZipFileSystem#glob
2012-05-19 01:36:59 -07:00
Ryan Biesemeyer 739b352f32 add glob support in ZipFile and ZipFileSystem, refactor existing ZipEntrySet#glob to accept block and be more memory efficient with results. 2012-05-18 21:57:19 +00:00
Dylan Markow c60520f299 Properly commit when the comment is the only thing changed. 2012-04-06 16:40:21 -07:00
Alexander Simonov 82c2037cf6 Merge pull request #40 from edouard/keep_entry_mtime
ZipEntry modification time isn’t saved in zip file
2012-03-27 02:50:38 -07:00
Édouard Brière 9268fefaf1 Fix: ZipOutputStream#put_next_entry now keeps entry modification time 2012-03-27 11:31:13 +02:00
Édouard Brière 6ea9e53e35 Add failing test demonstrating that file timestamp isn’t stored
ZipOutputStream#put_next_entry(ZipEntry) should create a zip file containing entries with the correct timestamp
2012-03-27 09:55:34 +02:00
wpc d33d8c2398 Fix performance issue on ZipFile#find_entry when reading/writing zip
file with large amount of files and directories.
2012-03-26 00:05:06 -07:00
Alexander Simonov f9b9a30b6f Refactoring 2012-03-13 10:13:58 +02:00
kellydunn 7830a83b52 [lib][test] Renaming option for simplicity 2012-03-12 16:34:50 -07:00
kellydunn 265409fd66 [test] Adding in tests to check for adding files with changing settings 2012-03-12 15:18:50 -07:00
Lucas Hills 3f8b14f0ce tidied test 2012-02-06 15:16:04 +11:00
Lucas Hills c68770f3a3 Added better support for ruby187 mingw developers 2012-02-06 11:59:11 +11:00
Jean Boussier 85054091e8 Get rid of Time extensions 2012-02-01 11:16:13 +01:00
Jean Boussier dc159646e6 Get rid of String#ensure_end 2012-02-01 10:59:56 +01:00
Jean Boussier a92b601f98 Get rid of unused Enumerable#select_map 2012-02-01 10:48:25 +01:00
Alexander Simonov 1f1f490a8b Fix 1.8.7 EntrySet glob test 2012-01-26 18:02:56 +02:00
KOJIMA Satoshi 1625f76265 added ZipInputStream::open_buffer 2012-01-26 22:50:25 +09:00
Alexander Simonov 3418d31b44 Code cleanup 2011-11-17 22:53:04 +02:00
Alexander Simonov 7cb60f5a37 Fix for UTF-8 filenames 2011-11-17 22:28:44 +02:00
alor 05cb90b5a7 correct test for chmod 2011-11-17 11:51:32 +01:00
alor 0e6a4e86a0 original test file 2011-11-17 11:23:36 +01:00
alor b04471ed41 test for chmod after commit 2011-11-17 10:58:53 +01:00
alor 4f9595c23b open() can accept permissions
chown() is now working by setting the dirty flag
commit_required? returns true if at least one ZipEntry is dirty
2011-11-17 10:48:42 +01:00
Xavier Shay 6dd66d165c Explicit binary read in test to fix encoding related test failure. 2011-11-14 18:50:59 +11:00
Xavier Shay 9116110cfe Don't use iconv on 1.9, use native encodings instead. 2011-11-14 18:50:42 +11:00
Alan Harper 794c9463fc Removed support for loading ruby in zip files 2011-09-21 22:46:54 +10:00
David Henry 13d5f6c46d Added Support for write data to bugger using ZipFile.add_buffer do {|zf| ... } => buffer 2010-12-06 10:00:03 +00:00
thomas 13b7856858 ruby-1.9.1 compatibility patch from Tatsuki Sugiura. 2010-02-25 12:24:48 +00:00
thomas d0faedc82b Changed ZipOutputStream.put_next_entry to make it possible to specifiy comments, extra field and compression method. 2010-01-01 12:43:52 +00:00
thomas c6ecd1c9f3 Applied ruby-1.9 compatibility patch from Yuya Nishida. 2009-04-05 10:28:46 +00:00
thomas 51c56a1fb8 Refixed rename to avoid decompressing and recompressing entry. 2008-08-24 12:34:20 +00:00
drylight 9c5b55e5da Fixed: Renaming an entry failed if the entry's new name was a different length than its old name. 2008-08-24 08:46:45 +00:00
thomas 73c47965c3 Bug 1600222 Fixed it so ZipFsFile#open accepts and ignores b(inary) option. 2006-11-21 08:12:13 +00:00
thomas 8cce945327 Avoid warnings while running tests. 2006-09-05 20:53:20 +00:00
technorama 1b26a47ba6 add documentation and test for new ZipFile::extract 2006-04-30 04:25:14 +00:00
technorama c07c1a6487 additional tests 2006-04-07 19:13:09 +00:00
technorama e0b9112321 eof? tests 2006-03-28 01:31:45 +00:00
thomas 91642caed6 Did away with ZipStreamableFile. 2006-02-25 11:04:44 +00:00
thomas 4a85de59dd Fixed problem on windows - tempfile has to be set to binmode again when it is reopened 2005-09-06 19:04:57 +00:00
thomas 539b42534f *** empty log message *** 2005-09-04 13:43:21 +00:00
thomas 7cf8aabc8f Merged patch from oss-ruby at technorama.net 2005-09-03 07:57:50 +00:00
thomas b2060aa257 Added failing test that shows that read and gets don't mix currently 2005-09-03 07:54:45 +00:00
thomas 7fd6cea0a3 *** empty log message *** 2005-03-31 19:58:27 +00:00
thomas ed03547aa4 *** empty log message *** 2005-03-31 19:05:40 +00:00
thomas 53769a874d *** empty log message *** 2005-02-27 14:02:59 +00:00
thomas adaaf8337c Added more rdoc and changed the remaining tests to Test::Unit 2005-02-19 20:30:33 +00:00
thomas 93b7add002 *** empty log message *** 2005-02-17 08:47:31 +00:00
thomas 255fee4a7f Improvements to Rakefile 2005-02-16 17:47:44 +00:00
thomas 055af34498 Fixed compatibility issue with ruby 1.8.2. Migrated test suite to Test::Unit 2005-02-15 21:39:56 +00:00
thomas 9e4ab89f08 Changed directory structure 2005-02-15 21:10:20 +00:00