Pavel.Lobashov
eae8112180
fix rubocop Lint/StringConversionInInterpolation cop
2015-03-20 23:06:47 +03:00
Pavel.Lobashov
bfc8b3cc1f
fix rubocop Lint/ShadowingOuterLocalVariable cop
2015-03-20 23:05:59 +03:00
Pavel.Lobashov
67838e13ac
fix rubocop Lint/EndAlignment cop
2015-03-20 23:00:20 +03:00
Pavel.Lobashov
52623a4857
fix rubocop Lint/DeprecatedClassMethods cop
2015-03-20 22:58:35 +03:00
Pavel.Lobashov
6d19df491a
fix rubocop Lint/AssignmentInCondition cop
2015-03-20 22:57:38 +03:00
Pavel.Lobashov
d928aeebe5
make parse_zip64_extra check for empty @extra['Zip64'] easier to read
2015-03-20 22:54:28 +03:00
Pavel.Lobashov
5d47830624
fix rubocop Style/Tab cop
2015-03-20 22:46:44 +03:00
Pavel.Lobashov
c45a639c54
fix rubocop Style/TrailingBlankLines cop
2015-03-20 22:45:50 +03:00
Pavel.Lobashov
7dcba79bb5
fix rubocop Style/TrailingComma cop
2015-03-20 22:44:21 +03:00
Pavel.Lobashov
6fac8c7e86
fix rubocop Style/TrailingWhitespace cop
2015-03-20 22:43:29 +03:00
Pavel.Lobashov
c677730af9
fix rubocop Style/UnneededPercentQ cop
2015-03-20 22:40:27 +03:00
Pavel.Lobashov
b7cda26ea6
fix rubocop Style/WhileUntilDo сщз
2015-03-20 22:38:09 +03:00
Pavel.Lobashov
f507a0139d
rename .rubocop.yml .rubocop_rubyzip.yml
2015-03-20 22:33:51 +03:00
Pavel Lobashov
7a8a8b6fd2
fix rubocop Style/WhileUntilModifier warning
2015-03-20 18:33:43 +03:00
Pavel Lobashov
fc8e04271a
fix rubocop Style/WordArray warning
2015-03-20 18:31:47 +03:00
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