Commit Graph

698 Commits

Author SHA1 Message Date
Pavel Lobashov 7c4fed26e6 fix name of file 2015-03-20 18:31:22 +03:00
Pavel Lobashov 715f064738 add rubocop configs 2015-03-20 18:27:28 +03:00
Alexander Simonov 070411ef5c Merge pull request #222 from rastarobot/find_entry_case_insensitively
Case insensitivity option for #find_entry
2015-03-07 12:22:24 +02:00
Sergey Konotopov b7fa9b124e Fixing Zip#read_local_entry error on JRuby 2015-03-07 12:50:13 +03:00
Sergey Konotopov 61a4435cc3 Case insensitivity option for #find_entry 2015-02-20 01:20:07 +03:00
Alexander Simonov 0cb838f019 Fix #221 2015-02-16 21:51:44 +02:00
Alexander Simonov 0cbae14c76 Version bump 2015-02-03 00:00:09 +02:00
Alexander Simonov 002959f2e2 Add tests from #182 for testing tempfile as IO for OutputStream::write_buffer 2015-02-02 23:40:52 +02:00
Alexander Simonov 44bab72041 Update README.md 2015-02-02 23:23:04 +02:00
Alexander Simonov 19717ba647 Merge pull request #211 from johnnyshields/patch-1
Basic docs on encryption
2015-01-17 12:47:54 +02:00
Johnny Shields 7aa6b10265 Basic docs on encryption 2015-01-17 19:38:13 +09:00
Alexander Simonov 721c1f05ed Merge pull request #201 from mcantor/master
Be smarter about handling buffer file modes
2015-01-17 12:21:32 +02:00
Alexander Simonov 9e7af06a0b Merge pull request #209 from johnnyshields/master
Support for Traditional Encryption (ZipCrypto) + Tests
2015-01-17 12:20:52 +02:00
Johnny Shields a54191f9dd Merge branch 'master' of https://github.com/matsu911/rubyzip 2015-01-17 16:13:14 +09:00
Shigeaki Matsumura 5834e999b1 set Zip.default_compression manually to avoid side effect of others 2015-01-17 13:05:58 +09:00
Alexander Simonov a23b30697a Merge pull request #185 from maneframe/master
prevent tempfile path from being unlinked by garbage collection
2015-01-16 20:43:53 +02:00
Alexander Simonov 3e996bdb0b Merge pull request #205 from hainesr/new-travis
Updated Travis configuration
2015-01-16 20:42:41 +02:00
Alexander Simonov 6305948e54 Merge pull request #207 from jaredbeck/patch-1
Documentation: English grammar in readme
2015-01-16 20:41:50 +02:00
Alexander Simonov 9d68b67341 Merge pull request #210 from darinkes/patch-1
Readme: Print data instead of puts
2015-01-16 18:31:36 +02:00
Stefan Rinkes 569e2cec7d Print data instead of puts
Zipping a directory with the old example would change the content of a file by adding a newline to the data getting zipped.
This is bad if you want to validate files of zip with checksums or, in my case, corrupt git index files if you zip a git-directory.
2015-01-16 16:46:03 +01:00
johnnyshields 71225dc628 Merge remote-tracking branch 'remotes/matsu911/master' 2015-01-16 13:17:43 +09:00
Jared Beck cbb091dfbd Documentation: English grammar in readme 2015-01-08 15:02:31 -05:00
Shigeaki Matsumura f61b3e9b0e added test case for traditional encryption
zip file generated by archive-zip as reference
2015-01-08 18:31:17 +09:00
Shigeaki Matsumura 85a7bbdf1a add data descriptor for each entries when encrypto 2015-01-08 18:30:32 +09:00
Shigeaki Matsumura bd5a7e4081 fix to file size with encrption 2015-01-07 10:45:01 +09:00
Shigeaki Matsumura 744244d4b3 use guard for testing 2015-01-06 00:50:22 +09:00
Shigeaki Matsumura 87d1a5a775 added test cases for encryption support 2015-01-06 00:49:16 +09:00
Shigeaki Matsumura fd26052525 fix to encryption bug 2015-01-04 22:49:58 +09:00
Shigeaki Matsumura 8fb60eaec0 Merge pull request #1 from johnnyshields/master
Various changes
2015-01-04 22:02:50 +09:00
Johnny Shields c2ecafe770 Change method interfaces to allow encrypter/decrypter to be passed into stream methods 2015-01-04 04:07:51 +09:00
Johnny Shields 23f2ead7ee - Move encryption related files to /lib/zip/crypto/ dir
- NullEncrypter and NullDecrypter should inherit Encrypter and Decrypter respectively
- Add copyright notice to bottom of added files for consistency
2015-01-04 03:37:43 +09:00
Shigeaki Matsumura c70e5836c7 support traditional encryption 2015-01-01 11:09:17 +09:00
Robert Haines 82548dfc23 Workaround for Travis/RVM JRuby issue.
Specify a version for JRuby as per:
https://github.com/travis-ci/travis-ci/issues/3067

Using version 1.7.18 would require uninstalling and reinstalling JRuby (see
thread above) which would be done for every entry in the build matrix, even the
non-JRuby ones. So use 1.7.17 for now.
2014-12-30 13:08:18 +00:00
Robert Haines b0409a1777 Update ruby version in the Travis configuration.
The last in the 2.1 branch is 2.1.5 and 2.2.0 has now been released.
2014-12-30 12:59:33 +00:00
Robert Haines 458125606a Use the faster containerized Travis infrastructure. 2014-12-30 12:25:42 +00:00
Alexander Simonov deeefa1b1a Merge pull request #203 from barnash/patch-1
Fixed typo in README example
2014-12-25 17:42:45 +02:00
barnash 5343780f35 Fixed typo in README example 2014-12-25 17:32:12 +02:00
Max Cantor 7c7d786f02 Be smarter about handling buffer file modes. 2014-12-17 16:16:02 -05:00
Alexander Simonov e938438e2e Merge pull request #200 from ShockwaveNN/patch-1
Fix incorrect paragraph order in readme introduced in pull-request #195
2014-12-08 10:13:10 +02:00
Pavel Lobashov 21f59d579c Fix incorrect paragraph order by pull #195 2014-12-07 16:49:45 +03:00
Alexander Simonov 77f269eab9 Merge pull request #190 from Feuda/patch-1
add a effective sample of zipping a directory recursively
2014-12-07 15:41:24 +02:00
Alexander Simonov 5f8523c838 Merge pull request #195 from ShockwaveNN/master
Fix for issue #112 - ability to not show warning about incorrect date
2014-12-07 15:39:55 +02:00
Alexander Simonov 5fc39d4fb7 Merge pull request #197 from igas/svg
Start using svg in readme
2014-12-05 12:49:27 +02:00
Igor Kapkov 91871d9e7a Start using svg in readme 2014-12-05 18:29:32 +08:00
lobashov d9d6c1ce86 add warn_invalid_date readme 2014-12-02 10:55:30 +03:00
lobashov ecea81f5f6 add test to check warn_invalid_date but without verification 2014-12-02 10:39:35 +03:00
lobashov 7498e8a9d3 add warn_invalid_date option 2014-12-01 18:39:29 +03:00
Feuda Nan fe12e1eee9 Update README.md 2014-11-06 11:03:21 +08:00
Feuda Nan bb734f6597 Update README.md 2014-11-06 11:02:38 +08:00
Feuda Nan 603c0caf72 add link to original document 2014-11-06 11:01:46 +08:00