Commit Graph

9 Commits

Author SHA1 Message Date
Robert Haines a2a14c2cd2 Fix Style/RedundantRegexpEscape cop. 2021-06-18 16:31:23 +01:00
Robert Haines e10badf68e Fix Style/FrozenStringLiteralComment cop. 2021-05-25 21:24:50 +01:00
Robert Haines 61c83b2a1a Configure Layout/HashAlignment cop. 2020-02-15 16:26:32 +00:00
Robert Haines c8bfd14764 Update rubocop version and the config files.
Also rename .rubocop_rubyzip.yml to be consistent with Rubocop default
setup.
2020-02-15 15:56:17 +00:00
Robert Haines ccabd94e42 Update tests to check error messages.
Check that they say the right things and are on stderr, not stdout. A
nice side effect of this is that it cleans up the test output.
2019-10-13 15:40:49 +01:00
John Lees-Miller ad15c3c494 Allow tilde in zip entry names
Use absolute_path rather than expand_path to allow tilde to pass through
unchanged. Otherwise, we try to expand it to a home directory.
2019-03-22 16:30:25 +02:00
John Lees-Miller 3dd165b494 Disable symlinks and check for path traversal 2018-08-26 14:21:38 +01:00
John Lees-Miller ffebfa3418 Consolidate path traversal tests 2018-08-26 12:13:12 +01:00
John Lees-Miller 9c468f30f3 Add jwilk's path traversal tests 2018-08-26 10:00:35 +01:00